diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 65a643f4c6..23929aafb9 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.37 2018/02/20 17:42:32 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.38 2018/03/17 15:12:56 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 | * |
| @@ -430,6 +430,15 @@ RSA *RSAPrivateKey_dup(RSA *rsa); | |||
| 430 | */ | 430 | */ |
| 431 | #define RSA_FLAG_CHECKED 0x0800 | 431 | #define RSA_FLAG_CHECKED 0x0800 |
| 432 | 432 | ||
| 433 | RSA_METHOD *RSA_meth_new(const char *name, int flags); | ||
| 434 | void RSA_meth_free(RSA_METHOD *meth); | ||
| 435 | RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ||
| 436 | int RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc)(int flen, | ||
| 437 | const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); | ||
| 438 | int RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec)(int flen, | ||
| 439 | const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); | ||
| 440 | int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)); | ||
| 441 | |||
| 433 | /* BEGIN ERROR CODES */ | 442 | /* BEGIN ERROR CODES */ |
| 434 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 443 | /* The following lines are auto generated by the script mkerr.pl. Any changes |
| 435 | * made after this point may be overwritten when the script is next run. | 444 | * made after this point may be overwritten when the script is next run. |
