summaryrefslogtreecommitdiff
path: root/include/openssl/rc2.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-03-18 16:56:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-03-18 16:56:24 +0000
commit6a6db513258224651c8e12c43545d368c7456bbc (patch)
tree8af5da797e64907778db6738959fed3c30f618dd /include/openssl/rc2.h
parentf0efe2dabd75888cb31ea023f10ed930c2056307 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16502 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/openssl/rc2.h')
-rw-r--r--include/openssl/rc2.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/openssl/rc2.h b/include/openssl/rc2.h
index 29d02d7322..0bf6ae31ec 100644
--- a/include/openssl/rc2.h
+++ b/include/openssl/rc2.h
@@ -1,4 +1,3 @@
-/* crypto/rc2/rc2.h */
/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -59,11 +58,13 @@
#ifndef HEADER_RC2_H
# define HEADER_RC2_H
-# include <openssl/opensslconf.h>/* OPENSSL_NO_RC2, RC2_INT */
+# include <openssl/opensslconf.h>
# ifdef OPENSSL_NO_RC2
# error RC2 is disabled.
# endif
+typedef unsigned int RC2_INT;
+
# define RC2_ENCRYPT 1
# define RC2_DECRYPT 0
@@ -78,10 +79,6 @@ typedef struct rc2_key_st {
RC2_INT data[64];
} RC2_KEY;
-# ifdef OPENSSL_FIPS
-void private_RC2_set_key(RC2_KEY *key, int len, const unsigned char *data,
- int bits);
-# endif
void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits);
void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out,
RC2_KEY *key, int enc);