diff options
Diffstat (limited to 'src/lib/libcrypto/ripemd/rmd_dgst.c')
| -rw-r--r-- | src/lib/libcrypto/ripemd/rmd_dgst.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ripemd/rmd_dgst.c b/src/lib/libcrypto/ripemd/rmd_dgst.c index 63f0d983f7..2097a66c03 100644 --- a/src/lib/libcrypto/ripemd/rmd_dgst.c +++ b/src/lib/libcrypto/ripemd/rmd_dgst.c | |||
| @@ -59,7 +59,6 @@ | |||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include "rmd_locl.h" | 60 | #include "rmd_locl.h" |
| 61 | #include <openssl/opensslv.h> | 61 | #include <openssl/opensslv.h> |
| 62 | #include <openssl/crypto.h> | ||
| 63 | 62 | ||
| 64 | const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT; | 63 | const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT; |
| 65 | 64 | ||
| @@ -70,7 +69,7 @@ const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT; | |||
| 70 | void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num); | 69 | void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num); |
| 71 | # endif | 70 | # endif |
| 72 | 71 | ||
| 73 | fips_md_init(RIPEMD160) | 72 | int RIPEMD160_Init(RIPEMD160_CTX *c) |
| 74 | { | 73 | { |
| 75 | memset (c,0,sizeof(*c)); | 74 | memset (c,0,sizeof(*c)); |
| 76 | c->A=RIPEMD160_A; | 75 | c->A=RIPEMD160_A; |
| @@ -88,7 +87,7 @@ fips_md_init(RIPEMD160) | |||
| 88 | void ripemd160_block_data_order (RIPEMD160_CTX *ctx, const void *p, size_t num) | 87 | void ripemd160_block_data_order (RIPEMD160_CTX *ctx, const void *p, size_t num) |
| 89 | { | 88 | { |
| 90 | const unsigned char *data=p; | 89 | const unsigned char *data=p; |
| 91 | register unsigned MD32_REG_T A,B,C,D,E; | 90 | register volatile unsigned MD32_REG_T A,B,C,D,E; |
| 92 | unsigned MD32_REG_T a,b,c,d,e,l; | 91 | unsigned MD32_REG_T a,b,c,d,e,l; |
| 93 | #ifndef MD32_XARRAY | 92 | #ifndef MD32_XARRAY |
| 94 | /* See comment in crypto/sha/sha_locl.h for details. */ | 93 | /* See comment in crypto/sha/sha_locl.h for details. */ |
