diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_wp.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_wp.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/src/lib/libcrypto/evp/m_wp.c b/src/lib/libcrypto/evp/m_wp.c index ca53be6abb..27a0e8ab65 100644 --- a/src/lib/libcrypto/evp/m_wp.c +++ b/src/lib/libcrypto/evp/m_wp.c | |||
@@ -30,18 +30,22 @@ final(EVP_MD_CTX *ctx, unsigned char *md) | |||
30 | } | 30 | } |
31 | 31 | ||
32 | static const EVP_MD whirlpool_md = { | 32 | static const EVP_MD whirlpool_md = { |
33 | NID_whirlpool, | 33 | .type = NID_whirlpool, |
34 | 0, | 34 | .pkey_type = 0, |
35 | WHIRLPOOL_DIGEST_LENGTH, | 35 | .md_size = WHIRLPOOL_DIGEST_LENGTH, |
36 | 0, | 36 | .flags = 0, |
37 | init, | 37 | .init = init, |
38 | update, | 38 | .update = update, |
39 | final, | 39 | .final = final, |
40 | NULL, | 40 | .copy = NULL, |
41 | NULL, | 41 | .cleanup = NULL, |
42 | EVP_PKEY_NULL_method, | 42 | .sign = NULL, |
43 | WHIRLPOOL_BBLOCK/8, | 43 | .verify = NULL, |
44 | sizeof(EVP_MD *) + sizeof(WHIRLPOOL_CTX), | 44 | .required_pkey_type = { |
45 | 0, 0, 0, 0, | ||
46 | }, | ||
47 | .block_size = WHIRLPOOL_BBLOCK / 8, | ||
48 | .ctx_size = sizeof(EVP_MD *) + sizeof(WHIRLPOOL_CTX), | ||
45 | }; | 49 | }; |
46 | 50 | ||
47 | const EVP_MD * | 51 | const EVP_MD * |