summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2021-02-22 12:55:25 -0500
committerTomas Mraz <tomas@openssl.org>2021-03-01 10:56:12 +0100
commitb0aae913246af1d07e728d24f53f55028f61c696 (patch)
tree472478434dd9894a817e00d4eb56dd8197cc717a /include
parentd546e8e267bfddc1ca310dfa8b9a72ab4f9aac7c (diff)
Remove RSA SSLv23 padding mode
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14248)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core_names.h1
-rw-r--r--include/openssl/rsa.h8
2 files changed, 0 insertions, 9 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h
index 0f242e3605..ab669cfd3f 100644
--- a/include/openssl/core_names.h
+++ b/include/openssl/core_names.h
@@ -384,7 +384,6 @@ extern "C" {
/* RSA padding modes */
#define OSSL_PKEY_RSA_PAD_MODE_NONE "none"
#define OSSL_PKEY_RSA_PAD_MODE_PKCSV15 "pkcs1"
-#define OSSL_PKEY_RSA_PAD_MODE_SSLV23 "sslv23"
#define OSSL_PKEY_RSA_PAD_MODE_OAEP "oaep"
#define OSSL_PKEY_RSA_PAD_MODE_X931 "x931"
#define OSSL_PKEY_RSA_PAD_MODE_PSS "pss"
diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h
index 0aeab1560a..8822345d5a 100644
--- a/include/openssl/rsa.h
+++ b/include/openssl/rsa.h
@@ -184,7 +184,6 @@ int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label);
# define EVP_PKEY_CTRL_RSA_KEYGEN_PRIMES (EVP_PKEY_ALG_CTRL + 13)
# define RSA_PKCS1_PADDING 1
-# define RSA_SSLV23_PADDING 2
# define RSA_NO_PADDING 3
# define RSA_PKCS1_OAEP_PADDING 4
# define RSA_X931_PADDING 5
@@ -405,13 +404,6 @@ int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
int num,
const unsigned char *param, int plen,
const EVP_MD *md, const EVP_MD *mgf1md);
-OSSL_DEPRECATEDIN_3_0
-int RSA_padding_add_SSLv23(unsigned char *to, int tlen,
- const unsigned char *f, int fl);
-OSSL_DEPRECATEDIN_3_0
-int RSA_padding_check_SSLv23(unsigned char *to, int tlen,
- const unsigned char *f, int fl,
- int rsa_len);
OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen,
const unsigned char *f, int fl);
OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen,