diff options
author | tb <> | 2023-04-25 16:50:33 +0000 |
---|---|---|
committer | tb <> | 2023-04-25 16:50:33 +0000 |
commit | 2a03a7f8e865066559744ab3a932de210f129974 (patch) | |
tree | cfbe10719d1c36f8340490aefd7f60d686a1db5c /src/lib/libcrypto/rsa/rsa.h | |
parent | 766569e18d98adffa5a2bdb21a1e45a921ead53f (diff) | |
download | openbsd-2a03a7f8e865066559744ab3a932de210f129974.tar.gz openbsd-2a03a7f8e865066559744ab3a932de210f129974.tar.bz2 openbsd-2a03a7f8e865066559744ab3a932de210f129974.zip |
Remove X9.31 support
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index cddd80bc85..b2a9a85ea8 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.62 2023/04/18 08:47:28 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.63 2023/04/25 16:50:33 tb 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 | * |
@@ -349,14 +349,6 @@ int RSA_padding_add_none(unsigned char *to, int tlen, | |||
349 | const unsigned char *f, int fl); | 349 | const unsigned char *f, int fl); |
350 | int RSA_padding_check_none(unsigned char *to, int tlen, | 350 | int RSA_padding_check_none(unsigned char *to, int tlen, |
351 | const unsigned char *f, int fl, int rsa_len); | 351 | const unsigned char *f, int fl, int rsa_len); |
352 | /* Remove in next major bump. */ | ||
353 | #if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) | ||
354 | int RSA_padding_add_X931(unsigned char *to, int tlen, | ||
355 | const unsigned char *f, int fl); | ||
356 | int RSA_padding_check_X931(unsigned char *to, int tlen, | ||
357 | const unsigned char *f, int fl, int rsa_len); | ||
358 | int RSA_X931_hash_id(int nid); | ||
359 | #endif | ||
360 | 352 | ||
361 | int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, | 353 | int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, |
362 | const EVP_MD *Hash, const unsigned char *EM, int sLen); | 354 | const EVP_MD *Hash, const unsigned char *EM, int sLen); |