summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2014-07-10 11:04:49 +0000
committerjsing <>2014-07-10 11:04:49 +0000
commit54142669ecd1df96a963490af716e9fb0b6558bf (patch)
tree78d8eb8f8f01ca1ca2fcc8fd774b933d129ce972 /src
parente55b3f9b10908408bebfb52f2d8a6b98b9814add (diff)
downloadopenbsd-54142669ecd1df96a963490af716e9fb0b6558bf.tar.gz
openbsd-54142669ecd1df96a963490af716e9fb0b6558bf.tar.bz2
openbsd-54142669ecd1df96a963490af716e9fb0b6558bf.zip
Remove RSA_FLAG_NO_EXP_CONSTTIME, which was deprecated 12+ years ago.
sthen@ confirmed that no ports are referencing it. ok miod@.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/rsa/rsa.h14
-rw-r--r--src/lib/libssl/src/crypto/rsa/rsa.h14
2 files changed, 2 insertions, 26 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 0cd51a7e29..fdfd29c33a 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.22 2014/07/09 20:05:54 jsing Exp $ */ 1/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 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 *
@@ -202,18 +202,6 @@ struct rsa_st {
202 */ 202 */
203#define RSA_FLAG_NO_CONSTTIME 0x0100 203#define RSA_FLAG_NO_CONSTTIME 0x0100
204 204
205#ifndef OPENSSL_NO_DEPRECATED
206
207/* Deprecated name for the flag. */
208/*
209 * New with 0.9.7h; the built-in RSA implementation now uses constant time
210 * modular exponentiation for secret exponents by default. This flag causes
211 * the faster variable sliding window method to be used for all exponents.
212 */
213#define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME
214
215#endif
216
217 205
218#define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \ 206#define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \
219 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \ 207 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \
diff --git a/src/lib/libssl/src/crypto/rsa/rsa.h b/src/lib/libssl/src/crypto/rsa/rsa.h
index 0cd51a7e29..fdfd29c33a 100644
--- a/src/lib/libssl/src/crypto/rsa/rsa.h
+++ b/src/lib/libssl/src/crypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.22 2014/07/09 20:05:54 jsing Exp $ */ 1/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 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 *
@@ -202,18 +202,6 @@ struct rsa_st {
202 */ 202 */
203#define RSA_FLAG_NO_CONSTTIME 0x0100 203#define RSA_FLAG_NO_CONSTTIME 0x0100
204 204
205#ifndef OPENSSL_NO_DEPRECATED
206
207/* Deprecated name for the flag. */
208/*
209 * New with 0.9.7h; the built-in RSA implementation now uses constant time
210 * modular exponentiation for secret exponents by default. This flag causes
211 * the faster variable sliding window method to be used for all exponents.
212 */
213#define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME
214
215#endif
216
217 205
218#define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \ 206#define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \
219 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \ 207 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \