Lines Matching defs:modulo
1132 * congruent to $a^{(b-1)/2}$, modulo $b$ (Legendre symbol). So we
2827 BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
2833 || !TEST_true(BN_dec2bn(&modulo, test->mod)))
2836 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
2852 BN_free(modulo);
2861 BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
2867 || !TEST_true(BN_dec2bn(&modulo, test->mod)))
2872 BN_set_flags(modulo, BN_FLG_CONSTTIME);
2874 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
2890 BN_free(modulo);