Searched refs:curve_bits (Results 1 – 4 of 4) sorted by relevance
46 psa_key_type_t type, size_t curve_bits, in mbedtls_psa_ecp_load_representation() argument54 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()
46 size_t curve_bits,
737 size_t curve_bits; in ecdsa_verify_wrap() local739 mbedtls_ecc_group_to_psa(ctx->grp.id, &curve_bits); in ecdsa_verify_wrap()925 size_t curve_bits; in ecdsa_sign_wrap() local927 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()
565 #define PSA_ECDSA_SIGNATURE_SIZE(curve_bits) \ argument566 (PSA_BITS_TO_BYTES(curve_bits) * 2)