Lines Matching refs:felem_reduce

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()
892 felem_reduce(ftmp, tmp); /* 2^7 - 2^3 */ in felem_inv()
894 felem_reduce(ftmp, tmp); /* 2^8 - 2^4 */ in felem_inv()
896 felem_reduce(ftmp, tmp); /* 2^8 - 2^0 */ in felem_inv()
900 felem_reduce(ftmp, tmp); in felem_inv()
903 felem_reduce(ftmp, tmp); /* 2^16 - 2^0 */ in felem_inv()
907 felem_reduce(ftmp, tmp); in felem_inv()
910 felem_reduce(ftmp, tmp); /* 2^32 - 2^0 */ in felem_inv()
914 felem_reduce(ftmp, tmp); in felem_inv()
918 felem_reduce(ftmp, tmp); /* 2^64 - 2^32 + 2^0 */ in felem_inv()
921 felem_reduce(ftmp, tmp); in felem_inv()
925 felem_reduce(ftmp2, tmp); /* 2^64 - 2^0 */ in felem_inv()
928 felem_reduce(ftmp2, tmp); in felem_inv()
931 felem_reduce(ftmp2, tmp); /* 2^80 - 2^0 */ in felem_inv()
934 felem_reduce(ftmp2, tmp); in felem_inv()
937 felem_reduce(ftmp2, tmp); /* 2^88 - 2^0 */ in felem_inv()
940 felem_reduce(ftmp2, tmp); in felem_inv()
943 felem_reduce(ftmp2, tmp); /* 2^92 - 2^0 */ in felem_inv()
945 felem_reduce(ftmp2, tmp); /* 2^93 - 2^1 */ in felem_inv()
947 felem_reduce(ftmp2, tmp); /* 2^94 - 2^2 */ in felem_inv()
949 felem_reduce(ftmp2, tmp); /* 2^94 - 2^0 */ in felem_inv()
951 felem_reduce(ftmp2, tmp); /* 2^95 - 2^1 */ in felem_inv()
953 felem_reduce(ftmp2, tmp); /* 2^96 - 2^2 */ in felem_inv()
955 felem_reduce(ftmp2, tmp); /* 2^96 - 3 */ in felem_inv()
958 felem_reduce(out, tmp); /* 2^256 - 2^224 + 2^192 + 2^96 - 3 */ in felem_inv()
996 felem_reduce(delta, tmp); in point_double()
1001 felem_reduce(gamma, tmp); in point_double()
1007 felem_reduce(beta, tmp); in point_double()
1018 felem_reduce(alpha, tmp); in point_double()
1024 felem_reduce(x_out, tmp); in point_double()
1038 felem_reduce(z_out, tmp); in point_double()
1121 felem_reduce(ftmp, tmp); in point_add()
1128 felem_reduce(ftmp2, tmp); in point_add()
1136 felem_reduce(ftmp3, tmp); in point_add()
1146 felem_reduce(ftmp5, tmp); in point_add()
1155 felem_reduce(ftmp2, tmp); in point_add()
1159 felem_reduce(ftmp6, tmp); in point_add()
1180 felem_reduce(ftmp4, tmp); in point_add()
1191 felem_reduce(z_out, tmp); in point_add()
1196 felem_reduce(ftmp, tmp); in point_add()
1200 felem_reduce(ftmp5, tmp); in point_add()
1220 felem_reduce(ftmp, tmp); in point_add()
1224 felem_reduce(ftmp2, tmp); in point_add()
1228 felem_reduce(ftmp4, tmp); in point_add()
1232 felem_reduce(x_out, tmp); in point_add()
1667 felem_reduce(z1, tmp); in ec_GFp_nistp256_point_get_affine_coordinates()
1669 felem_reduce(x_in, tmp); in ec_GFp_nistp256_point_get_affine_coordinates()
1676 felem_reduce(z1, tmp); in ec_GFp_nistp256_point_get_affine_coordinates()
1678 felem_reduce(y_in, tmp); in ec_GFp_nistp256_point_get_affine_coordinates()