diff options
| author | tb <> | 2022-06-27 12:25:49 +0000 |
|---|---|---|
| committer | tb <> | 2022-06-27 12:25:49 +0000 |
| commit | f7cbb53a0bb8b068fd645ed3e51f11fffcbe78d9 (patch) | |
| tree | 7b4a6abb880cf5d62bcb7e49bc31d80ddbaa539d /src/lib/libcrypto/bn/bn.h | |
| parent | 1c45f06eaf444cdc05079c52a06296706b42f26d (diff) | |
| download | openbsd-f7cbb53a0bb8b068fd645ed3e51f11fffcbe78d9.tar.gz openbsd-f7cbb53a0bb8b068fd645ed3e51f11fffcbe78d9.tar.bz2 openbsd-f7cbb53a0bb8b068fd645ed3e51f11fffcbe78d9.zip | |
Prepare to provide BN_security_bits()
ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/bn/bn.h')
| -rw-r--r-- | src/lib/libcrypto/bn/bn.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index abf8cfcf70..5abd489003 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn.h,v 1.52 2022/01/14 08:01:47 tb Exp $ */ | 1 | /* $OpenBSD: bn.h,v 1.53 2022/06/27 12:25:49 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -471,6 +471,10 @@ BIGNUM *BN_mod_sqrt(BIGNUM *ret, | |||
| 471 | 471 | ||
| 472 | void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords); | 472 | void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords); |
| 473 | 473 | ||
| 474 | #ifdef LIBRESSL_INTERNAL | ||
| 475 | int BN_security_bits(int L, int N); | ||
| 476 | #endif | ||
| 477 | |||
| 474 | /* Deprecated versions */ | 478 | /* Deprecated versions */ |
| 475 | #ifndef OPENSSL_NO_DEPRECATED | 479 | #ifndef OPENSSL_NO_DEPRECATED |
| 476 | BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, | 480 | BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, |
