| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| H A D | ecp_nistp224.c | 700 felem ftmp, ftmp2, ftmp3, ftmp4; 745 felem_reduce(ftmp4, tmp); /* 2^49 - 2 */ 747 felem_square(tmp, ftmp4); 748 felem_reduce(ftmp4, tmp); 750 felem_mul(tmp, ftmp3, ftmp4); 753 felem_reduce(ftmp4, tmp); /* 2^97 - 2 */ 755 felem_square(tmp, ftmp4); 756 felem_reduce(ftmp4, tmp); 758 felem_mul(tmp, ftmp2, ftmp4); 908 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, x_out, y_out, z_out; [all …]
|
| H A D | ecp_nistp521.c | 701 felem ftmp, ftmp2, ftmp3, ftmp4; 733 felem_assign(ftmp4, ftmp3); 735 felem_reduce(ftmp4, tmp); /* 2^8 - 2^1 */ 736 felem_square(tmp, ftmp4); 737 felem_reduce(ftmp4, tmp); /* 2^9 - 2^2 */ 793 felem_mul(tmp, ftmp3, ftmp4); 1159 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out; 1223 felem_reduce(ftmp4, tmp); 1225 x_equal = felem_is_zero(ftmp4); 1228 felem_mul(tmp, ftmp5, ftmp4); [all …]
|
| H A D | ecp_nistp256.c | 1240 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out; 1314 felem_reduce(ftmp4, tmp); 1317 felem_diff_zero107(ftmp4, ftmp3); 1319 felem_shrink(small4, ftmp4); 1369 felem_assign(ftmp, ftmp4); 1376 felem_mul(tmp, ftmp4, ftmp); 1381 felem_reduce(ftmp4, tmp); 1386 felem_assign(ftmp3, ftmp4); 1387 felem_scalar(ftmp4, 2); 1388 felem_sum(ftmp4, ftmp2); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| H A D | ecp_nistp224.c | 704 felem ftmp, ftmp2, ftmp3, ftmp4; in felem_inv() local 749 felem_reduce(ftmp4, tmp); /* 2^49 - 2 */ in felem_inv() 751 felem_square(tmp, ftmp4); in felem_inv() 752 felem_reduce(ftmp4, tmp); in felem_inv() 754 felem_mul(tmp, ftmp3, ftmp4); in felem_inv() 757 felem_reduce(ftmp4, tmp); /* 2^97 - 2 */ in felem_inv() 759 felem_square(tmp, ftmp4); in felem_inv() 760 felem_reduce(ftmp4, tmp); in felem_inv() 762 felem_mul(tmp, ftmp2, ftmp4); in felem_inv() 912 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, x_out, y_out, z_out; in point_add() local [all …]
|
| H A D | ecp_nistp521.c | 753 felem ftmp, ftmp2, ftmp3, ftmp4; in felem_inv() local 785 felem_assign(ftmp4, ftmp3); in felem_inv() 787 felem_reduce(ftmp4, tmp); /* 2^8 - 2^1 */ in felem_inv() 788 felem_square(tmp, ftmp4); in felem_inv() 789 felem_reduce(ftmp4, tmp); /* 2^9 - 2^2 */ in felem_inv() 845 felem_mul(tmp, ftmp3, ftmp4); in felem_inv() 1211 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out; in point_add() local 1275 felem_reduce(ftmp4, tmp); in point_add() 1277 x_equal = felem_is_zero(ftmp4); in point_add() 1280 felem_mul(tmp, ftmp5, ftmp4); in point_add() [all …]
|
| H A D | ecp_nistp256.c | 1240 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out; in point_add() local 1314 felem_reduce(ftmp4, tmp); in point_add() 1317 felem_diff_zero107(ftmp4, ftmp3); in point_add() 1319 felem_shrink(small4, ftmp4); in point_add() 1369 felem_assign(ftmp, ftmp4); in point_add() 1376 felem_mul(tmp, ftmp4, ftmp); in point_add() 1381 felem_reduce(ftmp4, tmp); in point_add() 1386 felem_assign(ftmp3, ftmp4); in point_add() 1387 felem_scalar(ftmp4, 2); in point_add() 1388 felem_sum(ftmp4, ftmp2); in point_add() [all …]
|