diff options
author | George Hazan <george.hazan@gmail.com> | 2016-03-18 16:56:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-03-18 16:56:24 +0000 |
commit | 6a6db513258224651c8e12c43545d368c7456bbc (patch) | |
tree | 8af5da797e64907778db6738959fed3c30f618dd /include/openssl/idea.h | |
parent | f0efe2dabd75888cb31ea023f10ed930c2056307 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@16502 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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, |