Lines Matching refs:attributes

210     const psa_key_attributes_t *attributes,  in mbedtls_psa_ecp_import_key()  argument
219 status = mbedtls_psa_ecp_load_representation(attributes->type, in mbedtls_psa_ecp_import_key()
220 attributes->bits, in mbedtls_psa_ecp_import_key()
228 if (PSA_KEY_TYPE_ECC_GET_FAMILY(attributes->type) == in mbedtls_psa_ecp_import_key()
238 status = mbedtls_psa_ecp_export_key(attributes->type, in mbedtls_psa_ecp_import_key()
291 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_export_public_key() argument
299 attributes->type, attributes->bits, in mbedtls_psa_ecp_export_public_key()
307 PSA_KEY_TYPE_ECC_GET_FAMILY(attributes->type)), in mbedtls_psa_ecp_export_public_key()
321 const psa_key_attributes_t *attributes, in mbedtls_psa_ecp_generate_key() argument
328 attributes->type); in mbedtls_psa_ecp_generate_key()
330 mbedtls_ecc_group_from_psa(curve, attributes->bits); in mbedtls_psa_ecp_generate_key()
366 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_sign_hash() argument
377 status = mbedtls_psa_ecp_load_representation(attributes->type, in mbedtls_psa_ecdsa_sign_hash()
378 attributes->bits, in mbedtls_psa_ecdsa_sign_hash()
452 const psa_key_attributes_t *attributes, in mbedtls_psa_ecdsa_verify_hash() argument
464 status = mbedtls_psa_ecp_load_representation(attributes->type, in mbedtls_psa_ecdsa_verify_hash()
465 attributes->bits, in mbedtls_psa_ecdsa_verify_hash()
522 const psa_key_attributes_t *attributes, in mbedtls_psa_key_agreement_ecdh() argument
529 if (!PSA_KEY_TYPE_IS_ECC_KEY_PAIR(attributes->type) || in mbedtls_psa_key_agreement_ecdh()
535 attributes->type, in mbedtls_psa_key_agreement_ecdh()
536 attributes->bits, in mbedtls_psa_key_agreement_ecdh()