summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/bn/bn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h
index ddbc829ac2..bb85ea442c 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.60 2023/04/16 09:11:06 tb Exp $ */ 1/* $OpenBSD: bn.h,v 1.61 2023/04/16 09:13:46 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 *
@@ -495,6 +495,8 @@ int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
495int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, 495int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
496 int do_trial_division, BN_GENCB *cb); 496 int do_trial_division, BN_GENCB *cb);
497 497
498/* Remove in next major bump. */
499#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
498int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx); 500int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
499 501
500int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, 502int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
@@ -505,6 +507,7 @@ int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
505 const BIGNUM *Xp, 507 const BIGNUM *Xp,
506 const BIGNUM *e, BN_CTX *ctx, 508 const BIGNUM *e, BN_CTX *ctx,
507 BN_GENCB *cb); 509 BN_GENCB *cb);
510#endif
508 511
509BN_MONT_CTX *BN_MONT_CTX_new(void ); 512BN_MONT_CTX *BN_MONT_CTX_new(void );
510/* Remove in next major bump. */ 513/* Remove in next major bump. */