diff options
Diffstat (limited to 'lib/algorithms/mac.c')
-rw-r--r-- | lib/algorithms/mac.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/algorithms/mac.c b/lib/algorithms/mac.c index a82270975d..518323bca1 100644 --- a/lib/algorithms/mac.c +++ b/lib/algorithms/mac.c @@ -132,14 +132,17 @@ mac_entry_st hash_algorithms[] = { .id = GNUTLS_MAC_RMD160, .output_size = 20, .key_size = 20, - .block_size = 64}, + .block_size = 64 + }, {.name = "GOSTR341194", .oid = HASH_OID_GOST_R_3411_94, .mac_oid = MAC_OID_GOST_R_3411_94, .id = GNUTLS_MAC_GOSTR_94, .output_size = 32, .key_size = 32, - .block_size = 32}, + .block_size = 32, + .flags = GNUTLS_MAC_FLAG_PREIMAGE_INSECURE + }, {.name = "STREEBOG-256", .oid = HASH_OID_STREEBOG_256, .mac_oid = MAC_OID_STREEBOG_256, |