From 54142669ecd1df96a963490af716e9fb0b6558bf Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 10 Jul 2014 11:04:49 +0000 Subject: Remove RSA_FLAG_NO_EXP_CONSTTIME, which was deprecated 12+ years ago. sthen@ confirmed that no ports are referencing it. ok miod@. --- src/lib/libcrypto/rsa/rsa.h | 14 +------------- src/lib/libssl/src/crypto/rsa/rsa.h | 14 +------------- 2 files changed, 2 insertions(+), 26 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: rsa.h,v 1.22 2014/07/09 20:05:54 jsing Exp $ */ +/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -202,18 +202,6 @@ struct rsa_st { */ #define RSA_FLAG_NO_CONSTTIME 0x0100 -#ifndef OPENSSL_NO_DEPRECATED - -/* Deprecated name for the flag. */ -/* - * New with 0.9.7h; the built-in RSA implementation now uses constant time - * modular exponentiation for secret exponents by default. This flag causes - * the faster variable sliding window method to be used for all exponents. - */ -#define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME - -#endif - #define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \ 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 @@ -/* $OpenBSD: rsa.h,v 1.22 2014/07/09 20:05:54 jsing Exp $ */ +/* $OpenBSD: rsa.h,v 1.23 2014/07/10 11:04:49 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -202,18 +202,6 @@ struct rsa_st { */ #define RSA_FLAG_NO_CONSTTIME 0x0100 -#ifndef OPENSSL_NO_DEPRECATED - -/* Deprecated name for the flag. */ -/* - * New with 0.9.7h; the built-in RSA implementation now uses constant time - * modular exponentiation for secret exponents by default. This flag causes - * the faster variable sliding window method to be used for all exponents. - */ -#define RSA_FLAG_NO_EXP_CONSTTIME RSA_FLAG_NO_CONSTTIME - -#endif - #define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \ EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, \ -- cgit v1.2.3-55-g6feb