summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa_local.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/rsa/rsa_local.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_local.h b/src/lib/libcrypto/rsa/rsa_local.h
index e4c3040b6f..30d18bfa92 100644
--- a/src/lib/libcrypto/rsa/rsa_local.h
+++ b/src/lib/libcrypto/rsa/rsa_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_local.h,v 1.4 2023/07/28 10:05:16 tb Exp $ */ 1/* $OpenBSD: rsa_local.h,v 1.5 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 *
@@ -153,6 +153,13 @@ int RSA_padding_check_X931(unsigned char *to, int tlen,
153 const unsigned char *f, int fl, int rsa_len); 153 const unsigned char *f, int fl, int rsa_len);
154int RSA_X931_hash_id(int nid); 154int RSA_X931_hash_id(int nid);
155 155
156BN_BLINDING *BN_BLINDING_new(const BIGNUM *e, const BIGNUM *mod, BN_CTX *ctx,
157 int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
158 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx), BN_MONT_CTX *m_ctx);
159void BN_BLINDING_free(BN_BLINDING *b);
160int BN_BLINDING_convert(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
161int BN_BLINDING_invert(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
162CRYPTO_THREADID *BN_BLINDING_thread_id(BN_BLINDING *);
156BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx); 163BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
157 164
158__END_HIDDEN_DECLS 165__END_HIDDEN_DECLS