/external/boringssl/src/crypto/fipsmodule/ec/ |
D | internal.h | 101 } EC_SCALAR; typedef 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); 154 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 155 const EC_SCALAR *p_scalar); 179 void (*scalar_inv_montgomery)(const EC_GROUP *group, EC_SCALAR *out, 180 const EC_SCALAR *in); 185 int (*scalar_inv_montgomery_vartime)(const EC_GROUP *group, EC_SCALAR *out, 186 const EC_SCALAR *in); 192 const EC_SCALAR *r); [all …]
|
D | scalar.c | 24 int ec_bignum_to_scalar(const EC_GROUP *group, EC_SCALAR *out, in ec_bignum_to_scalar() 34 int ec_scalar_equal_vartime(const EC_GROUP *group, const EC_SCALAR *a, in ec_scalar_equal_vartime() 35 const EC_SCALAR *b) { in ec_scalar_equal_vartime() 40 int ec_scalar_is_zero(const EC_GROUP *group, const EC_SCALAR *a) { in ec_scalar_is_zero() 48 int ec_random_nonzero_scalar(const EC_GROUP *group, EC_SCALAR *out, in ec_random_nonzero_scalar() 54 void ec_scalar_add(const EC_GROUP *group, EC_SCALAR *r, const EC_SCALAR *a, in ec_scalar_add() 55 const EC_SCALAR *b) { in ec_scalar_add() 62 void ec_scalar_to_montgomery(const EC_GROUP *group, EC_SCALAR *r, in ec_scalar_to_montgomery() 63 const EC_SCALAR *a) { in ec_scalar_to_montgomery() 68 void ec_scalar_from_montgomery(const EC_GROUP *group, EC_SCALAR *r, in ec_scalar_from_montgomery() [all …]
|
D | p256-x86_64.c | 204 const EC_SCALAR *p_scalar) { in ecp_nistz256_windowed_mul() 320 const EC_SCALAR *g_scalar, in mul_p_add_and_store() 322 const EC_SCALAR *p_scalar, in mul_p_add_and_store() 344 const EC_SCALAR *g_scalar, in ecp_nistz256_points_mul() 346 const EC_SCALAR *p_scalar) { in ecp_nistz256_points_mul() 391 const EC_SCALAR *g_scalar, in ecp_nistz256_points_mul_public() 393 const EC_SCALAR *p_scalar) { in ecp_nistz256_points_mul_public() 503 static void ecp_nistz256_inv_mod_ord(const EC_GROUP *group, EC_SCALAR *out, in ecp_nistz256_inv_mod_ord() 504 const EC_SCALAR *in) { in ecp_nistz256_inv_mod_ord() 585 EC_SCALAR *out, in ecp_nistz256_mont_inv_mod_ord_vartime() [all …]
|
D | simple_mul.c | 26 const EC_SCALAR *scalar) { in ec_GFp_mont_mul_single() 83 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_GFp_mont_mul() 84 const EC_SCALAR *p_scalar) { in ec_GFp_mont_mul()
|
D | wnaf.c | 88 const EC_SCALAR *scalar, size_t bits, int w) { in ec_compute_wNAF() 178 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_GFp_mont_mul_public() 179 const EC_SCALAR *p_scalar) { in ec_GFp_mont_mul_public()
|
D | ec.c | 858 static int arbitrary_bignum_to_scalar(const EC_GROUP *group, EC_SCALAR *out, in arbitrary_bignum_to_scalar() 895 EC_SCALAR g_scalar_storage, p_scalar_storage; in EC_POINT_mul() 896 EC_SCALAR *g_scalar_arg = NULL, *p_scalar_arg = NULL; in EC_POINT_mul() 931 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_point_mul_scalar_public() 932 const EC_SCALAR *p_scalar) { in ec_point_mul_scalar_public() 944 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_point_mul_scalar() 945 const EC_SCALAR *p_scalar) { in ec_point_mul_scalar() 957 const EC_SCALAR *r) { in ec_cmp_x_coordinate() 961 int ec_get_x_coordinate_as_scalar(const EC_GROUP *group, EC_SCALAR *out, in ec_get_x_coordinate_as_scalar()
|
D | simple.c | 355 EC_SCALAR *out, in ec_GFp_simple_mont_inv_mod_ord_vartime() 356 const EC_SCALAR *in) { in ec_GFp_simple_mont_inv_mod_ord_vartime() 370 const EC_SCALAR *r) { in ec_GFp_simple_cmp_x_coordinate() 377 EC_SCALAR x; in ec_GFp_simple_cmp_x_coordinate()
|
D | p224-64.c | 1031 const EC_SCALAR *g_scalar, in ec_GFp_nistp224_points_mul() 1033 const EC_SCALAR *p_scalar) { in ec_GFp_nistp224_points_mul()
|
D | ec_test.cc | 741 EC_SCALAR one; in TEST_P() 897 EC_SCALAR a_scalar, b_scalar; in TEST()
|
D | ec_montgomery.c | 422 const EC_SCALAR *r) { in ec_GFp_mont_cmp_x_coordinate()
|
D | p256-x86_64_test.cc | 116 EC_SCALAR in_scalar, out_scalar, result; in TEST()
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa.c | 72 static void digest_to_scalar(const EC_GROUP *group, EC_SCALAR *out, in digest_to_scalar() 81 OPENSSL_memset(out, 0, sizeof(EC_SCALAR)); in digest_to_scalar() 155 EC_SCALAR r, s, u1, u2, s_inv_mont, m; in ECDSA_do_verify() 190 static int ecdsa_sign_setup(const EC_KEY *eckey, EC_SCALAR *out_kinv_mont, in ecdsa_sign_setup() 191 EC_SCALAR *out_r, const uint8_t *digest, in ecdsa_sign_setup() 192 size_t digest_len, const EC_SCALAR *priv_key) { in ecdsa_sign_setup() 203 EC_SCALAR k; in ecdsa_sign_setup() 261 const EC_SCALAR *priv_key = &eckey->priv_key->scalar; in ECDSA_do_sign() 265 EC_SCALAR kinv_mont, r_mont, s, m, tmp; in ECDSA_do_sign()
|
/external/boringssl/src/third_party/fiat/ |
D | p256.c | 894 const EC_SCALAR *g_scalar, in ec_GFp_nistp256_points_mul() 896 const EC_SCALAR *p_scalar) { in ec_GFp_nistp256_points_mul() 936 const EC_SCALAR *g_scalar, in ec_GFp_nistp256_point_mul_public() 938 const EC_SCALAR *p_scalar) { in ec_GFp_nistp256_point_mul_public() 1017 const EC_SCALAR *r) { in ec_GFp_nistp256_cmp_x_coordinate()
|
/external/boringssl/src/crypto/fipsmodule/ecdh/ |
D | ecdh.c | 86 const EC_SCALAR *const priv = &priv_key->priv_key->scalar; in ECDH_compute_key_fips()
|
/external/boringssl/src/crypto/ecdh_extra/ |
D | ecdh_extra.c | 88 const EC_SCALAR *const priv = &priv_key->priv_key->scalar; in ECDH_compute_key()
|