Lines Matching defs:val1
26 BIGNUM *val1[TABLE_SIZE], *val2[TABLE_SIZE];
51 val1[0] = BN_CTX_get(ctx);
69 * Build table for a1: val1[i] := a1^(2*i + 1) mod m for i = 0 .. 2^(window1-1)
72 if (!BN_mod(val1[0], a1, m, ctx))
74 a_mod_m = val1[0];
83 if (!BN_to_montgomery(val1[0], a_mod_m, mont, ctx))
86 if (!BN_mod_mul_montgomery(d, val1[0], val1[0], mont, ctx))
91 if (((val1[i] = BN_CTX_get(ctx)) == NULL) ||
92 !BN_mod_mul_montgomery(val1[i], val1[i - 1], d, mont, ctx))
178 if (!BN_mod_mul_montgomery(r, r, val1[wvalue1 >> 1], mont, ctx))