/external/rust/crates/ring/src/ec/suite_b/ops/ |
D | p384_point_mul_tests.txt | 2 p_scalar = 00 6 p_scalar = 01 10 p_scalar = 02 14 p_scalar = 03 18 p_scalar = 04 22 p_scalar = 05 26 p_scalar = 06 30 p_scalar = 07 34 p_scalar = 08 38 p_scalar = 09 [all …]
|
D | p256_point_mul_tests.txt | 3 p_scalar = 00 7 p_scalar = 01 11 p_scalar = 02 15 p_scalar = 03 19 p_scalar = 04 23 p_scalar = 05 27 p_scalar = 06 31 p_scalar = 07 35 p_scalar = 08 39 p_scalar = 09 [all …]
|
D | p256_point_mul_serialized_tests.txt | 7 p_scalar = 2a265f8bcbdcaf94d58519141e578124cb40d64a501fba9c11847b28965bc737 11 p_scalar = 313f72ff9fe811bf573176231b286a3bdb6f1b14e05c40146590727a71c3bccd
|
D | p384.rs | 360 p_scalar: *const Limb, // [COMMON_OPS.num_limbs] in GFp_nistz384_point_mul()
|
D | p256.rs | 363 p_scalar: *const Limb, // [COMMON_OPS.num_limbs] in GFp_nistz256_point_mul()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec.c | 947 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx) { in EC_POINT_mul() argument 951 if ((g_scalar == NULL && p_scalar == NULL) || in EC_POINT_mul() 952 (p == NULL) != (p_scalar == NULL)) { in EC_POINT_mul() 992 if (p_scalar != NULL) { in EC_POINT_mul() 995 if (!arbitrary_bignum_to_scalar(group, &scalar, p_scalar, ctx) || in EC_POINT_mul() 1015 const EC_SCALAR *p_scalar) { in ec_point_mul_scalar_public() argument 1016 if (g_scalar == NULL || p_scalar == NULL || p == NULL) { in ec_point_mul_scalar_public() 1022 return group->meth->mul_public_batch(group, r, g_scalar, p, p_scalar, 1); in ec_point_mul_scalar_public() 1025 group->meth->mul_public(group, r, g_scalar, p, p_scalar); in ec_point_mul_scalar_public()
|
D | p256-x86_64.c | 192 const EC_SCALAR *p_scalar) { in ecp_nistz256_windowed_mul() argument 194 assert(p_scalar != NULL); in ecp_nistz256_windowed_mul() 205 OPENSSL_memcpy(p_str, p_scalar->bytes, 32); in ecp_nistz256_windowed_mul() 365 const EC_SCALAR *p_scalar) { in ecp_nistz256_points_mul_public() argument 366 assert(p_ != NULL && p_scalar != NULL && g_scalar != NULL); in ecp_nistz256_points_mul_public() 413 ecp_nistz256_windowed_mul(group, &t.p, p_, p_scalar); in ecp_nistz256_points_mul_public()
|
D | p224-64.c | 1061 const EC_SCALAR *p_scalar) { in ec_GFp_nistp224_point_mul_public() argument 1107 crypto_word_t bits = p224_get_bit(p_scalar->bytes, i + 4) << 5; in ec_GFp_nistp224_point_mul_public() 1108 bits |= p224_get_bit(p_scalar->bytes, i + 3) << 4; in ec_GFp_nistp224_point_mul_public() 1109 bits |= p224_get_bit(p_scalar->bytes, i + 2) << 3; in ec_GFp_nistp224_point_mul_public() 1110 bits |= p224_get_bit(p_scalar->bytes, i + 1) << 2; in ec_GFp_nistp224_point_mul_public() 1111 bits |= p224_get_bit(p_scalar->bytes, i) << 1; in ec_GFp_nistp224_point_mul_public() 1112 bits |= p224_get_bit(p_scalar->bytes, i - 1); in ec_GFp_nistp224_point_mul_public()
|
D | internal.h | 390 const EC_SCALAR *p_scalar); 503 const EC_SCALAR *p_scalar);
|
D | p256.c | 585 const EC_SCALAR *p_scalar) { in ec_GFp_nistp256_point_mul_public() argument 604 ec_compute_wNAF(group, p_wNAF, p_scalar, 256, P256_WSIZE_PUBLIC); in ec_GFp_nistp256_point_mul_public()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | ec.c | 935 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx) { in EC_POINT_mul() argument 939 if ((g_scalar == NULL && p_scalar == NULL) || in EC_POINT_mul() 940 (p == NULL) != (p_scalar == NULL)) { in EC_POINT_mul() 980 if (p_scalar != NULL) { in EC_POINT_mul() 983 if (!arbitrary_bignum_to_scalar(group, &scalar, p_scalar, ctx) || in EC_POINT_mul() 1003 const EC_SCALAR *p_scalar) { in ec_point_mul_scalar_public() argument 1004 if (g_scalar == NULL || p_scalar == NULL || p == NULL) { in ec_point_mul_scalar_public() 1010 return group->meth->mul_public_batch(group, r, g_scalar, p, p_scalar, 1); in ec_point_mul_scalar_public() 1013 group->meth->mul_public(group, r, g_scalar, p, p_scalar); in ec_point_mul_scalar_public()
|
D | p256-x86_64.c | 192 const EC_SCALAR *p_scalar) { in ecp_nistz256_windowed_mul() argument 194 assert(p_scalar != NULL); in ecp_nistz256_windowed_mul() 205 OPENSSL_memcpy(p_str, p_scalar->bytes, 32); in ecp_nistz256_windowed_mul() 364 const EC_SCALAR *p_scalar) { in ecp_nistz256_points_mul_public() argument 365 assert(p_ != NULL && p_scalar != NULL && g_scalar != NULL); in ecp_nistz256_points_mul_public() 412 ecp_nistz256_windowed_mul(group, &t.p, p_, p_scalar); in ecp_nistz256_points_mul_public()
|
D | p224-64.c | 1061 const EC_SCALAR *p_scalar) { in ec_GFp_nistp224_point_mul_public() argument 1105 uint64_t bits = p224_get_bit(p_scalar->bytes, i + 4) << 5; in ec_GFp_nistp224_point_mul_public() 1106 bits |= p224_get_bit(p_scalar->bytes, i + 3) << 4; in ec_GFp_nistp224_point_mul_public() 1107 bits |= p224_get_bit(p_scalar->bytes, i + 2) << 3; in ec_GFp_nistp224_point_mul_public() 1108 bits |= p224_get_bit(p_scalar->bytes, i + 1) << 2; in ec_GFp_nistp224_point_mul_public() 1109 bits |= p224_get_bit(p_scalar->bytes, i) << 1; in ec_GFp_nistp224_point_mul_public() 1110 bits |= p224_get_bit(p_scalar->bytes, i - 1); in ec_GFp_nistp224_point_mul_public()
|
D | internal.h | 390 const EC_SCALAR *p_scalar); 503 const EC_SCALAR *p_scalar);
|
D | p256.c | 583 const EC_SCALAR *p_scalar) { in ec_GFp_nistp256_point_mul_public() argument 602 ec_compute_wNAF(group, p_wNAF, p_scalar, 256, P256_WSIZE_PUBLIC); in ec_GFp_nistp256_point_mul_public()
|
/external/rust/crates/ring/src/ec/suite_b/ |
D | ops.rs | 172 p_scalar: *const Limb, // [num_limbs] 185 pub fn point_mul(&self, p_scalar: &Scalar, (p_x, p_y): &(Elem<R>, Elem<R>)) -> Point { in point_mul() 190 p_scalar.limbs.as_ptr(), in point_mul() 917 let p_scalar = consume_scalar(ops.common, test_case, "p_scalar"); in point_mul_tests() localVariable 925 let actual_result = ops.point_mul(&p_scalar, &(x, y)); in point_mul_tests() 949 let p_scalar = consume_scalar(cops, test_case, "p_scalar"); in point_mul_serialized_test() localVariable 960 let product = priv_ops.point_mul(&p_scalar, &p); in point_mul_serialized_test()
|
/external/rust/crates/ring/src/ec/suite_b/ecdsa/ |
D | verification.rs | 196 p_scalar: &Scalar, in twin_mul() 201 let scaled_p = ops.point_mul(p_scalar, p_xy); in twin_mul()
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | ecp_nistz384.inl | 176 /* r = p * p_scalar */ 177 void GFp_nistz384_point_mul(P384_POINT *r, const BN_ULONG p_scalar[P384_LIMBS], 185 p_scalar, P384_LIMBS);
|
D | ecp_nistz256.c | 193 void GFp_nistz256_point_mul(P256_POINT *r, const Limb p_scalar[P256_LIMBS], in GFp_nistz256_point_mul() 201 p_scalar, P256_LIMBS); in GFp_nistz256_point_mul()
|