summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/bn.h')
-rw-r--r--src/lib/libcrypto/bn/bn.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h
index fae8df5d90..b443d82c96 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.63 2023/04/25 16:41:29 tb Exp $ */ 1/* $OpenBSD: bn.h,v 1.64 2023/04/25 16:50:33 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 *
@@ -483,20 +483,6 @@ int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
483int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, 483int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
484 int do_trial_division, BN_GENCB *cb); 484 int do_trial_division, BN_GENCB *cb);
485 485
486/* Remove in next major bump. */
487#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
488int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
489
490int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
491 const BIGNUM *Xp, const BIGNUM *Xp1, const BIGNUM *Xp2,
492 const BIGNUM *e, BN_CTX *ctx, BN_GENCB *cb);
493int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
494 BIGNUM *Xp1, BIGNUM *Xp2,
495 const BIGNUM *Xp,
496 const BIGNUM *e, BN_CTX *ctx,
497 BN_GENCB *cb);
498#endif
499
500BN_MONT_CTX *BN_MONT_CTX_new(void ); 486BN_MONT_CTX *BN_MONT_CTX_new(void );
501/* Remove in next major bump. */ 487/* Remove in next major bump. */
502#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL) 488#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)