Home
last modified time | relevance | path

Searched refs:z1 (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/smp/
Dp_256_ecc_pp.c53 DWORD *z1; in ECC_Double() local
62 x1=p->x; y1=p->y; z1=p->z; in ECC_Double()
65 multiprecision_mersenns_squa_mod(t1, z1, keyLength); // t1=z1^2 in ECC_Double()
72 multiprecision_mersenns_mult_mod(z3, y1, z1, keyLength); // z3=y1*z1 in ECC_Double()
101 DWORD *z1; in ECC_Add() local
105 x1=p->x; y1=p->y; z1=p->z; in ECC_Add()
117 if (multiprecision_iszero(z1, keyLength)) in ECC_Add()
123 multiprecision_mersenns_squa_mod(t1, z1, keyLength); // t1=z1^2 in ECC_Add()
124 multiprecision_mersenns_mult_mod(t2, z1, t1, keyLength); // t2=t1*z1 in ECC_Add()
145 multiprecision_mersenns_mult_mod(z3, z1, t1, keyLength); // z3=z1*t1 in ECC_Add()
[all …]
/system/core/libmincrypt/
Dp256_ec.c842 const felem x1, const felem y1, const felem z1, in point_add_mixed() argument
846 felem_square(z1z1, z1); in point_add_mixed()
847 felem_sum(tmp, z1, z1); in point_add_mixed()
850 felem_mul(z1z1z1, z1, z1z1); in point_add_mixed()
880 const felem y1, const felem z1, const felem x2, in point_add() argument
884 felem_square(z1z1, z1); in point_add()
888 felem_sum(tmp, z1, z2); in point_add()
897 felem_mul(z1z1z1, z1, z1z1); in point_add()
928 const felem z1, const felem x2, const felem y2, const felem z2) { in point_add_or_double_vartime() argument
932 felem_square(z1z1, z1); in point_add_or_double_vartime()
[all …]