/external/chromium_org/third_party/boringssl/src/crypto/ec/ |
simple.c | 123 * standard modular addition and subtraction are used, the field_mul and 578 /* in the Montgomery case, field_mul will cancel out Montgomery factor in 580 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) 586 /* field_mul works on standard representation */ 587 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) 594 /* in the Montgomery case, field_mul will cancel out Montgomery factor in 596 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) 612 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, 627 field_mul = group->meth->field_mul; [all...] |
oct.c | 374 !group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) { 398 /* field_mul works on standard representation */ 399 if (!group->meth->field_mul(group, tmp2, &group->a, x, ctx)) {
|
internal.h | 173 /* 'field_mul', 'field_sqr', and 'field_div' can be used by 'add' and 'dbl' 176 int (*field_mul)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, member in struct:ec_method_st
|
/external/openssl/crypto/ec/ |
ecp_smpl.c | 127 * are used, the field_mul and field_sqr methods will be used for 614 /* in the Montgomery case, field_mul will cancel out Montgomery factor in X: */ 615 if (!group->meth->field_mul(group, x, &point->X, Z_2, ctx)) goto err; 622 /* field_mul works on standard representation */ 623 if (!group->meth->field_mul(group, Z_3, Z_2, Z_1, ctx)) goto err; 630 /* in the Montgomery case, field_mul will cancel out Montgomery factor in Y: */ 631 if (!group->meth->field_mul(group, y, &point->Y, Z_3, ctx)) goto err; 646 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); 660 field_mul = group->meth->field_mul; [all...] |
ec2_mult.c | 96 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(group, x1, z2, x1, ctx)) goto err [all...] |
ec2_smpl.c | 504 if (!group->meth->field_mul(group, y2, y2, s, ctx)) goto err; 556 int (*field_mul)(const EC_GROUP *, BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *); 562 field_mul = group->meth->field_mul; 586 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err; 588 if (!field_mul(group, lh, lh, &point->X, ctx)) goto err;
|
ecp_oct.c | 107 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;
|
ec2_oct.c | 142 if (!group->meth->field_mul(group, y, x, z, ctx)) goto err;
|
ec_lcl.h | 169 /* '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
|