Searched refs:minus_p (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/smp/ |
D | p_256_ecc_pp.cc | 198 Point minus_p; in ECC_PointMult_Bin_NAF() local 212 multiprecision_copy(minus_p.x, p->x); in ECC_PointMult_Bin_NAF() 213 multiprecision_sub(minus_p.y, modp, p->y); in ECC_PointMult_Bin_NAF() 215 multiprecision_init(minus_p.z); in ECC_PointMult_Bin_NAF() 216 minus_p.z[0] = 1; in ECC_PointMult_Bin_NAF() 232 ECC_Add(q, &r, &minus_p); in ECC_PointMult_Bin_NAF() 236 multiprecision_inv_mod(minus_p.x, q->z); in ECC_PointMult_Bin_NAF() 237 multiprecision_mersenns_squa_mod(q->z, minus_p.x); in ECC_PointMult_Bin_NAF() 239 multiprecision_mersenns_mult_mod(q->z, q->z, minus_p.x); in ECC_PointMult_Bin_NAF()
|
/system/bt/gd/security/ecc/ |
D | p_256_ecc_pp.cc | 203 Point minus_p; in ECC_PointMult_Bin_NAF() local 212 multiprecision_copy(minus_p.x, p->x); in ECC_PointMult_Bin_NAF() 213 multiprecision_sub(minus_p.y, modp, p->y); in ECC_PointMult_Bin_NAF() 215 multiprecision_init(minus_p.z); in ECC_PointMult_Bin_NAF() 216 minus_p.z[0] = 1; in ECC_PointMult_Bin_NAF() 232 ECC_Add(q, &r, &minus_p); in ECC_PointMult_Bin_NAF() 236 multiprecision_inv_mod(minus_p.x, q->z, modp); in ECC_PointMult_Bin_NAF() 237 multiprecision_mersenns_squa_mod(q->z, minus_p.x, modp); in ECC_PointMult_Bin_NAF() 239 multiprecision_mersenns_mult_mod(q->z, q->z, minus_p.x, modp); in ECC_PointMult_Bin_NAF()
|