Searched refs:modp (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/smp/ |
D | p_256_multprecision.cc | 115 uint32_t* modp; in multiprecision_lshift_mod() local 118 modp = curve.p; in multiprecision_lshift_mod() 120 modp = curve_p256.p; in multiprecision_lshift_mod() 126 multiprecision_sub(c, c, modp, keyLength); in multiprecision_lshift_mod() 127 } else if (multiprecision_compare(c, modp, keyLength) >= 0) { in multiprecision_lshift_mod() 128 multiprecision_sub(c, c, modp, keyLength); in multiprecision_lshift_mod() 172 uint32_t* modp; in multiprecision_add_mod() local 175 modp = curve.p; in multiprecision_add_mod() 177 modp = curve_p256.p; in multiprecision_add_mod() 183 multiprecision_sub(c, c, modp, keyLength); in multiprecision_add_mod() [all …]
|
D | p_256_ecc_pp.cc | 202 uint32_t* modp; in ECC_PointMult_Bin_NAF() local 205 modp = curve_p256.p; in ECC_PointMult_Bin_NAF() 207 modp = curve.p; in ECC_PointMult_Bin_NAF() 219 multiprecision_sub(minus_p.y, modp, p->y, keyLength); in ECC_PointMult_Bin_NAF()
|