summaryrefslogtreecommitdiff
path: root/cipher/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/md.c')
-rw-r--r--cipher/md.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher/md.c b/cipher/md.c
index 3bfa3bd9..65dadd1c 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -326,6 +326,9 @@ md_open (gcry_md_hd_t *h, int algo, int secure, int hmac)
case GCRY_MD_SHA512:
ctx->macpads_Bsize = 128;
break;
+ case GCRY_MD_GOSTR3411_94:
+ ctx->macpads_Bsize = 32;
+ break;
default:
ctx->macpads_Bsize = 64;
break;