Searched refs:curve_bits (Results 1 – 6 of 6) sorted by relevance
/mbedtls-latest/library/ |
D | pk_wrap.c | 539 psa_ecc_family_t curve, size_t curve_bits, in ecdsa_verify_psa() argument 547 size_t signature_len = PSA_ECDSA_SIGNATURE_SIZE(curve_bits); in ecdsa_verify_psa() 573 ret = mbedtls_ecdsa_der_to_raw(curve_bits, p, sig_len, extracted_sig, in ecdsa_verify_psa() 612 size_t curve_bits; in ecdsa_opaque_verify_wrap() local 620 curve_bits = psa_get_key_bits(&key_attr); in ecdsa_opaque_verify_wrap() 628 return ecdsa_verify_psa(key, key_len, curve, curve_bits, in ecdsa_opaque_verify_wrap() 640 size_t curve_bits = pk->ec_bits; in ecdsa_verify_wrap() local 642 return ecdsa_verify_psa(pk->pub_raw, pk->pub_raw_len, curve, curve_bits, in ecdsa_verify_wrap() 656 size_t curve_bits; in ecdsa_verify_wrap() local 657 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(ctx->grp.id, &curve_bits); in ecdsa_verify_wrap() [all …]
|
D | psa_crypto_ecp.c | 91 psa_key_type_t type, size_t curve_bits, in mbedtls_psa_ecp_load_representation() argument 99 int explicit_bits = (curve_bits != 0); in mbedtls_psa_ecp_load_representation() 123 if (curve_bytes != PSA_BITS_TO_BYTES(curve_bits)) { in mbedtls_psa_ecp_load_representation() 130 curve_bits = PSA_BYTES_TO_BITS(curve_bytes); in mbedtls_psa_ecp_load_representation() 140 status = check_ecc_parameters(PSA_KEY_TYPE_ECC_GET_FAMILY(type), &curve_bits); in mbedtls_psa_ecp_load_representation() 147 curve_bits); in mbedtls_psa_ecp_load_representation()
|
D | pk_ecc.c | 107 size_t curve_bits; in mbedtls_pk_ecc_set_pubkey_from_prv() 108 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(eck->grp.id, &curve_bits); in mbedtls_pk_ecc_set_pubkey_from_prv()
|
D | psa_crypto_ecp.h | 34 size_t curve_bits,
|
/mbedtls-latest/tests/suites/ |
D | test_suite_ecp.function | 1569 size_t curve_bits; 1584 curve_bits = 192; 1591 curve_bits = 224; 1598 curve_bits = 256; 1605 curve_bits = 384; 1612 curve_bits = 521; 1619 curve_bits = 192; 1626 curve_bits = 224; 1633 curve_bits = 256; 1640 curve_bits = 255; [all …]
|
/mbedtls-latest/include/psa/ |
D | crypto_sizes.h | 618 #define PSA_ECDSA_SIGNATURE_SIZE(curve_bits) \ argument 619 (PSA_BITS_TO_BYTES(curve_bits) * 2u)
|