Lines Matching refs:modulo
1124 * congruent to $a^{(b-1)/2}$, modulo $b$ (Legendre symbol). So we
2819 BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
2825 || !TEST_true(BN_dec2bn(&modulo, test->mod)))
2828 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
2844 BN_free(modulo);
2853 BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
2859 || !TEST_true(BN_dec2bn(&modulo, test->mod)))
2864 BN_set_flags(modulo, BN_FLG_CONSTTIME);
2866 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
2882 BN_free(modulo);