diff options
author | tb <> | 2023-08-09 09:23:03 +0000 |
---|---|---|
committer | tb <> | 2023-08-09 09:23:03 +0000 |
commit | fb26e3d813e4ccd04c6d557d46d14abf011c4641 (patch) | |
tree | 797f17896c37c12a04247ce5f49fb5c828bb2f3d /src/lib/libcrypto/bn/bn_local.h | |
parent | 41d4e0ff7ca56d4526056b45876cfa80a4d37e4a (diff) | |
download | openbsd-fb26e3d813e4ccd04c6d557d46d14abf011c4641.tar.gz openbsd-fb26e3d813e4ccd04c6d557d46d14abf011c4641.tar.bz2 openbsd-fb26e3d813e4ccd04c6d557d46d14abf011c4641.zip |
Move bn_blind.c to rsa_blinding.c
discussed with jsing
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/bn/bn_local.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/bn/bn_local.h b/src/lib/libcrypto/bn/bn_local.h index 4269f80156..a9ce466db3 100644 --- a/src/lib/libcrypto/bn/bn_local.h +++ b/src/lib/libcrypto/bn/bn_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_local.h,v 1.37 2023/08/09 09:20:00 tb Exp $ */ | 1 | /* $OpenBSD: bn_local.h,v 1.38 2023/08/09 09:23:03 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 | * |
@@ -292,14 +292,6 @@ int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |||
292 | int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, | 292 | int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, |
293 | BN_RECP_CTX *recp, BN_CTX *ctx); | 293 | BN_RECP_CTX *recp, BN_CTX *ctx); |
294 | 294 | ||
295 | BN_BLINDING *BN_BLINDING_new(const BIGNUM *e, const BIGNUM *mod, BN_CTX *ctx, | ||
296 | int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | ||
297 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx); | ||
298 | void BN_BLINDING_free(BN_BLINDING *b); | ||
299 | int BN_BLINDING_convert(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *); | ||
300 | int BN_BLINDING_invert(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *); | ||
301 | CRYPTO_THREADID *BN_BLINDING_thread_id(BN_BLINDING *); | ||
302 | |||
303 | /* Explicitly const time / non-const time versions for internal use */ | 295 | /* Explicitly const time / non-const time versions for internal use */ |
304 | int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | 296 | int BN_mod_exp_ct(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, |
305 | const BIGNUM *m, BN_CTX *ctx); | 297 | const BIGNUM *m, BN_CTX *ctx); |