Searched refs:modp (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/smp/ |
D | p_256_multprecision.c | 134 DWORD *modp; in multiprecision_lshift_mod() local 138 modp = curve.p; in multiprecision_lshift_mod() 142 modp = curve_p256.p; in multiprecision_lshift_mod() 150 multiprecision_sub(c, c, modp, keyLength); in multiprecision_lshift_mod() 152 else if (multiprecision_compare(c, modp, keyLength)>=0) in multiprecision_lshift_mod() 154 multiprecision_sub(c, c, modp, keyLength); in multiprecision_lshift_mod() 202 DWORD *modp; in multiprecision_add_mod() local 206 modp = curve.p; in multiprecision_add_mod() 210 modp = curve_p256.p; in multiprecision_add_mod() 218 multiprecision_sub(c, c, modp, keyLength); in multiprecision_add_mod() [all …]
|
D | p_256_ecc_pp.c | 208 DWORD *modp; in ECC_PointMult_Bin_NAF() local 212 modp = curve_p256.p; in ECC_PointMult_Bin_NAF() 216 modp = curve.p; in ECC_PointMult_Bin_NAF() 228 multiprecision_sub(minus_p.y, modp, p->y, keyLength); in ECC_PointMult_Bin_NAF()
|