diff options
| author | jsing <> | 2014-07-10 11:04:49 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-10 11:04:49 +0000 |
| commit | d4eb3e5a15b82e54030115b92db797f2e9b02434 (patch) | |
| tree | 78d8eb8f8f01ca1ca2fcc8fd774b933d129ce972 | |
| parent | 7dcff0e5e4aba8862f611a291df7cb7f3dac509a (diff) | |
| download | openbsd-d4eb3e5a15b82e54030115b92db797f2e9b02434.tar.gz openbsd-d4eb3e5a15b82e54030115b92db797f2e9b02434.tar.bz2 openbsd-d4eb3e5a15b82e54030115b92db797f2e9b02434.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 '')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 14 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/rsa/rsa.h | 14 |
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, \ |
