Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Dinternal.h97 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
98 void BN_BLINDING_free(BN_BLINDING *b);
99 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
100 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
101 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
102 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
103 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
104 unsigned long BN_BLINDING_get_flags(const BN_BLINDING *);
105 void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long);
106 BN_BLINDING *BN_BLINDING_create_param(
[all …]
Dblinding.c137 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod) { in BN_BLINDING_new()
138 BN_BLINDING *ret = NULL; in BN_BLINDING_new()
140 ret = (BN_BLINDING*) OPENSSL_malloc(sizeof(BN_BLINDING)); in BN_BLINDING_new()
145 memset(ret, 0, sizeof(BN_BLINDING)); in BN_BLINDING_new()
179 void BN_BLINDING_free(BN_BLINDING *r) { in BN_BLINDING_free()
191 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_update()
227 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_convert()
231 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_convert_ex()
259 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) { in BN_BLINDING_invert()
263 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, in BN_BLINDING_invert_ex()
[all …]
Drsa_impl.c200 static BN_BLINDING *rsa_blinding_get(RSA *rsa, unsigned *index_used, in rsa_blinding_get()
202 BN_BLINDING *ret = NULL; in rsa_blinding_get()
203 BN_BLINDING **new_blindings; in rsa_blinding_get()
245 OPENSSL_malloc(sizeof(BN_BLINDING *) * (rsa->num_blindings + 1)); in rsa_blinding_get()
250 sizeof(BN_BLINDING *) * rsa->num_blindings); in rsa_blinding_get()
281 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release()
530 BN_BLINDING *blinding = NULL; in rsa_default_private_transform()
/external/boringssl/src/include/openssl/
Drsa.h545 typedef struct bn_blinding_st BN_BLINDING; typedef
581 BN_BLINDING **blindings;