summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/evp/c_all.c11
-rw-r--r--src/lib/libcrypto/evp/e_old.c12
-rw-r--r--src/lib/libcrypto/evp/evp.h9
-rw-r--r--src/lib/libssl/src/crypto/evp/c_all.c11
-rw-r--r--src/lib/libssl/src/crypto/evp/e_old.c12
-rw-r--r--src/lib/libssl/src/crypto/evp/evp.h9
6 files changed, 6 insertions, 58 deletions
diff --git a/src/lib/libcrypto/evp/c_all.c b/src/lib/libcrypto/evp/c_all.c
index a8593c16b2..d794629ca8 100644
--- a/src/lib/libcrypto/evp/c_all.c
+++ b/src/lib/libcrypto/evp/c_all.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: c_all.c,v 1.15 2015/02/07 03:23:05 jsing Exp $ */ 1/* $OpenBSD: c_all.c,v 1.16 2015/02/10 11:45:09 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -148,15 +148,6 @@ OpenSSL_add_all_ciphers(void)
148 EVP_add_cipher_alias(SN_cast5_cbc, "cast-cbc"); 148 EVP_add_cipher_alias(SN_cast5_cbc, "cast-cbc");
149#endif 149#endif
150 150
151#ifndef OPENSSL_NO_RC5
152 EVP_add_cipher(EVP_rc5_32_12_16_ecb());
153 EVP_add_cipher(EVP_rc5_32_12_16_cfb());
154 EVP_add_cipher(EVP_rc5_32_12_16_ofb());
155 EVP_add_cipher(EVP_rc5_32_12_16_cbc());
156 EVP_add_cipher_alias(SN_rc5_cbc, "rc5");
157 EVP_add_cipher_alias(SN_rc5_cbc, "RC5");
158#endif
159
160#ifndef OPENSSL_NO_AES 151#ifndef OPENSSL_NO_AES
161 EVP_add_cipher(EVP_aes_128_ecb()); 152 EVP_add_cipher(EVP_aes_128_ecb());
162 EVP_add_cipher(EVP_aes_128_cbc()); 153 EVP_add_cipher(EVP_aes_128_cbc());
diff --git a/src/lib/libcrypto/evp/e_old.c b/src/lib/libcrypto/evp/e_old.c
index 235ebe242b..71166654b0 100644
--- a/src/lib/libcrypto/evp/e_old.c
+++ b/src/lib/libcrypto/evp/e_old.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_old.c,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ 1/* $OpenBSD: e_old.c,v 1.8 2015/02/10 11:45:09 jsing Exp $ */
2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL 2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
3 * project 2004. 3 * project 2004.
4 */ 4 */
@@ -132,16 +132,6 @@ EVP_cast5_cfb(void)
132} 132}
133#endif 133#endif
134 134
135#ifndef OPENSSL_NO_RC5
136#undef EVP_rc5_32_12_16_cfb
137const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
138const EVP_CIPHER *
139EVP_rc5_32_12_16_cfb(void)
140{
141 return EVP_rc5_32_12_16_cfb64();
142}
143#endif
144
145#ifndef OPENSSL_NO_AES 135#ifndef OPENSSL_NO_AES
146#undef EVP_aes_128_cfb 136#undef EVP_aes_128_cfb
147const EVP_CIPHER *EVP_aes_128_cfb(void); 137const EVP_CIPHER *EVP_aes_128_cfb(void);
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 6de762a4ff..330e01e0e6 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.43 2015/02/10 09:52:35 miod Exp $ */ 1/* $OpenBSD: evp.h,v 1.44 2015/02/10 11:45:09 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -746,13 +746,6 @@ const EVP_CIPHER *EVP_cast5_cfb64(void);
746# define EVP_cast5_cfb EVP_cast5_cfb64 746# define EVP_cast5_cfb EVP_cast5_cfb64
747const EVP_CIPHER *EVP_cast5_ofb(void); 747const EVP_CIPHER *EVP_cast5_ofb(void);
748#endif 748#endif
749#ifndef OPENSSL_NO_RC5
750const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void);
751const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void);
752const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void);
753# define EVP_rc5_32_12_16_cfb EVP_rc5_32_12_16_cfb64
754const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void);
755#endif
756#ifndef OPENSSL_NO_AES 749#ifndef OPENSSL_NO_AES
757const EVP_CIPHER *EVP_aes_128_ecb(void); 750const EVP_CIPHER *EVP_aes_128_ecb(void);
758const EVP_CIPHER *EVP_aes_128_cbc(void); 751const EVP_CIPHER *EVP_aes_128_cbc(void);
diff --git a/src/lib/libssl/src/crypto/evp/c_all.c b/src/lib/libssl/src/crypto/evp/c_all.c
index a8593c16b2..d794629ca8 100644
--- a/src/lib/libssl/src/crypto/evp/c_all.c
+++ b/src/lib/libssl/src/crypto/evp/c_all.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: c_all.c,v 1.15 2015/02/07 03:23:05 jsing Exp $ */ 1/* $OpenBSD: c_all.c,v 1.16 2015/02/10 11:45:09 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -148,15 +148,6 @@ OpenSSL_add_all_ciphers(void)
148 EVP_add_cipher_alias(SN_cast5_cbc, "cast-cbc"); 148 EVP_add_cipher_alias(SN_cast5_cbc, "cast-cbc");
149#endif 149#endif
150 150
151#ifndef OPENSSL_NO_RC5
152 EVP_add_cipher(EVP_rc5_32_12_16_ecb());
153 EVP_add_cipher(EVP_rc5_32_12_16_cfb());
154 EVP_add_cipher(EVP_rc5_32_12_16_ofb());
155 EVP_add_cipher(EVP_rc5_32_12_16_cbc());
156 EVP_add_cipher_alias(SN_rc5_cbc, "rc5");
157 EVP_add_cipher_alias(SN_rc5_cbc, "RC5");
158#endif
159
160#ifndef OPENSSL_NO_AES 151#ifndef OPENSSL_NO_AES
161 EVP_add_cipher(EVP_aes_128_ecb()); 152 EVP_add_cipher(EVP_aes_128_ecb());
162 EVP_add_cipher(EVP_aes_128_cbc()); 153 EVP_add_cipher(EVP_aes_128_cbc());
diff --git a/src/lib/libssl/src/crypto/evp/e_old.c b/src/lib/libssl/src/crypto/evp/e_old.c
index 235ebe242b..71166654b0 100644
--- a/src/lib/libssl/src/crypto/evp/e_old.c
+++ b/src/lib/libssl/src/crypto/evp/e_old.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_old.c,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ 1/* $OpenBSD: e_old.c,v 1.8 2015/02/10 11:45:09 jsing Exp $ */
2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL 2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
3 * project 2004. 3 * project 2004.
4 */ 4 */
@@ -132,16 +132,6 @@ EVP_cast5_cfb(void)
132} 132}
133#endif 133#endif
134 134
135#ifndef OPENSSL_NO_RC5
136#undef EVP_rc5_32_12_16_cfb
137const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
138const EVP_CIPHER *
139EVP_rc5_32_12_16_cfb(void)
140{
141 return EVP_rc5_32_12_16_cfb64();
142}
143#endif
144
145#ifndef OPENSSL_NO_AES 135#ifndef OPENSSL_NO_AES
146#undef EVP_aes_128_cfb 136#undef EVP_aes_128_cfb
147const EVP_CIPHER *EVP_aes_128_cfb(void); 137const EVP_CIPHER *EVP_aes_128_cfb(void);
diff --git a/src/lib/libssl/src/crypto/evp/evp.h b/src/lib/libssl/src/crypto/evp/evp.h
index 6de762a4ff..330e01e0e6 100644
--- a/src/lib/libssl/src/crypto/evp/evp.h
+++ b/src/lib/libssl/src/crypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.43 2015/02/10 09:52:35 miod Exp $ */ 1/* $OpenBSD: evp.h,v 1.44 2015/02/10 11:45:09 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -746,13 +746,6 @@ const EVP_CIPHER *EVP_cast5_cfb64(void);
746# define EVP_cast5_cfb EVP_cast5_cfb64 746# define EVP_cast5_cfb EVP_cast5_cfb64
747const EVP_CIPHER *EVP_cast5_ofb(void); 747const EVP_CIPHER *EVP_cast5_ofb(void);
748#endif 748#endif
749#ifndef OPENSSL_NO_RC5
750const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void);
751const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void);
752const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void);
753# define EVP_rc5_32_12_16_cfb EVP_rc5_32_12_16_cfb64
754const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void);
755#endif
756#ifndef OPENSSL_NO_AES 749#ifndef OPENSSL_NO_AES
757const EVP_CIPHER *EVP_aes_128_ecb(void); 750const EVP_CIPHER *EVP_aes_128_ecb(void);
758const EVP_CIPHER *EVP_aes_128_cbc(void); 751const EVP_CIPHER *EVP_aes_128_cbc(void);