BN_mod_mul
int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
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))
LCRYPTO_ALIAS(BN_mod_mul);
return BN_mod_mul(r, a, a, m, ctx);
if (!BN_mod_mul(i, tmp, i, p, ctx))
if (!BN_mod_mul(out_sqrt, a, b, p, ctx))
if (!BN_mod_mul(out_sqrt, out_sqrt, i, p, ctx))
if (!BN_mod_mul(b, a, b, p, ctx))
if (!BN_mod_mul(x, a, x, 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(y, y, x, p, ctx))
if (!BN_mod_mul(w, a, x, p, ctx))
if (!BN_mod_mul(discriminant, discriminant, a, p, ctx))
if (!BN_mod_mul(x, point->X, zinv, group->p, ctx))
if (!BN_mod_mul(y, point->Y, zinv, group->p, ctx))
if (!BN_mod_mul(prod_Z[i], prod_Z[i - 1], points[i]->Z,
if (!BN_mod_mul(tmp_Z, prod_Z[i - 1], tmp, group->p, ctx))
if (!BN_mod_mul(tmp, tmp, points[i]->Z, group->p, ctx))
if (!BN_mod_mul(p->X, p->X, p->Z, group->p, ctx))
if (!BN_mod_mul(p->Y, p->Y, p->Z, group->p, ctx))
return BN_mod_mul(r, a, b, group->p, ctx);
if (!BN_mod_mul(Z_3, Z_2, Z_1, group->p, ctx))
if (!BN_mod_mul(bxr, b, priv_key, order, ctx)) {
if (!BN_mod_mul(bxr, bxr, r, order, ctx)) {
if (!BN_mod_mul(be, b, e, order, ctx)) {
if (!BN_mod_mul(s, s, kinv, order, ctx)) {
if (!BN_mod_mul(s, s, binv, order, ctx)) {
if (!BN_mod_mul(u, e, sinv, order, ctx)) {
if (!BN_mod_mul(v, sig->r, sinv, order, ctx)) {
LCRYPTO_USED(BN_mod_mul);
ret = BN_mod_mul(n, n, b->A, b->mod, ctx);
return BN_mod_mul(n, n, inv, b->mod, ctx);
r = BN_mod_mul(i, key->d, key->e, k, ctx);
if (!BN_mod_mul(tmp, dA, r, order, ctx)) {
if (!BN_mod_mul(s, s, tmp, order, ctx)) {
if (!BN_mod_mul(out, fact1, fact2, m, ctx))
CHECK_GOTO(BN_mod_mul(d, a, b, n, ctx));
if (BN_mod_mul(e, a, b, c, ctx)) {
if (!BN_mod_mul(e, a, b, c, ctx)) {
if (!BN_mod_mul(r, r, b, p, ctx))
if (!BN_mod_mul(a, a, b, p, ctx))