Home
last modified time | relevance | path

Searched refs:EC_RAW_POINT (Results 1 – 13 of 13) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Dinternal.h120 } EC_RAW_POINT; typedef
134 int (*point_get_affine_coordinates)(const EC_GROUP *, const EC_RAW_POINT *p,
138 void (*add)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a,
139 const EC_RAW_POINT *b);
141 void (*dbl)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a);
144 void (*mul)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *p,
147 void (*mul_base)(const EC_GROUP *group, EC_RAW_POINT *r,
152 void (*mul_public)(const EC_GROUP *group, EC_RAW_POINT *r,
153 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p,
190 int (*cmp_x_coordinate)(const EC_GROUP *group, const EC_RAW_POINT *p,
[all …]
Dwnaf.c150 static void compute_precomp(const EC_GROUP *group, EC_RAW_POINT *out, in compute_precomp()
151 const EC_RAW_POINT *p, size_t len) { in compute_precomp()
153 EC_RAW_POINT two_p; in compute_precomp()
160 static void lookup_precomp(const EC_GROUP *group, EC_RAW_POINT *out, in lookup_precomp()
161 const EC_RAW_POINT *precomp, int digit) { in lookup_precomp()
177 void ec_GFp_mont_mul_public(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_mul_public()
178 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_GFp_mont_mul_public()
184 EC_RAW_POINT g_precomp[EC_WNAF_TABLE_SIZE]; in ec_GFp_mont_mul_public()
186 const EC_RAW_POINT *g = &group->generator->raw; in ec_GFp_mont_mul_public()
191 EC_RAW_POINT p_precomp[EC_WNAF_TABLE_SIZE]; in ec_GFp_mont_mul_public()
[all …]
Dsimple_mul.c24 void ec_GFp_mont_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_mul()
25 const EC_RAW_POINT *p, const EC_SCALAR *scalar) { in ec_GFp_mont_mul()
31 EC_RAW_POINT precomp[32]; in ec_GFp_mont_mul()
59 EC_RAW_POINT tmp; in ec_GFp_mont_mul()
60 OPENSSL_memset(&tmp, 0, sizeof(EC_RAW_POINT)); in ec_GFp_mont_mul()
81 void ec_GFp_mont_mul_base(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_mul_base()
Dsimple.c174 void ec_GFp_simple_point_init(EC_RAW_POINT *point) { in ec_GFp_simple_point_init()
180 void ec_GFp_simple_point_copy(EC_RAW_POINT *dest, const EC_RAW_POINT *src) { in ec_GFp_simple_point_copy()
187 EC_RAW_POINT *point) { in ec_GFp_simple_point_set_to_infinity()
194 EC_RAW_POINT *point, in ec_GFp_simple_point_set_affine_coordinates()
211 void ec_GFp_simple_invert(const EC_GROUP *group, EC_RAW_POINT *point) { in ec_GFp_simple_invert()
216 const EC_RAW_POINT *point) { in ec_GFp_simple_is_at_infinity()
221 const EC_RAW_POINT *point) { in ec_GFp_simple_is_on_curve()
278 int ec_GFp_simple_cmp(const EC_GROUP *group, const EC_RAW_POINT *a, in ec_GFp_simple_cmp()
279 const EC_RAW_POINT *b) { in ec_GFp_simple_cmp()
369 int ec_GFp_simple_cmp_x_coordinate(const EC_GROUP *group, const EC_RAW_POINT *p, in ec_GFp_simple_cmp_x_coordinate()
Dp256-x86_64.c204 const EC_RAW_POINT *p, in ecp_nistz256_windowed_mul()
320 static void ecp_nistz256_point_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ecp_nistz256_point_mul()
321 const EC_RAW_POINT *p, in ecp_nistz256_point_mul()
332 static void ecp_nistz256_point_mul_base(const EC_GROUP *group, EC_RAW_POINT *r, in ecp_nistz256_point_mul_base()
374 EC_RAW_POINT *r, in ecp_nistz256_points_mul_public()
376 const EC_RAW_POINT *p_, in ecp_nistz256_points_mul_public()
435 const EC_RAW_POINT *point, EC_FELEM *x, in ecp_nistz256_get_affine()
466 static void ecp_nistz256_add(const EC_GROUP *group, EC_RAW_POINT *r, in ecp_nistz256_add()
467 const EC_RAW_POINT *a_, const EC_RAW_POINT *b_) { in ecp_nistz256_add()
481 static void ecp_nistz256_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ecp_nistz256_dbl()
[all …]
Dec_montgomery.c184 const EC_RAW_POINT *point, in ec_GFp_mont_point_get_affine_coordinates()
215 void ec_GFp_mont_add(const EC_GROUP *group, EC_RAW_POINT *out, in ec_GFp_mont_add()
216 const EC_RAW_POINT *a, const EC_RAW_POINT *b) { in ec_GFp_mont_add()
326 void ec_GFp_mont_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_dbl()
327 const EC_RAW_POINT *a) { in ec_GFp_mont_dbl()
422 const EC_RAW_POINT *p, in ec_GFp_mont_cmp_x_coordinate()
Dec.c925 EC_RAW_POINT tmp; in EC_POINT_mul()
931 OPENSSL_memcpy(&r->raw, &tmp, sizeof(EC_RAW_POINT)); in EC_POINT_mul()
944 int ec_point_mul_scalar_public(const EC_GROUP *group, EC_RAW_POINT *r, in ec_point_mul_scalar_public()
945 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_point_mul_scalar_public()
956 int ec_point_mul_scalar(const EC_GROUP *group, EC_RAW_POINT *r, in ec_point_mul_scalar()
957 const EC_RAW_POINT *p, const EC_SCALAR *scalar) { in ec_point_mul_scalar()
967 int ec_point_mul_scalar_base(const EC_GROUP *group, EC_RAW_POINT *r, in ec_point_mul_scalar_base()
978 int ec_cmp_x_coordinate(const EC_GROUP *group, const EC_RAW_POINT *p, in ec_cmp_x_coordinate()
984 const EC_RAW_POINT *p) { in ec_get_x_coordinate_as_scalar()
1021 const EC_RAW_POINT *p) { in ec_point_get_affine_coordinate_bytes()
Dp224-64.c879 const EC_GROUP *group, const EC_RAW_POINT *point, EC_FELEM *x, in ec_GFp_nistp224_point_get_affine_coordinates()
914 static void ec_GFp_nistp224_add(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp224_add()
915 const EC_RAW_POINT *a, const EC_RAW_POINT *b) { in ec_GFp_nistp224_add()
930 static void ec_GFp_nistp224_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp224_dbl()
931 const EC_RAW_POINT *a) { in ec_GFp_nistp224_dbl()
944 const EC_RAW_POINT *p) { in ec_GFp_nistp224_make_precomp()
962 static void ec_GFp_nistp224_point_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp224_point_mul()
963 const EC_RAW_POINT *p, in ec_GFp_nistp224_point_mul()
1011 EC_RAW_POINT *r, in ec_GFp_nistp224_point_mul_base()
1058 EC_RAW_POINT *r, in ec_GFp_nistp224_point_mul_public()
[all …]
Doct.c77 const EC_RAW_POINT *point, in ec_GFp_simple_point2oct()
/external/boringssl/src/third_party/fiat/
Dp256.c742 const EC_GROUP *group, const EC_RAW_POINT *point, EC_FELEM *x_out, in ec_GFp_nistp256_point_get_affine_coordinates()
777 static void ec_GFp_nistp256_add(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp256_add()
778 const EC_RAW_POINT *a, const EC_RAW_POINT *b) { in ec_GFp_nistp256_add()
792 static void ec_GFp_nistp256_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp256_dbl()
793 const EC_RAW_POINT *a) { in ec_GFp_nistp256_dbl()
804 static void ec_GFp_nistp256_point_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp256_point_mul()
805 const EC_RAW_POINT *p, in ec_GFp_nistp256_point_mul()
871 EC_RAW_POINT *r, in ec_GFp_nistp256_point_mul_base()
917 EC_RAW_POINT *r, in ec_GFp_nistp256_point_mul_public()
919 const EC_RAW_POINT *p, in ec_GFp_nistp256_point_mul_public()
[all …]
/external/boringssl/src/crypto/fipsmodule/ecdh/
Decdh.c93 EC_RAW_POINT shared_point; in ECDH_compute_key_fips()
/external/boringssl/src/crypto/ecdh_extra/
Decdh_extra.c95 EC_RAW_POINT shared_point; in ECDH_compute_key()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa.c176 EC_RAW_POINT point; in ECDSA_do_verify()
204 EC_RAW_POINT tmp_point; in ecdsa_sign_setup()