From 2309a3f36e13452642a7ad2ed127e96ed774e1c5 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 09:24:59 +0000 Subject: 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 --- src/lib/libcrypto/hidden/openssl/bn.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libcrypto/hidden/openssl/bn.h') 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 @@ -/* $OpenBSD: bn.h,v 1.4 2023/07/29 03:13:38 tb Exp $ */ +/* $OpenBSD: bn.h,v 1.5 2024/03/02 09:24:59 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -99,7 +99,6 @@ LCRYPTO_USED(BN_exp); LCRYPTO_USED(BN_mod_exp_mont_consttime); LCRYPTO_USED(BN_mod_exp_mont_word); LCRYPTO_USED(BN_mod_exp2_mont); -LCRYPTO_USED(BN_mod_exp_simple); LCRYPTO_USED(BN_mask_bits); LCRYPTO_USED(BN_print_fp); LCRYPTO_USED(BN_print); -- cgit v1.2.3-55-g6feb