Lines Matching defs:factor
187 * that the blinding factor must be stored outside the BN_BLINDING
207 * Local blinding: store the unblinding factor in BN_BLINDING.
212 * Shared blinding: store the unblinding factor outside BN_BLINDING.
231 * will use the unblinding factor stored in BN_BLINDING. If BN_BLINDING
233 * BN_BLINDING_invert_ex will then use the local unblinding factor, and
253 * the unblinding factor outside the blinding structure.
385 * the unblinding factor outside the blinding structure.
636 BIGNUM *factor = BN_new();
638 if (factor == NULL)
645 if (!(BN_with_flags(factor, rsa->p, BN_FLG_CONSTTIME),
647 factor, ctx))
648 || !(BN_with_flags(factor, rsa->q, BN_FLG_CONSTTIME),
650 factor, ctx))) {
651 BN_free(factor);
657 BN_with_flags(factor, pinfo->r, BN_FLG_CONSTTIME);
658 if (!BN_MONT_CTX_set_locked(&pinfo->m, rsa->lock, factor, ctx)) {
659 BN_free(factor);
665 * We MUST free |factor| before any further use of the prime factors
667 BN_free(factor);