summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_wp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/m_wp.c')
-rw-r--r--src/lib/libcrypto/evp/m_wp.c9
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
14static int init(EVP_MD_CTX *ctx) 14static int
15init(EVP_MD_CTX *ctx)
15{ 16{
16 return WHIRLPOOL_Init(ctx->md_data); 17 return WHIRLPOOL_Init(ctx->md_data);
17} 18}
18 19
19static int update(EVP_MD_CTX *ctx, const void *data, size_t count) 20static int
21update(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
24static int final(EVP_MD_CTX *ctx, unsigned char *md) 26static int
27final(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}