/external/rust/crates/ring/src/ec/suite_b/ops/ |
D | p384_point_mul_base_tests.txt | 2 g_scalar = 00 5 g_scalar = 01 8 g_scalar = 02 11 g_scalar = 03 14 g_scalar = 04 17 g_scalar = 05 20 g_scalar = 06 23 g_scalar = 07 26 g_scalar = 08 29 g_scalar = 09 [all …]
|
D | p256_point_mul_base_tests.txt | 2 g_scalar = 00 5 g_scalar = 01 8 g_scalar = 02 11 g_scalar = 03 14 g_scalar = 04 17 g_scalar = 05 20 g_scalar = 06 23 g_scalar = 07 26 g_scalar = 08 29 g_scalar = 09 [all …]
|
D | p256.rs | 126 fn p256_point_mul_base_impl(g_scalar: &Scalar) -> Point { in p256_point_mul_base_impl() 138 g_scalar: *const Limb, // [COMMON_OPS.num_limbs] in p256_point_mul_base_impl() 142 GFp_nistz256_point_mul_base(r.xyz.as_mut_ptr(), g_scalar.limbs.as_ptr()); in p256_point_mul_base_impl() 170 g_scalar.limbs.as_ptr(), in p256_point_mul_base_impl()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | wnaf.c | 183 const EC_SCALAR *g_scalar, in ec_GFp_mont_mul_public_batch() argument 219 if (g_scalar != NULL) { in ec_GFp_mont_mul_public_batch() 220 ec_compute_wNAF(group, g_wNAF, g_scalar, bits, EC_WNAF_WINDOW_BITS); in ec_GFp_mont_mul_public_batch() 237 if (g_scalar != NULL && g_wNAF[k] != 0) { in ec_GFp_mont_mul_public_batch()
|
D | p256.c | 583 const EC_SCALAR *g_scalar, in ec_GFp_nistp256_point_mul_public() argument 618 crypto_word_t bits = fiat_p256_get_bit(g_scalar->bytes, i + 224) << 3; in ec_GFp_nistp256_point_mul_public() 619 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 160) << 2; in ec_GFp_nistp256_point_mul_public() 620 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 96) << 1; in ec_GFp_nistp256_point_mul_public() 621 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 32); in ec_GFp_nistp256_point_mul_public() 632 bits = fiat_p256_get_bit(g_scalar->bytes, i + 192) << 3; in ec_GFp_nistp256_point_mul_public() 633 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 128) << 2; in ec_GFp_nistp256_point_mul_public() 634 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 64) << 1; in ec_GFp_nistp256_point_mul_public() 635 bits |= fiat_p256_get_bit(g_scalar->bytes, i); in ec_GFp_nistp256_point_mul_public()
|
D | ec.c | 946 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, in EC_POINT_mul() argument 951 if ((g_scalar == NULL && p_scalar == NULL) || in EC_POINT_mul() 984 if (g_scalar != NULL) { in EC_POINT_mul() 986 if (!arbitrary_bignum_to_scalar(group, &scalar, g_scalar, ctx) || in EC_POINT_mul() 999 if (g_scalar == NULL) { in EC_POINT_mul() 1014 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 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() 1030 const EC_SCALAR *g_scalar, in ec_point_mul_scalar_public_batch() argument [all …]
|
D | internal.h | 388 const EC_SCALAR *g_scalar, 401 const EC_SCALAR *g_scalar, 502 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 506 const EC_SCALAR *g_scalar, const EC_RAW_POINT *points, 655 const EC_SCALAR *g_scalar,
|
D | p224-64.c | 1059 const EC_SCALAR *g_scalar, in ec_GFp_nistp224_point_mul_public() argument 1083 crypto_word_t bits = p224_get_bit(g_scalar->bytes, i + 196) << 3; in ec_GFp_nistp224_point_mul_public() 1084 bits |= p224_get_bit(g_scalar->bytes, i + 140) << 2; in ec_GFp_nistp224_point_mul_public() 1085 bits |= p224_get_bit(g_scalar->bytes, i + 84) << 1; in ec_GFp_nistp224_point_mul_public() 1086 bits |= p224_get_bit(g_scalar->bytes, i + 28); in ec_GFp_nistp224_point_mul_public() 1095 bits = p224_get_bit(g_scalar->bytes, i + 168) << 3; in ec_GFp_nistp224_point_mul_public() 1096 bits |= p224_get_bit(g_scalar->bytes, i + 112) << 2; in ec_GFp_nistp224_point_mul_public() 1097 bits |= p224_get_bit(g_scalar->bytes, i + 56) << 1; in ec_GFp_nistp224_point_mul_public() 1098 bits |= p224_get_bit(g_scalar->bytes, i); in ec_GFp_nistp224_point_mul_public()
|
D | p256-x86_64.c | 363 const EC_SCALAR *g_scalar, in ecp_nistz256_points_mul_public() argument 366 assert(p_ != NULL && p_scalar != NULL && g_scalar != NULL); in ecp_nistz256_points_mul_public() 370 OPENSSL_memcpy(p_str, g_scalar->bytes, 32); in ecp_nistz256_points_mul_public()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | wnaf.c | 183 const EC_SCALAR *g_scalar, in ec_GFp_mont_mul_public_batch() argument 219 if (g_scalar != NULL) { in ec_GFp_mont_mul_public_batch() 220 ec_compute_wNAF(group, g_wNAF, g_scalar, bits, EC_WNAF_WINDOW_BITS); in ec_GFp_mont_mul_public_batch() 237 if (g_scalar != NULL && g_wNAF[k] != 0) { in ec_GFp_mont_mul_public_batch()
|
D | p256.c | 581 const EC_SCALAR *g_scalar, in ec_GFp_nistp256_point_mul_public() argument 616 uint64_t bits = fiat_p256_get_bit(g_scalar->bytes, i + 224) << 3; in ec_GFp_nistp256_point_mul_public() 617 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 160) << 2; in ec_GFp_nistp256_point_mul_public() 618 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 96) << 1; in ec_GFp_nistp256_point_mul_public() 619 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 32); in ec_GFp_nistp256_point_mul_public() 629 bits = fiat_p256_get_bit(g_scalar->bytes, i + 192) << 3; in ec_GFp_nistp256_point_mul_public() 630 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 128) << 2; in ec_GFp_nistp256_point_mul_public() 631 bits |= fiat_p256_get_bit(g_scalar->bytes, i + 64) << 1; in ec_GFp_nistp256_point_mul_public() 632 bits |= fiat_p256_get_bit(g_scalar->bytes, i); in ec_GFp_nistp256_point_mul_public()
|
D | ec.c | 934 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, in EC_POINT_mul() argument 939 if ((g_scalar == NULL && p_scalar == NULL) || in EC_POINT_mul() 972 if (g_scalar != NULL) { in EC_POINT_mul() 974 if (!arbitrary_bignum_to_scalar(group, &scalar, g_scalar, ctx) || in EC_POINT_mul() 987 if (g_scalar == NULL) { in EC_POINT_mul() 1002 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 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() 1018 const EC_SCALAR *g_scalar, in ec_point_mul_scalar_public_batch() argument [all …]
|
D | internal.h | 388 const EC_SCALAR *g_scalar, 401 const EC_SCALAR *g_scalar, 502 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, 506 const EC_SCALAR *g_scalar, const EC_RAW_POINT *points, 655 const EC_SCALAR *g_scalar,
|
D | p224-64.c | 1059 const EC_SCALAR *g_scalar, in ec_GFp_nistp224_point_mul_public() argument 1083 uint64_t bits = p224_get_bit(g_scalar->bytes, i + 196) << 3; in ec_GFp_nistp224_point_mul_public() 1084 bits |= p224_get_bit(g_scalar->bytes, i + 140) << 2; in ec_GFp_nistp224_point_mul_public() 1085 bits |= p224_get_bit(g_scalar->bytes, i + 84) << 1; in ec_GFp_nistp224_point_mul_public() 1086 bits |= p224_get_bit(g_scalar->bytes, i + 28); in ec_GFp_nistp224_point_mul_public() 1094 bits = p224_get_bit(g_scalar->bytes, i + 168) << 3; in ec_GFp_nistp224_point_mul_public() 1095 bits |= p224_get_bit(g_scalar->bytes, i + 112) << 2; in ec_GFp_nistp224_point_mul_public() 1096 bits |= p224_get_bit(g_scalar->bytes, i + 56) << 1; in ec_GFp_nistp224_point_mul_public() 1097 bits |= p224_get_bit(g_scalar->bytes, i); in ec_GFp_nistp224_point_mul_public()
|
D | p256-x86_64.c | 362 const EC_SCALAR *g_scalar, in ecp_nistz256_points_mul_public() argument 365 assert(p_ != NULL && p_scalar != NULL && g_scalar != NULL); in ecp_nistz256_points_mul_public() 369 OPENSSL_memcpy(p_str, g_scalar->bytes, 32); in ecp_nistz256_points_mul_public()
|
/external/rust/crates/ring/src/ec/suite_b/ecdsa/ |
D | verification.rs | 195 g_scalar: &Scalar, in twin_mul() 200 let scaled_g = ops.point_mul_base(g_scalar); in twin_mul()
|
/external/rust/crates/ring/crypto/fipsmodule/ec/ |
D | ecp_nistz256.c | 313 const Limb g_scalar[P256_LIMBS]) { in GFp_nistz256_point_mul_base() 318 g_scalar, P256_LIMBS); in GFp_nistz256_point_mul_base()
|
/external/rust/crates/ring/src/ec/suite_b/ |
D | ops.rs | 999 let g_scalar = consume_scalar(ops.common, test_case, "g_scalar"); in point_mul_base_tests() localVariable 1001 let actual_result = ops.point_mul_base(&g_scalar); in point_mul_base_tests()
|