diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-01 13:39:45 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-01 13:39:45 +0000 |
commit | 65300dcfb04bae643ea7b8f42ff8c8f1b1210a9e (patch) | |
tree | b3cebcf5d9b7c05745dcd26cc13de2805098c224 /crypto/ripemd/ripemd.h | |
parent | 9ddc574f9aed0fbf5b19c50a495de608550174c7 (diff) |
Prohibit use of low level digest APIs in FIPS mode.
Diffstat (limited to 'crypto/ripemd/ripemd.h')
-rw-r--r-- | crypto/ripemd/ripemd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/ripemd/ripemd.h b/crypto/ripemd/ripemd.h index 5942eb6180..189bd8c90e 100644 --- a/crypto/ripemd/ripemd.h +++ b/crypto/ripemd/ripemd.h @@ -91,6 +91,9 @@ typedef struct RIPEMD160state_st unsigned int num; } RIPEMD160_CTX; +#ifdef OPENSSL_FIPS +int private_RIPEMD160_Init(RIPEMD160_CTX *c); +#endif int RIPEMD160_Init(RIPEMD160_CTX *c); int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); |