diff options
| author | tb <> | 2022-07-07 13:01:28 +0000 |
|---|---|---|
| committer | tb <> | 2022-07-07 13:01:28 +0000 |
| commit | 7986c6c16406e5ad9f53a49107428df9f9fd70c1 (patch) | |
| tree | 539767872181d9087ed86b86848b9b25031ed468 /src/lib/libcrypto/rsa/rsa.h | |
| parent | ff78126e2bdcc3826447aa931770e2ee087ab498 (diff) | |
| download | openbsd-7986c6c16406e5ad9f53a49107428df9f9fd70c1.tar.gz openbsd-7986c6c16406e5ad9f53a49107428df9f9fd70c1.tar.bz2 openbsd-7986c6c16406e5ad9f53a49107428df9f9fd70c1.zip | |
Expose new API in headers.
These are mostly security-level related, but there are also ASN1_TIME
and ASN_INTEGER functions here, as well as some missing accessors.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 8e19da2c7f..888902d18c 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.56 2022/06/27 12:30:28 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.57 2022/07/07 13:01: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,9 +372,7 @@ 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); | 375 | int RSA_security_bits(const RSA *rsa); |
| 377 | #endif | ||
| 378 | 376 | ||
| 379 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, | 377 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, |
| 380 | const BIGNUM **d); | 378 | const BIGNUM **d); |
