Searched refs:BN_BLINDING (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.0-release/crypto/openssl/crypto/bn/
H A Dbn_blind.c137 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod)
139 BN_BLINDING *ret=NULL;
143 if ((ret=(BN_BLINDING *)OPENSSL_malloc(sizeof(BN_BLINDING))) == NULL)
148 memset(ret,0,sizeof(BN_BLINDING));
158 /* save a copy of mod in the BN_BLINDING structure */
174 void BN_BLINDING_free(BN_BLINDING *r)
186 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
219 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
224 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *
[all...]
H A Dbn.h312 typedef struct bn_blinding_st BN_BLINDING;
588 /* BN_BLINDING flags */
592 BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
593 void BN_BLINDING_free(BN_BLINDING *b);
594 int BN_BLINDING_update(BN_BLINDING *b,BN_CTX *ctx);
595 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
596 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
597 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
598 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *);
600 unsigned long BN_BLINDING_get_thread_id(const BN_BLINDING *);
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/rsa/
H A Drsa_crpt.c190 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *in_ctx)
195 BN_BLINDING *ret = NULL;
H A Drsa.h159 BN_BLINDING *blinding;
160 BN_BLINDING *mt_blinding;
378 BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
H A Drsa_eay.c255 static BN_BLINDING *rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx)
257 BN_BLINDING *ret;
289 * that the BN_BLINDING is shared, meaning that accesses
291 * stored outside the BN_BLINDING
317 static int rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind,
322 * in BN_BLINDING. */
327 * outside BN_BLINDING. */
336 static int rsa_blinding_invert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind,
340 * will use the unblinding factor stored in BN_BLINDING.
341 * If BN_BLINDING i
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/
H A Dossl_typ.h120 typedef struct bn_blinding_st BN_BLINDING; typedef in typeref:struct:bn_blinding_st

Completed in 201 milliseconds