Lines Matching refs:attrs
407 TEE_Attribute **attrs, uint32_t *attr_count) in unpack_attrs() argument
457 *attrs = a; in unpack_attrs()
469 TEE_Attribute *attrs = NULL; in ta_entry_populate_transient_object() local
479 &attrs, &attr_count); in ta_entry_populate_transient_object()
483 res = TEE_PopulateTransientObject(o, attrs, attr_count); in ta_entry_populate_transient_object()
484 TEE_Free(attrs); in ta_entry_populate_transient_object()
505 TEE_Attribute *attrs = NULL; in ta_entry_generate_key() local
514 &attrs, &attr_count); in ta_entry_generate_key()
518 res = TEE_GenerateKey(o, params[0].value.b, attrs, attr_count); in ta_entry_generate_key()
519 TEE_Free(attrs); in ta_entry_generate_key()
527 TEE_Attribute *attrs = NULL; in ta_entry_asymmetric_encrypt() local
537 &attrs, &attr_count); in ta_entry_asymmetric_encrypt()
541 res = TEE_AsymmetricEncrypt(op, attrs, attr_count, in ta_entry_asymmetric_encrypt()
544 TEE_Free(attrs); in ta_entry_asymmetric_encrypt()
552 TEE_Attribute *attrs = NULL; in ta_entry_asymmetric_decrypt() local
562 &attrs, &attr_count); in ta_entry_asymmetric_decrypt()
566 res = TEE_AsymmetricDecrypt(op, attrs, attr_count, in ta_entry_asymmetric_decrypt()
569 TEE_Free(attrs); in ta_entry_asymmetric_decrypt()
578 TEE_Attribute *attrs = NULL; in ta_entry_asymmetric_sign_digest() local
588 &attrs, &attr_count); in ta_entry_asymmetric_sign_digest()
592 res = TEE_AsymmetricSignDigest(op, attrs, attr_count, in ta_entry_asymmetric_sign_digest()
595 TEE_Free(attrs); in ta_entry_asymmetric_sign_digest()
604 TEE_Attribute *attrs = NULL; in ta_entry_asymmetric_verify_digest() local
614 &attrs, &attr_count); in ta_entry_asymmetric_verify_digest()
618 res = TEE_AsymmetricVerifyDigest(op, attrs, attr_count, in ta_entry_asymmetric_verify_digest()
621 TEE_Free(attrs); in ta_entry_asymmetric_verify_digest()
630 TEE_Attribute *attrs = NULL; in ta_entry_derive_key() local
639 &attrs, &attr_count); in ta_entry_derive_key()
643 TEE_DeriveKey(op, attrs, attr_count, key); in ta_entry_derive_key()
644 TEE_Free(attrs); in ta_entry_derive_key()