aboutsummaryrefslogtreecommitdiff
path: root/gost_omac_acpkm.c
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2018-09-07 15:48:20 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2018-09-07 15:48:20 +0300
commit37f1f0f84d309fecec1f63a58fe3c28dd84c85e4 (patch)
treeb6c218258ae75598a7f279b5d68ea6a306fde1e9 /gost_omac_acpkm.c
parent7b18cc37b96e8c6866ee80964e5f623cdd999081 (diff)
downloadgost-engine-37f1f0f84d309fecec1f63a58fe3c28dd84c85e4.zip
gost-engine-37f1f0f84d309fecec1f63a58fe3c28dd84c85e4.tar.gz
gost-engine-37f1f0f84d309fecec1f63a58fe3c28dd84c85e4.tar.bz2
Missing NID
Diffstat (limited to 'gost_omac_acpkm.c')
-rw-r--r--gost_omac_acpkm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gost_omac_acpkm.c b/gost_omac_acpkm.c
index 3061e36..0b74687 100644
--- a/gost_omac_acpkm.c
+++ b/gost_omac_acpkm.c
@@ -425,6 +425,7 @@ int omac_acpkm_imit_ctrl(EVP_MD_CTX *ctx, int type, int arg, void *ptr)
if (c->cipher_nid == NID_undef) {
switch (EVP_MD_nid(md)) {
case NID_grasshopper_mac:
+ case NID_id_tc26_cipher_gostr3412_2015_kuznyechik_ctracpkm_omac:
c->cipher_nid = NID_grasshopper_cbc;
break;
}