Home
last modified time | relevance | path

Searched refs:g_scalar (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/third_party/fiat/
Dp256.c918 const EC_SCALAR *g_scalar, in ec_GFp_nistp256_point_mul_public() argument
952 uint64_t bits = get_bit(g_scalar->bytes, i + 224) << 3; in ec_GFp_nistp256_point_mul_public()
953 bits |= get_bit(g_scalar->bytes, i + 160) << 2; in ec_GFp_nistp256_point_mul_public()
954 bits |= get_bit(g_scalar->bytes, i + 96) << 1; in ec_GFp_nistp256_point_mul_public()
955 bits |= get_bit(g_scalar->bytes, i + 32); in ec_GFp_nistp256_point_mul_public()
962 bits = get_bit(g_scalar->bytes, i + 192) << 3; in ec_GFp_nistp256_point_mul_public()
963 bits |= get_bit(g_scalar->bytes, i + 128) << 2; in ec_GFp_nistp256_point_mul_public()
964 bits |= get_bit(g_scalar->bytes, i + 64) << 1; in ec_GFp_nistp256_point_mul_public()
965 bits |= get_bit(g_scalar->bytes, i); in ec_GFp_nistp256_point_mul_public()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c877 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, in EC_POINT_mul() argument
882 if ((g_scalar == NULL && p_scalar == NULL) || in EC_POINT_mul()
915 if (g_scalar != NULL) { in EC_POINT_mul()
917 if (!arbitrary_bignum_to_scalar(group, &scalar, g_scalar, ctx) || in EC_POINT_mul()
930 if (g_scalar == NULL) { in EC_POINT_mul()
945 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_point_mul_scalar_public() argument
947 if (g_scalar == NULL || p_scalar == NULL || p == NULL) { in ec_point_mul_scalar_public()
952 group->meth->mul_public(group, r, g_scalar, p, p_scalar); in ec_point_mul_scalar_public()
Dp224-64.c1059 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()
Dwnaf.c178 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p, in ec_GFp_mont_mul_public() argument
187 ec_compute_wNAF(group, g_wNAF, g_scalar, bits, EC_WNAF_WINDOW_BITS); in ec_GFp_mont_mul_public()
Dinternal.h153 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p,
342 const EC_SCALAR *g_scalar,
390 const EC_SCALAR *g_scalar, const EC_RAW_POINT *p,
Dp256-x86_64.c375 const EC_SCALAR *g_scalar, in ecp_nistz256_points_mul_public() argument
378 assert(p_ != NULL && p_scalar != NULL && g_scalar != NULL); in ecp_nistz256_points_mul_public()
382 OPENSSL_memcpy(p_str, g_scalar->bytes, 32); in ecp_nistz256_points_mul_public()