summaryrefslogtreecommitdiffstats
path: root/crypto/ripemd/ripemd.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-06-01 13:39:45 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-06-01 13:39:45 +0000
commit65300dcfb04bae643ea7b8f42ff8c8f1b1210a9e (patch)
treeb3cebcf5d9b7c05745dcd26cc13de2805098c224 /crypto/ripemd/ripemd.h
parent9ddc574f9aed0fbf5b19c50a495de608550174c7 (diff)
Prohibit use of low level digest APIs in FIPS mode.
Diffstat (limited to 'crypto/ripemd/ripemd.h')
-rw-r--r--crypto/ripemd/ripemd.h3
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);