diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index d59fd03f76..8e19da2c7f 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.55 2022/01/14 08:34:39 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.56 2022/06/27 12:30:28 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 | * |
@@ -372,6 +372,10 @@ int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | |||
372 | int RSA_set_ex_data(RSA *r, int idx, void *arg); | 372 | int RSA_set_ex_data(RSA *r, int idx, void *arg); |
373 | void *RSA_get_ex_data(const RSA *r, int idx); | 373 | void *RSA_get_ex_data(const RSA *r, int idx); |
374 | 374 | ||
375 | #ifdef LIBRESSL_INTERNAL | ||
376 | int RSA_security_bits(const RSA *rsa); | ||
377 | #endif | ||
378 | |||
375 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, | 379 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, |
376 | const BIGNUM **d); | 380 | const BIGNUM **d); |
377 | int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | 381 | int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); |