diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 78ac04cf96..9dea6c37c0 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.51 2019/11/04 12:30:56 jsing Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.52 2022/01/05 20:44:12 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 | * |
| @@ -470,6 +470,17 @@ void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, | |||
| 470 | int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); | 470 | int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); |
| 471 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); | 471 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); |
| 472 | int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | 472 | int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); |
| 473 | #if defined(LIBRESSL_OPAQUE_RSA) || defined(LIBRESSL_CRYPTO_INTERNAL) | ||
| 474 | const BIGNUM *RSA_get0_n(const RSA *r); | ||
| 475 | const BIGNUM *RSA_get0_e(const RSA *r); | ||
| 476 | const BIGNUM *RSA_get0_d(const RSA *r); | ||
| 477 | const BIGNUM *RSA_get0_p(const RSA *r); | ||
| 478 | const BIGNUM *RSA_get0_q(const RSA *r); | ||
| 479 | const BIGNUM *RSA_get0_dmp1(const RSA *r); | ||
| 480 | const BIGNUM *RSA_get0_dmq1(const RSA *r); | ||
| 481 | const BIGNUM *RSA_get0_iqmp(const RSA *r); | ||
| 482 | const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r); | ||
| 483 | #endif | ||
| 473 | void RSA_clear_flags(RSA *r, int flags); | 484 | void RSA_clear_flags(RSA *r, int flags); |
| 474 | int RSA_test_flags(const RSA *r, int flags); | 485 | int RSA_test_flags(const RSA *r, int flags); |
| 475 | void RSA_set_flags(RSA *r, int flags); | 486 | void RSA_set_flags(RSA *r, int flags); |
