summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl
diff options
context:
space:
mode:
authortb <>2024-03-02 09:24:59 +0000
committertb <>2024-03-02 09:24:59 +0000
commit2309a3f36e13452642a7ad2ed127e96ed774e1c5 (patch)
tree89f8d7085a178d2059b43cba1c1809f147cc1431 /src/lib/libcrypto/hidden/openssl
parent2c5808653fa0d563b5f341caa86dd3f3acc8f5cc (diff)
downloadopenbsd-2309a3f36e13452642a7ad2ed127e96ed774e1c5.tar.gz
openbsd-2309a3f36e13452642a7ad2ed127e96ed774e1c5.tar.bz2
openbsd-2309a3f36e13452642a7ad2ed127e96ed774e1c5.zip
Make BN_mod_exp_simple() internal
This function is very slow and useful for testing purposes only. It should never have been part of the public API. Remove it from there. ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl')
-rw-r--r--src/lib/libcrypto/hidden/openssl/bn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/bn.h b/src/lib/libcrypto/hidden/openssl/bn.h
index 9942cf6fc7..1aa5b10d9d 100644
--- a/src/lib/libcrypto/hidden/openssl/bn.h
+++ b/src/lib/libcrypto/hidden/openssl/bn.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn.h,v 1.4 2023/07/29 03:13:38 tb Exp $ */ 1/* $OpenBSD: bn.h,v 1.5 2024/03/02 09:24:59 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -99,7 +99,6 @@ LCRYPTO_USED(BN_exp);
99LCRYPTO_USED(BN_mod_exp_mont_consttime); 99LCRYPTO_USED(BN_mod_exp_mont_consttime);
100LCRYPTO_USED(BN_mod_exp_mont_word); 100LCRYPTO_USED(BN_mod_exp_mont_word);
101LCRYPTO_USED(BN_mod_exp2_mont); 101LCRYPTO_USED(BN_mod_exp2_mont);
102LCRYPTO_USED(BN_mod_exp_simple);
103LCRYPTO_USED(BN_mask_bits); 102LCRYPTO_USED(BN_mask_bits);
104LCRYPTO_USED(BN_print_fp); 103LCRYPTO_USED(BN_print_fp);
105LCRYPTO_USED(BN_print); 104LCRYPTO_USED(BN_print);