Searched refs:felem_reduce (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/ec/ |
D | p224-64.c | 418 static void felem_reduce(felem out, const widefelem in) { in felem_reduce() function 482 felem_reduce(out, tmp); in felem_square_reduce() 488 felem_reduce(out, tmp); in felem_mul_reduce() 570 felem_reduce(ftmp, tmp); /* 2 */ in felem_inv() 572 felem_reduce(ftmp, tmp); /* 2^2 - 1 */ in felem_inv() 574 felem_reduce(ftmp, tmp); /* 2^3 - 2 */ in felem_inv() 576 felem_reduce(ftmp, tmp); /* 2^3 - 1 */ in felem_inv() 578 felem_reduce(ftmp2, tmp); /* 2^4 - 2 */ in felem_inv() 580 felem_reduce(ftmp2, tmp); /* 2^5 - 4 */ in felem_inv() 582 felem_reduce(ftmp2, tmp); /* 2^6 - 8 */ in felem_inv() [all …]
|
D | p256-64.c | 694 static void felem_reduce(felem out, const longfelem in) { in felem_reduce() function 808 felem_reduce(tmp, longtmp); in smallfelem_square_contract() 818 felem_reduce(tmp, longtmp); in smallfelem_mul_contract() 876 felem_reduce(ftmp, tmp); /* 2^1 */ in felem_inv() 878 felem_reduce(ftmp, tmp); /* 2^2 - 2^0 */ in felem_inv() 881 felem_reduce(ftmp, tmp); /* 2^3 - 2^1 */ in felem_inv() 883 felem_reduce(ftmp, tmp); /* 2^4 - 2^2 */ in felem_inv() 885 felem_reduce(ftmp, tmp); /* 2^4 - 2^0 */ in felem_inv() 888 felem_reduce(ftmp, tmp); /* 2^5 - 2^1 */ in felem_inv() 890 felem_reduce(ftmp, tmp); /* 2^6 - 2^2 */ in felem_inv() [all …]
|