diff options
Diffstat (limited to 'src/lib/libcrypto/rsa')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index daefcb85b2..e01e6ba553 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.53 2022/01/14 07:49:49 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.54 2022/01/14 08:12:31 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 | * |
@@ -380,18 +380,6 @@ int RSA_print_fp(FILE *fp, const RSA *r, int offset); | |||
380 | int RSA_print(BIO *bp, const RSA *r, int offset); | 380 | int RSA_print(BIO *bp, const RSA *r, int offset); |
381 | #endif | 381 | #endif |
382 | 382 | ||
383 | #ifndef OPENSSL_NO_RC4 | ||
384 | int i2d_RSA_NET(const RSA *a, unsigned char **pp, | ||
385 | int (*cb)(char *buf, int len, const char *prompt, int verify), int sgckey); | ||
386 | RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, | ||
387 | int (*cb)(char *buf, int len, const char *prompt, int verify), int sgckey); | ||
388 | |||
389 | int i2d_Netscape_RSA(const RSA *a, unsigned char **pp, | ||
390 | int (*cb)(char *buf, int len, const char *prompt, int verify)); | ||
391 | RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, | ||
392 | int (*cb)(char *buf, int len, const char *prompt, int verify)); | ||
393 | #endif | ||
394 | |||
395 | /* The following 2 functions sign and verify a X509_SIG ASN1 object | 383 | /* The following 2 functions sign and verify a X509_SIG ASN1 object |
396 | * inside PKCS#1 padded RSA encryption */ | 384 | * inside PKCS#1 padded RSA encryption */ |
397 | int RSA_sign(int type, const unsigned char *m, unsigned int m_length, | 385 | int RSA_sign(int type, const unsigned char *m, unsigned int m_length, |