Home
last modified time | relevance | path

Searched refs:BN_BLINDING (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/rsa/
Dinternal.h77 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
78 void BN_BLINDING_free(BN_BLINDING *b);
79 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
80 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
81 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
82 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
83 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
84 unsigned long BN_BLINDING_get_flags(const BN_BLINDING *);
85 void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long);
86 BN_BLINDING *BN_BLINDING_create_param(
[all …]
Dblinding.c135 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) { in BN_BLINDING_new()
136 BN_BLINDING *ret = NULL; in BN_BLINDING_new()
138 ret = (BN_BLINDING*) OPENSSL_malloc(sizeof(BN_BLINDING)); in BN_BLINDING_new()
143 memset(ret, 0, sizeof(BN_BLINDING)); in BN_BLINDING_new()
177 void BN_BLINDING_free(BN_BLINDING *r) { in BN_BLINDING_free()
189 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_update()
225 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_convert()
229 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_convert_ex()
257 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_invert()
261 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, in BN_BLINDING_invert_ex()
[all …]
Drsa_impl.c210 static BN_BLINDING *rsa_blinding_get(RSA *rsa, unsigned *index_used, in rsa_blinding_get()
212 BN_BLINDING *ret = NULL; in rsa_blinding_get()
213 BN_BLINDING **new_blindings; in rsa_blinding_get()
255 OPENSSL_malloc(sizeof(BN_BLINDING *) * (rsa->num_blindings + 1)); in rsa_blinding_get()
260 sizeof(BN_BLINDING *) * rsa->num_blindings); in rsa_blinding_get()
291 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release()
526 BN_BLINDING *blinding = NULL; in private_transform()
/external/boringssl/src/include/openssl/
Drsa.h461 typedef struct bn_blinding_st BN_BLINDING; typedef
496 BN_BLINDING **blindings;