summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc5/rc5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc5/rc5.h')
-rw-r--r--src/lib/libcrypto/rc5/rc5.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rc5/rc5.h b/src/lib/libcrypto/rc5/rc5.h
index 4b3c153b50..aa3f26920b 100644
--- a/src/lib/libcrypto/rc5/rc5.h
+++ b/src/lib/libcrypto/rc5/rc5.h
@@ -59,8 +59,6 @@
59#ifndef HEADER_RC5_H 59#ifndef HEADER_RC5_H
60#define HEADER_RC5_H 60#define HEADER_RC5_H
61 61
62#include <openssl/opensslconf.h> /* OPENSSL_NO_RC5 */
63
64#ifdef __cplusplus 62#ifdef __cplusplus
65extern "C" { 63extern "C" {
66#endif 64#endif
@@ -94,7 +92,10 @@ typedef struct rc5_key_st
94 RC5_32_INT data[2*(RC5_16_ROUNDS+1)]; 92 RC5_32_INT data[2*(RC5_16_ROUNDS+1)];
95 } RC5_32_KEY; 93 } RC5_32_KEY;
96 94
97 95#ifdef OPENSSL_FIPS
96void private_RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data,
97 int rounds);
98#endif
98void RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data, 99void RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data,
99 int rounds); 100 int rounds);
100void RC5_32_ecb_encrypt(const unsigned char *in,unsigned char *out,RC5_32_KEY *key, 101void RC5_32_ecb_encrypt(const unsigned char *in,unsigned char *out,RC5_32_KEY *key,