BN_mod_mul
if (!BN_mod_mul(b->A, b->A, b->A, b->mod, ctx))
if (!BN_mod_mul(b->Ai, b->Ai, b->Ai, b->mod, ctx))
if (!BN_mod_mul(n, n,b->A, b->mod, ctx))
ret = BN_mod_mul(n, n, r, b->mod, ctx);
ret = BN_mod_mul(n, n, b->Ai, b->mod, ctx);
if (!BN_mod_mul(U, U, V, n, ctx))
if (!BN_mod_mul(d, val[0], val[0], m, ctx))
!BN_mod_mul(val[i], val[i - 1], d,m, ctx))
if (!BN_mod_mul(r, r, r, m, ctx))
if (!BN_mod_mul(r, r, r, m, ctx))
if (!BN_mod_mul(r, r, val[wvalue >> 1], m, ctx))
if (!BN_mod_mul(w, w, w, a, ctx)) /* w := w^2 mod a */
if (!BN_mod_mul(t, t, y, p, ctx))
if (!BN_mod_mul(x, A, b, p, ctx))
if (!BN_mod_mul(x, x, t, p, ctx))
if (!BN_mod_mul(b, b, A, p, ctx))
if (!BN_mod_mul(x, x, A, p, ctx))
if (!BN_mod_mul(y, t, t, p, ctx))
if (!BN_mod_mul(x, x, t, p, ctx))
if (!BN_mod_mul(b, b, y, p, ctx))
if (!BN_mod_mul(&bxr, &b, dsa->priv_key, dsa->q, ctx)) /* bx */
if (!BN_mod_mul(&bxr, &bxr, r, dsa->q, ctx)) /* bxr */
if (!BN_mod_mul(&bm, &b, &m, dsa->q, ctx)) /* bm */
if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) /* s = b(m + xr)k^-1 */
if (!BN_mod_mul(s, s, &binv, dsa->q, ctx)) /* s = (m + xr)k^-1 */
if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx))
if (!BN_mod_mul(&u2, sig->r, &u2, dsa->q, ctx))
if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx))
if (!BN_mod_mul(tmp2, tmp2, x, &group->field, ctx))
return BN_mod_mul(r, a, b, &group->field, ctx);
if (!BN_mod_mul(tmp_2, tmp_1, a, p, ctx))
if (!BN_mod_mul(Z_3, Z_2, Z_1, &group->field, ctx))
if (!BN_mod_mul(bxr, b, priv_key, order, ctx)) { /* bx */
if (!BN_mod_mul(bxr, bxr, ret->r, order, ctx)) { /* bxr */
if (!BN_mod_mul(bm, b, m, order, ctx)) { /* bm */
if (!BN_mod_mul(s, s, ckinv, order, ctx)) { /* s = b(m + xr)k^-1 */
if (!BN_mod_mul(s, s, binv, order, ctx)) { /* s = (m + xr)k^-1 */
if (!BN_mod_mul(u1, m, u2, order, ctx)) { /* u1 = mw */
if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) { /* u2 = rw */
if (BN_mod_mul(tmp, priv_key, r, order, ctx) == 0)
if (BN_mod_mul(tmp2, k, e, order, ctx) == 0)
if (BN_mod_mul(z1, sig->s, v, order, ctx) == 0)
if (BN_mod_mul(z2, tmp, v, order, ctx) == 0)
if (BN_mod_mul(p, key, ukm, order, ctx) == 0)
r = BN_mod_mul(i, key->d, key->e, k, ctx);
int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,