Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 6 of 6) sorted by relevance

/optee_test-3.20.0/host/xtest/
A Dxtest_helpers.c106 attrs[*attr_count].attributeID = attr_id; in xtest_add_attr()
115 attrs[*attr_count].attributeID = attr_id; in xtest_add_attr_value()
145 if (!attrs[n].content.ref.buffer) in pack_attrs()
165 a[n].attr_id = attrs[n].attributeID; in pack_attrs()
167 a[n].a = attrs[n].content.value.a; in pack_attrs()
168 a[n].b = attrs[n].content.value.b; in pack_attrs()
172 a[n].b = attrs[n].content.ref.length; in pack_attrs()
174 if (!attrs[n].content.ref.buffer) { in pack_attrs()
179 memcpy(b, attrs[n].content.ref.buffer, in pack_attrs()
180 attrs[n].content.ref.length); in pack_attrs()
[all …]
A Dxtest_helpers.h61 const TEE_Attribute *attrs,
98 void xtest_add_attr(size_t *attr_count, TEE_Attribute *attrs,
100 void xtest_add_attr_value(size_t *attr_count, TEE_Attribute *attrs,
103 TEE_Result pack_attrs(const TEE_Attribute *attrs, uint32_t attr_count,
A Dregression_4000.c4207 if (attrs[m].keysize_check) in test_keygen_attributes()
4226 attrs[m].attr, &a, &b))) in test_keygen_attributes()
4242 ARRAY_SIZE(attrs)); in test_secret_value()
4262 ARRAY_SIZE(attrs)); in test_rsa_key_pair()
4277 ARRAY_SIZE(attrs)); in test_ecc_key_pair()
4293 ARRAY_SIZE(attrs)); in test_dh_key_pair()
4309 ARRAY_SIZE(attrs)); in test_dsa_key_pair()
4322 ARRAY_SIZE(attrs)); in test_x25519_key_pair()
4335 ARRAY_SIZE(attrs)); in test_ed25519_key_pair()
5884 TEE_Attribute attrs[2] = { }; in xtest_tee_test_4016_ed25519() local
[all …]
/optee_test-3.20.0/ta/crypt/
A Dcryp_taf.c457 *attrs = a; in unpack_attrs()
479 &attrs, &attr_count); in ta_entry_populate_transient_object()
484 TEE_Free(attrs); in ta_entry_populate_transient_object()
514 &attrs, &attr_count); in ta_entry_generate_key()
519 TEE_Free(attrs); in ta_entry_generate_key()
537 &attrs, &attr_count); in ta_entry_asymmetric_encrypt()
544 TEE_Free(attrs); in ta_entry_asymmetric_encrypt()
569 TEE_Free(attrs); in ta_entry_asymmetric_decrypt()
595 TEE_Free(attrs); in ta_entry_asymmetric_sign_digest()
621 TEE_Free(attrs); in ta_entry_asymmetric_verify_digest()
[all …]
/optee_test-3.20.0/host/xtest/gp/include/
A Dxml_datastorage_api.h1811 const uint32_t attrs[] = { in Macro_GetDHAttributes() local
1817 return GetAttributes_helper(c, sess, obj, attrs, in Macro_GetDHAttributes()
1818 sizeof(attrs) / sizeof(attrs[0])); in Macro_GetDHAttributes()
1839 const uint32_t attrs[] = { in Macro_GetRSAAttributes() local
1846 return GetAttributes_helper(c, sess, obj, attrs, in Macro_GetRSAAttributes()
1847 sizeof(attrs) / sizeof(attrs[0])); in Macro_GetRSAAttributes()
/optee_test-3.20.0/host/openssl/include/openssl/
A Dpkcs12.h211 ASN1_TYPE *PKCS12_get_attr_gen(STACK_OF(X509_ATTRIBUTE) *attrs, int attr_nid);

Completed in 23 milliseconds