Searched refs:felem_reduce (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp224.c | 527 static void felem_reduce(felem out, const widefelem in) in felem_reduce() function 595 felem_reduce(out, tmp); in felem_square_reduce() 602 felem_reduce(out, tmp); in felem_mul_reduce() 672 felem_reduce(out, tmp); in felem_neg() 709 felem_reduce(ftmp, tmp); /* 2 */ in felem_inv() 711 felem_reduce(ftmp, tmp); /* 2^2 - 1 */ in felem_inv() 713 felem_reduce(ftmp, tmp); /* 2^3 - 2 */ in felem_inv() 715 felem_reduce(ftmp, tmp); /* 2^3 - 1 */ in felem_inv() 717 felem_reduce(ftmp2, tmp); /* 2^4 - 2 */ in felem_inv() 719 felem_reduce(ftmp2, tmp); /* 2^5 - 4 */ in felem_inv() [all …]
|
H A D | ecp_nistp521.c | 603 static void felem_reduce(felem out, const largefelem in) in felem_reduce() function 733 felem_reduce(out, tmp); in felem_square_reduce() 740 felem_reduce(out, tmp); in felem_mul_reduce() 758 felem_reduce(ftmp, tmp); /* 2^1 */ in felem_inv() 760 felem_reduce(ftmp, tmp); /* 2^2 - 2^0 */ in felem_inv() 763 felem_reduce(ftmp, tmp); /* 2^3 - 2^1 */ in felem_inv() 765 felem_reduce(ftmp, tmp); /* 2^3 - 2^0 */ in felem_inv() 767 felem_reduce(ftmp, tmp); /* 2^4 - 2^1 */ in felem_inv() 770 felem_reduce(ftmp3, tmp); /* 2^3 - 2^1 */ in felem_inv() 772 felem_reduce(ftmp3, tmp); /* 2^4 - 2^2 */ in felem_inv() [all …]
|
H A D | ecp_nistp256.c | 778 static void felem_reduce(felem out, const longfelem in) in felem_reduce() function 914 felem_reduce(tmp, longtmp); in smallfelem_square_contract() 925 felem_reduce(tmp, longtmp); in smallfelem_mul_contract() 991 felem_reduce(ftmp, tmp); /* 2^1 */ in felem_inv() 993 felem_reduce(ftmp, tmp); /* 2^2 - 2^0 */ in felem_inv() 996 felem_reduce(ftmp, tmp); /* 2^3 - 2^1 */ in felem_inv() 998 felem_reduce(ftmp, tmp); /* 2^4 - 2^2 */ in felem_inv() 1000 felem_reduce(ftmp, tmp); /* 2^4 - 2^0 */ in felem_inv() 1003 felem_reduce(ftmp, tmp); /* 2^5 - 2^1 */ in felem_inv() 1005 felem_reduce(ftmp, tmp); /* 2^6 - 2^2 */ in felem_inv() [all …]
|