summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/bn.h
diff options
context:
space:
mode:
authortb <>2024-03-02 09:24:59 +0000
committertb <>2024-03-02 09:24:59 +0000
commit5c948777cac23e8035e04e3971d7b5a676652af6 (patch)
tree89f8d7085a178d2059b43cba1c1809f147cc1431 /src/lib/libcrypto/hidden/openssl/bn.h
parent28e50f56084f402001d1ee8df4967be93ce296e1 (diff)
downloadopenbsd-5c948777cac23e8035e04e3971d7b5a676652af6.tar.gz
openbsd-5c948777cac23e8035e04e3971d7b5a676652af6.tar.bz2
openbsd-5c948777cac23e8035e04e3971d7b5a676652af6.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.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);