Home | History | Annotate | Download | only in test

Lines Matching defs:modulo

1154      * congruent to $a^{(b-1)/2}$, modulo $b$ (Legendre symbol). So we
3096 BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
3102 || !TEST_true(BN_dec2bn(&modulo, test->mod)))
3105 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
3121 BN_free(modulo);
3130 BIGNUM *base = NULL, *exponent = NULL, *modulo = NULL;
3136 || !TEST_true(BN_dec2bn(&modulo, test->mod)))
3141 BN_set_flags(modulo, BN_FLG_CONSTTIME);
3143 if (!TEST_int_eq(BN_mod_exp(result, base, exponent, modulo, ctx), 1))
3159 BN_free(modulo);