summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_mont.c
diff options
context:
space:
mode:
authortb <>2023-04-25 17:20:24 +0000
committertb <>2023-04-25 17:20:24 +0000
commitaa06d7ad77065baccf6e34cfea8c5e8a2debb237 (patch)
treeae0ed0dfe9a192cbc8daea9b76558f61aeec8af2 /src/lib/libcrypto/bn/bn_mont.c
parent0485b37a1da5a757c20fec04ad0e945f556bfffc (diff)
downloadopenbsd-aa06d7ad77065baccf6e34cfea8c5e8a2debb237.tar.gz
openbsd-aa06d7ad77065baccf6e34cfea8c5e8a2debb237.tar.bz2
openbsd-aa06d7ad77065baccf6e34cfea8c5e8a2debb237.zip
Remove the no longer used BN_MONT_CTX_init()
Diffstat (limited to 'src/lib/libcrypto/bn/bn_mont.c')
-rw-r--r--src/lib/libcrypto/bn/bn_mont.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/libcrypto/bn/bn_mont.c b/src/lib/libcrypto/bn/bn_mont.c
index 26b9a6f64d..f6ca5a34f1 100644
--- a/src/lib/libcrypto/bn/bn_mont.c
+++ b/src/lib/libcrypto/bn/bn_mont.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_mont.c,v 1.57 2023/04/22 14:31:44 jsing Exp $ */ 1/* $OpenBSD: bn_mont.c,v 1.58 2023/04/25 17:20:24 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 *
@@ -139,15 +139,6 @@ BN_MONT_CTX_new(void)
139} 139}
140 140
141void 141void
142BN_MONT_CTX_init(BN_MONT_CTX *mctx)
143{
144 memset(mctx, 0, sizeof(*mctx));
145
146 BN_init(&mctx->RR);
147 BN_init(&mctx->N);
148}
149
150void
151BN_MONT_CTX_free(BN_MONT_CTX *mctx) 142BN_MONT_CTX_free(BN_MONT_CTX *mctx)
152{ 143{
153 if (mctx == NULL) 144 if (mctx == NULL)