diff options
author | tb <> | 2024-03-02 09:24:59 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 09:24:59 +0000 |
commit | 2309a3f36e13452642a7ad2ed127e96ed774e1c5 (patch) | |
tree | 89f8d7085a178d2059b43cba1c1809f147cc1431 /src/lib/libcrypto/hidden/openssl/bn.h | |
parent | 2c5808653fa0d563b5f341caa86dd3f3acc8f5cc (diff) | |
download | openbsd-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/bn.h')
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/bn.h | 3 |
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); | |||
99 | LCRYPTO_USED(BN_mod_exp_mont_consttime); | 99 | LCRYPTO_USED(BN_mod_exp_mont_consttime); |
100 | LCRYPTO_USED(BN_mod_exp_mont_word); | 100 | LCRYPTO_USED(BN_mod_exp_mont_word); |
101 | LCRYPTO_USED(BN_mod_exp2_mont); | 101 | LCRYPTO_USED(BN_mod_exp2_mont); |
102 | LCRYPTO_USED(BN_mod_exp_simple); | ||
103 | LCRYPTO_USED(BN_mask_bits); | 102 | LCRYPTO_USED(BN_mask_bits); |
104 | LCRYPTO_USED(BN_print_fp); | 103 | LCRYPTO_USED(BN_print_fp); |
105 | LCRYPTO_USED(BN_print); | 104 | LCRYPTO_USED(BN_print); |