Home
last modified time | relevance | path

Searched refs:point (Results 1 – 2 of 2) sorted by relevance

/crypto/
Decc.c936 static bool ecc_point_is_zero(const struct ecc_point *point) in ecc_point_is_zero() argument
938 return (vli_is_zero(point->x, point->ndigits) && in ecc_point_is_zero()
939 vli_is_zero(point->y, point->ndigits)); in ecc_point_is_zero()
1143 const struct ecc_point *point, const u64 *scalar, in ecc_point_mult() argument
1162 vli_set(rx[1], point->x, ndigits); in ecc_point_mult()
1163 vli_set(ry[1], point->y, ndigits); in ecc_point_mult()
1186 vli_mod_mult_fast(z, z, point->x, curve_prime, ndigits); in ecc_point_mult()
1189 vli_mod_inv(z, z, curve_prime, point->ndigits); in ecc_point_mult()
1192 vli_mod_mult_fast(z, z, point->y, curve_prime, ndigits); in ecc_point_mult()
1241 const struct ecc_point *point; in ecc_point_mult_shamir() local
[all …]
Dsm2.c243 MPI_POINT point, struct mpi_ec_ctx *ec, unsigned int pbytes) in sm2_z_digest_update_point() argument
251 if (!mpi_ec_get_affine(x, y, point, ec) && in sm2_z_digest_update_point()