Home | History | Annotate | Download | only in bn

Lines Matching defs:mont

130 	const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont);
250 BN_MONT_CTX *mont = NULL;
314 mont = BN_MONT_CTX_new();
315 if (mont == NULL)
317 if (!BN_MONT_CTX_set(mont, A, ctx))
328 j = witness(check, A, A1, A1_odd, k, ctx, mont);
346 if (mont != NULL)
347 BN_MONT_CTX_free(mont);
353 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont)
355 if (!BN_mod_exp_mont(w, w, a1_odd, a, ctx, mont)) /* w := w^a1_odd mod a */