Searched refs:field_mul (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Decp_smpl.c126 * are used, the field_mul and field_sqr methods will be used for
613 /* in the Montgomery case, field_mul will cancel out Montgomery factor in X: */
614 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) goto err;
621 /* field_mul works on standard representation */
622 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) goto err;
629 /* in the Montgomery case, field_mul will cancel out Montgomery factor in Y: */
630 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) goto err;
645 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
659 field_mul = group->meth->field_mul;
[all...]
H A Dec2_mult.c96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err;
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err;
128 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err;
129 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err;
130 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err;
133 if (!group->meth->field_mul(group, x1, z1, t1, ctx)) goto err;
181 if (!group->meth->field_mul(group, t3, z1, z2, ctx)) goto err;
183 if (!group->meth->field_mul(group, z1, z1, x, ctx)) goto err;
185 if (!group->meth->field_mul(group, z2, z2, x, ctx)) goto err;
186 if (!group->meth->field_mul(grou
[all...]
H A Dec2_smpl.c503 if (!group->meth->field_mul(group, y2, y2, s, ctx)) goto err;
555 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
561 field_mul = group->meth->field_mul;
585 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err;
587 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err;
H A Decp_oct.c107 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) goto err;
131 /* field_mul works on standard representation */
132 if (!group->meth->field_mul(group, tmp2, &group->a, x, ctx)) goto err;
H A Dec2_oct.c142 if (!group->meth->field_mul(group, y, x, z, ctx)) goto err;
H A Dec_lcl.h169 /* 'field_mul', 'field_sqr', and 'field_div' can be used by 'add' and 'dbl' so that
172 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *); member in struct:ec_method_st
/external/openssl/crypto/ec/
H A Decp_smpl.c126 * are used, the field_mul and field_sqr methods will be used for
613 /* in the Montgomery case, field_mul will cancel out Montgomery factor in X: */
614 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) goto err;
621 /* field_mul works on standard representation */
622 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) goto err;
629 /* in the Montgomery case, field_mul will cancel out Montgomery factor in Y: */
630 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) goto err;
645 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
659 field_mul = group->meth->field_mul;
[all...]
H A Dec2_mult.c96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err;
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err;
128 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err;
129 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err;
130 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err;
133 if (!group->meth->field_mul(group, x1, z1, t1, ctx)) goto err;
181 if (!group->meth->field_mul(group, t3, z1, z2, ctx)) goto err;
183 if (!group->meth->field_mul(group, z1, z1, x, ctx)) goto err;
185 if (!group->meth->field_mul(group, z2, z2, x, ctx)) goto err;
186 if (!group->meth->field_mul(grou
[all...]
H A Dec2_smpl.c503 if (!group->meth->field_mul(group, y2, y2, s, ctx)) goto err;
555 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *);
561 field_mul = group->meth->field_mul;
585 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err;
587 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err;
H A Decp_oct.c107 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) goto err;
131 /* field_mul works on standard representation */
132 if (!group->meth->field_mul(group, tmp2, &group->a, x, ctx)) goto err;
H A Dec2_oct.c142 if (!group->meth->field_mul(group, y, x, z, ctx)) goto err;
H A Dec_lcl.h169 /* 'field_mul', 'field_sqr', and 'field_div' can be used by 'add' and 'dbl' so that
172 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *); member in struct:ec_method_st

Completed in 219 milliseconds