diff options
Diffstat (limited to 'src/lib/libcrypto/evp/m_wp.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_wp.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/m_wp.c b/src/lib/libcrypto/evp/m_wp.c index 3991a71c17..ca53be6abb 100644 --- a/src/lib/libcrypto/evp/m_wp.c +++ b/src/lib/libcrypto/evp/m_wp.c | |||
@@ -11,17 +11,20 @@ | |||
11 | #include <openssl/whrlpool.h> | 11 | #include <openssl/whrlpool.h> |
12 | #include "evp_locl.h" | 12 | #include "evp_locl.h" |
13 | 13 | ||
14 | static int init(EVP_MD_CTX *ctx) | 14 | static int |
15 | init(EVP_MD_CTX *ctx) | ||
15 | { | 16 | { |
16 | return WHIRLPOOL_Init(ctx->md_data); | 17 | return WHIRLPOOL_Init(ctx->md_data); |
17 | } | 18 | } |
18 | 19 | ||
19 | static int update(EVP_MD_CTX *ctx, const void *data, size_t count) | 20 | static int |
21 | update(EVP_MD_CTX *ctx, const void *data, size_t count) | ||
20 | { | 22 | { |
21 | return WHIRLPOOL_Update(ctx->md_data, data, count); | 23 | return WHIRLPOOL_Update(ctx->md_data, data, count); |
22 | } | 24 | } |
23 | 25 | ||
24 | static int final(EVP_MD_CTX *ctx, unsigned char *md) | 26 | static int |
27 | final(EVP_MD_CTX *ctx, unsigned char *md) | ||
25 | { | 28 | { |
26 | return WHIRLPOOL_Final(md, ctx->md_data); | 29 | return WHIRLPOOL_Final(md, ctx->md_data); |
27 | } | 30 | } |