Searched refs:curve_p (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/net/bluetooth/ |
D | ecc.c | 62 static u64 curve_p[NUM_ECC_DIGITS] = CURVE_P_32; variable 432 carry += vli_add(result, result, curve_p); in vli_mmod_fast() 435 while (carry || vli_cmp(curve_p, result) != 1) in vli_mmod_fast() 436 carry -= vli_sub(result, result, curve_p); in vli_mmod_fast() 564 vli_mod_add(x1, x1, z1, curve_p); /* t1 = x1 + z1^2 */ in ecc_point_double_jacobian() 565 vli_mod_add(z1, z1, z1, curve_p); /* t3 = 2*z1^2 */ in ecc_point_double_jacobian() 566 vli_mod_sub(z1, x1, z1, curve_p); /* t3 = x1 - z1^2 */ in ecc_point_double_jacobian() 569 vli_mod_add(z1, x1, x1, curve_p); /* t3 = 2*(x1^2 - z1^4) */ in ecc_point_double_jacobian() 570 vli_mod_add(x1, x1, z1, curve_p); /* t1 = 3*(x1^2 - z1^4) */ in ecc_point_double_jacobian() 572 u64 carry = vli_add(x1, x1, curve_p); in ecc_point_double_jacobian() [all …]
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fbtft-sysfs.c | 27 char *str_p, *curve_p = NULL; in fbtft_gamma_parse_str() local 63 curve_p = strsep(&str_p, "\n"); in fbtft_gamma_parse_str() 65 while (curve_p) { in fbtft_gamma_parse_str() 72 ret = get_next_ulong(&curve_p, &val, " ", 16); in fbtft_gamma_parse_str()
|