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);
148 void (*mul)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *g_scalar,
149 const EC_RAW_POINT *p, const EC_SCALAR *p_scalar);
153 void (*mul_public)(const EC_GROUP *group, EC_RAW_POINT *r,
154 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p,
191 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 static void ec_GFp_mont_mul_single(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_mul_single()
25 const EC_RAW_POINT *p, in ec_GFp_mont_mul_single()
32 EC_RAW_POINT precomp[32]; in ec_GFp_mont_mul_single()
60 EC_RAW_POINT tmp; in ec_GFp_mont_mul_single()
61 OPENSSL_memset(&tmp, 0, sizeof(EC_RAW_POINT)); in ec_GFp_mont_mul_single()
82 void ec_GFp_mont_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_mul()
83 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_GFp_mont_mul()
95 EC_RAW_POINT tmp; in ec_GFp_mont_mul()
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.c203 const EC_RAW_POINT *p, in ecp_nistz256_windowed_mul()
319 static void mul_p_add_and_store(const EC_GROUP *group, EC_RAW_POINT *r, in mul_p_add_and_store()
321 const EC_RAW_POINT *p_, in mul_p_add_and_store()
343 static void ecp_nistz256_points_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ecp_nistz256_points_mul()
345 const EC_RAW_POINT *p_, in ecp_nistz256_points_mul()
390 EC_RAW_POINT *r, in ecp_nistz256_points_mul_public()
392 const EC_RAW_POINT *p_, in ecp_nistz256_points_mul_public()
445 const EC_RAW_POINT *point, EC_FELEM *x, in ecp_nistz256_get_affine()
476 static void ecp_nistz256_add(const EC_GROUP *group, EC_RAW_POINT *r, in ecp_nistz256_add()
477 const EC_RAW_POINT *a_, const EC_RAW_POINT *b_) { in ecp_nistz256_add()
[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()
325 void ec_GFp_mont_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_mont_dbl()
326 const EC_RAW_POINT *a) { in ec_GFp_mont_dbl()
421 const EC_RAW_POINT *p, in ec_GFp_mont_cmp_x_coordinate()
Dp224-64.c966 const EC_GROUP *group, const EC_RAW_POINT *point, EC_FELEM *x, in ec_GFp_nistp224_point_get_affine_coordinates()
1001 static void ec_GFp_nistp224_add(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp224_add()
1002 const EC_RAW_POINT *a, const EC_RAW_POINT *b) { in ec_GFp_nistp224_add()
1017 static void ec_GFp_nistp224_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp224_dbl()
1018 const EC_RAW_POINT *a) { in ec_GFp_nistp224_dbl()
1030 static void ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp224_points_mul()
1032 const EC_RAW_POINT *p, in ec_GFp_nistp224_points_mul()
Dec.c930 int ec_point_mul_scalar_public(const EC_GROUP *group, EC_RAW_POINT *r, in ec_point_mul_scalar_public()
931 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_point_mul_scalar_public()
943 int ec_point_mul_scalar(const EC_GROUP *group, EC_RAW_POINT *r, in ec_point_mul_scalar()
944 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_point_mul_scalar()
956 int ec_cmp_x_coordinate(const EC_GROUP *group, const EC_RAW_POINT *p, in ec_cmp_x_coordinate()
962 const EC_RAW_POINT *p) { in ec_get_x_coordinate_as_scalar()
999 const EC_RAW_POINT *p) { in ec_point_get_affine_coordinate_bytes()
Doct.c77 const EC_RAW_POINT *point, in ec_GFp_simple_point2oct()
/external/boringssl/src/third_party/fiat/
Dp256.c831 const EC_GROUP *group, const EC_RAW_POINT *point, EC_FELEM *x_out, in ec_GFp_nistp256_point_get_affine_coordinates()
866 static void ec_GFp_nistp256_add(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp256_add()
867 const EC_RAW_POINT *a, const EC_RAW_POINT *b) { in ec_GFp_nistp256_add()
881 static void ec_GFp_nistp256_dbl(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp256_dbl()
882 const EC_RAW_POINT *a) { in ec_GFp_nistp256_dbl()
893 static void ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_RAW_POINT *r, in ec_GFp_nistp256_points_mul()
895 const EC_RAW_POINT *p, in ec_GFp_nistp256_points_mul()
935 EC_RAW_POINT *r, in ec_GFp_nistp256_point_mul_public()
937 const EC_RAW_POINT *p, in ec_GFp_nistp256_point_mul_public()
1016 const EC_RAW_POINT *p, in ec_GFp_nistp256_cmp_x_coordinate()
/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()
/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()