summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_blind.c
diff options
context:
space:
mode:
authortb <>2023-08-02 08:34:42 +0000
committertb <>2023-08-02 08:34:42 +0000
commit069a91213b3a3ad975d793aa49627a929ba333d0 (patch)
tree0d8b47bdf26d9aa34aef7ff308786771e0f1ab71 /src/lib/libcrypto/bn/bn_blind.c
parentea86a9248c5099628edccbed545fed2a94388737 (diff)
downloadopenbsd-069a91213b3a3ad975d793aa49627a929ba333d0.tar.gz
openbsd-069a91213b3a3ad975d793aa49627a929ba333d0.tar.bz2
openbsd-069a91213b3a3ad975d793aa49627a929ba333d0.zip
Make BN_BLINDING_{new,update}() static in bn_blind.c
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bn/bn_blind.c')
-rw-r--r--src/lib/libcrypto/bn/bn_blind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/bn_blind.c b/src/lib/libcrypto/bn/bn_blind.c
index 6c434bef06..3132d22a07 100644
--- a/src/lib/libcrypto/bn/bn_blind.c
+++ b/src/lib/libcrypto/bn/bn_blind.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_blind.c,v 1.27 2023/08/02 08:31:12 tb Exp $ */ 1/* $OpenBSD: bn_blind.c,v 1.28 2023/08/02 08:34:42 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -131,7 +131,7 @@ struct bn_blinding_st {
131 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); 131 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
132}; 132};
133 133
134BN_BLINDING * 134static BN_BLINDING *
135BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) 135BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod)
136{ 136{
137 BN_BLINDING *ret = NULL; 137 BN_BLINDING *ret = NULL;
@@ -182,7 +182,7 @@ BN_BLINDING_free(BN_BLINDING *r)
182 free(r); 182 free(r);
183} 183}
184 184
185int 185static int
186BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) 186BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
187{ 187{
188 int ret = 0; 188 int ret = 0;