summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bn/bn_local.h')
-rw-r--r--src/lib/libcrypto/bn/bn_local.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bn/bn_local.h b/src/lib/libcrypto/bn/bn_local.h
index 58b5d54903..bfdff56b0e 100644
--- a/src/lib/libcrypto/bn/bn_local.h
+++ b/src/lib/libcrypto/bn/bn_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_local.h,v 1.43 2024/04/16 13:07:14 jsing Exp $ */ 1/* $OpenBSD: bn_local.h,v 1.44 2025/01/06 12:35:27 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 *
@@ -280,8 +280,6 @@ int bn_rand_interval(BIGNUM *rnd, BN_ULONG lower_word, const BIGNUM *upper_exc);
280 280
281void BN_init(BIGNUM *); 281void BN_init(BIGNUM *);
282 282
283int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
284
285void BN_RECP_CTX_init(BN_RECP_CTX *recp); 283void BN_RECP_CTX_init(BN_RECP_CTX *recp);
286BN_RECP_CTX *BN_RECP_CTX_new(void); 284BN_RECP_CTX *BN_RECP_CTX_new(void);
287void BN_RECP_CTX_free(BN_RECP_CTX *recp); 285void BN_RECP_CTX_free(BN_RECP_CTX *recp);
@@ -290,8 +288,6 @@ int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
290 BN_RECP_CTX *recp, BN_CTX *ctx); 288 BN_RECP_CTX *recp, BN_CTX *ctx);
291int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 289int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
292 const BIGNUM *m, BN_CTX *ctx); 290 const BIGNUM *m, BN_CTX *ctx);
293int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
294 BN_RECP_CTX *recp, BN_CTX *ctx);
295 291
296/* Explicitly const time / non-const time versions for internal use */ 292/* Explicitly const time / non-const time versions for internal use */
297int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 293int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,