diff options
Diffstat (limited to 'include/openssl/idea.h')
-rw-r--r-- | include/openssl/idea.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/openssl/idea.h b/include/openssl/idea.h index 6075984039..29b5094394 100644 --- a/include/openssl/idea.h +++ b/include/openssl/idea.h @@ -1,4 +1,3 @@ -/* crypto/idea/idea.h */ /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -59,12 +58,14 @@ #ifndef HEADER_IDEA_H # define HEADER_IDEA_H -# include <openssl/opensslconf.h>/* IDEA_INT, OPENSSL_NO_IDEA */ +# include <openssl/opensslconf.h> # ifdef OPENSSL_NO_IDEA # error IDEA is disabled. # endif +typedef unsigned int IDEA_INT; + # define IDEA_ENCRYPT 1 # define IDEA_DECRYPT 0 @@ -82,10 +83,6 @@ typedef struct idea_key_st { const char *idea_options(void); void idea_ecb_encrypt(const unsigned char *in, unsigned char *out, IDEA_KEY_SCHEDULE *ks); -# ifdef OPENSSL_FIPS -void private_idea_set_encrypt_key(const unsigned char *key, - IDEA_KEY_SCHEDULE *ks); -# endif void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks); void idea_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk); void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, |