Lines Matching refs:P256_POINT
34 } P256_POINT; typedef
188 static void ecp_sm2p256_point_double(P256_POINT *R, const P256_POINT *P) in ecp_sm2p256_point_double()
224 static void ecp_sm2p256_point_add_affine(P256_POINT *R, const P256_POINT *P, in ecp_sm2p256_point_add_affine()
255 P256_POINT K; in ecp_sm2p256_point_add_affine()
287 static void ecp_sm2p256_point_add(P256_POINT *R, const P256_POINT *P, in ecp_sm2p256_point_add()
288 const P256_POINT *Q) in ecp_sm2p256_point_add()
345 static void ecp_sm2p256_point_G_mul_by_scalar(P256_POINT *R, const BN_ULONG *k) in ecp_sm2p256_point_G_mul_by_scalar()
350 memset(R, 0, sizeof(P256_POINT)); in ecp_sm2p256_point_G_mul_by_scalar()
380 static void ecp_sm2p256_point_P_mul_by_scalar(P256_POINT *R, const BN_ULONG *k, in ecp_sm2p256_point_P_mul_by_scalar()
385 ALIGN64 P256_POINT precomputed[16]; in ecp_sm2p256_point_P_mul_by_scalar()
387 memset(R, 0, sizeof(P256_POINT)); in ecp_sm2p256_point_P_mul_by_scalar()
412 memcpy(R, &precomputed[index], sizeof(P256_POINT)); in ecp_sm2p256_point_P_mul_by_scalar()
428 const P256_POINT *P) in ecp_sm2p256_point_get_affine()
505 P256_POINT *r, in ecp_sm2p256_windowed_mul()
514 P256_POINT kP; in ecp_sm2p256_windowed_mul()
516 P256_POINT p; in ecp_sm2p256_windowed_mul()
520 if (num > OPENSSL_MALLOC_MAX_NELEMS(P256_POINT) in ecp_sm2p256_windowed_mul()
526 memset(r, 0, sizeof(P256_POINT)); in ecp_sm2p256_windowed_mul()
577 P256_POINT p; in ecp_sm2p256_points_mul()
621 P256_POINT *out = &t.p; in ecp_sm2p256_points_mul()