Home
last modified time | relevance | path

Searched refs:curve_bits (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/library/
Dpsa_crypto_ecp.c46 psa_key_type_t type, size_t curve_bits, in mbedtls_psa_ecp_load_representation() argument
54 int explicit_bits = (curve_bits != 0); in mbedtls_psa_ecp_load_representation()
78 if (curve_bytes != PSA_BITS_TO_BYTES(curve_bits)) { in mbedtls_psa_ecp_load_representation()
85 curve_bits = PSA_BYTES_TO_BITS(curve_bytes); in mbedtls_psa_ecp_load_representation()
97 curve_bits, !explicit_bits); in mbedtls_psa_ecp_load_representation()
Dpsa_crypto_ecp.h46 size_t curve_bits,
Dpk_wrap.c737 size_t curve_bits; in ecdsa_verify_wrap() local
739 mbedtls_ecc_group_to_psa(ctx->grp.id, &curve_bits); in ecdsa_verify_wrap()
925 size_t curve_bits; in ecdsa_sign_wrap() local
927 mbedtls_ecc_group_to_psa(ctx->grp.id, &curve_bits); in ecdsa_sign_wrap()
928 size_t key_len = PSA_BITS_TO_BYTES(curve_bits); in ecdsa_sign_wrap()
/third_party/mbedtls/include/psa/
Dcrypto_sizes.h565 #define PSA_ECDSA_SIGNATURE_SIZE(curve_bits) \ argument
566 (PSA_BITS_TO_BYTES(curve_bits) * 2)