Home
last modified time | relevance | path

Searched refs:scalar (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/3rdparty/everest/library/
DHacl_Curve25519.c558 static void Hacl_EC_Format_scalar_of_point(uint8_t *scalar, uint64_t *point) in Hacl_EC_Format_scalar_of_point() argument
567 Hacl_EC_Format_fcontract(scalar, sc); in Hacl_EC_Format_scalar_of_point()
602 uint64_t scalar; in Hacl_EC_AddAndDouble_fmonty() local
630 scalar = (uint64_t)121665U; in Hacl_EC_AddAndDouble_fmonty()
631 Hacl_Bignum_fscalar(zzz, zz, scalar); in Hacl_EC_AddAndDouble_fmonty()
740 uint8_t *scalar; in Hacl_Curve25519_crypto_scalarmult() local
749 scalar = e; in Hacl_Curve25519_crypto_scalarmult()
755 Hacl_EC_Ladder_cmult(nq, scalar, q); in Hacl_Curve25519_crypto_scalarmult()
/mbedtls-latest/3rdparty/everest/library/legacy/
DHacl_Curve25519.c603 static void Hacl_EC_Format_scalar_of_point(uint8_t *scalar, uint64_t *point) in Hacl_EC_Format_scalar_of_point() argument
612 Hacl_EC_Format_fcontract(scalar, sc); in Hacl_EC_Format_scalar_of_point()
647 uint64_t scalar; in Hacl_EC_AddAndDouble_fmonty() local
675 scalar = (uint64_t)121665U; in Hacl_EC_AddAndDouble_fmonty()
676 Hacl_Bignum_fscalar(zzz, zz, scalar); in Hacl_EC_AddAndDouble_fmonty()
785 uint8_t *scalar; in Hacl_Curve25519_crypto_scalarmult() local
794 scalar = e; in Hacl_Curve25519_crypto_scalarmult()
800 Hacl_EC_Ladder_cmult(nq, scalar, q); in Hacl_Curve25519_crypto_scalarmult()
/mbedtls-latest/library/
Dbn_mul.h776 : [scalar] "r" (b) \
816 : [scalar] "r" (b) \
/mbedtls-latest/3rdparty/p256-m/p256-m/
DREADME.md384 The crucial function here is scalar multiplication. It uses a signed binary
388 signed binary ladder only works if the scalar is odd; this is ensured by
389 negating both the scalar (mod n) and the input point if necessary.
393 - scalar multiplication
395 - generation of a scalar and its associated public key
/mbedtls-latest/tests/suites/
Dtest_suite_bignum_core.function708 /* We are testing A += B * s; A, B are MPIs, s is a scalar.
736 /* The MPI encoding of scalar s must be only 1 limb */
1297 /* We are testing A - b, where A is an MPI and b is a scalar, expecting
1311 /* The MPI encoding of scalar b must be only 1 limb */
/mbedtls-latest/docs/
D3.0-migration-guide.md485 and ECDH that compute the shared secret; the scalar multiplication functions in
/mbedtls-latest/
DChangeLog1771 in DHM and ECDH that compute the shared secret; the scalar multiplication