summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa.h
diff options
context:
space:
mode:
authortb <>2023-04-25 16:50:33 +0000
committertb <>2023-04-25 16:50:33 +0000
commit2a03a7f8e865066559744ab3a932de210f129974 (patch)
treecfbe10719d1c36f8340490aefd7f60d686a1db5c /src/lib/libcrypto/rsa/rsa.h
parent766569e18d98adffa5a2bdb21a1e45a921ead53f (diff)
downloadopenbsd-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.h10
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);
350int RSA_padding_check_none(unsigned char *to, int tlen, 350int 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)
354int RSA_padding_add_X931(unsigned char *to, int tlen,
355 const unsigned char *f, int fl);
356int RSA_padding_check_X931(unsigned char *to, int tlen,
357 const unsigned char *f, int fl, int rsa_len);
358int RSA_X931_hash_id(int nid);
359#endif
360 352
361int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, 353int 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);