Searched refs:curve_bits (Results 1 – 5 of 5) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A 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()
|
| H A 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 …]
|
| H A 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()
|
| H A D | psa_crypto_ecp.h | 34 size_t curve_bits,
|
| /optee_os/lib/libmbedtls/mbedtls/include/psa/ |
| H A D | crypto_sizes.h | 618 #define PSA_ECDSA_SIGNATURE_SIZE(curve_bits) \ argument 619 (PSA_BITS_TO_BYTES(curve_bits) * 2u)
|