Lines Matching refs:attrs

3609 		       TEE_Attribute *attrs, size_t num_attrs,  in create_key()  argument
3620 ta_crypt_cmd_populate_transient_object(c, s, *handle, attrs, in create_key()
3628 if (attrs[n].attributeID == TEE_ATTR_ECC_CURVE) in create_key()
3633 attrs[n].attributeID, out, &out_size))) in create_key()
3636 if (out_size < attrs[n].content.ref.length) { in create_key()
3637 memmove(out + (attrs[n].content.ref.length - out_size), in create_key()
3639 attrs[n].content.ref.length); in create_key()
3640 memset(out, 0, attrs[n].content.ref.length - out_size); in create_key()
3641 out_size = attrs[n].content.ref.length; in create_key()
3644 if (!ADBG_EXPECT_BUFFER(c, attrs[n].content.ref.buffer, in create_key()
3645 attrs[n].content.ref.length, out, out_size)) in create_key()
4191 struct key_attrs *attrs, size_t num_attrs) in test_keygen_attributes() argument
4199 if ((attrs[m].attr & TEE_ATTR_BIT_VALUE) == 0) { in test_keygen_attributes()
4204 key, attrs[m].attr, out, &out_size))) in test_keygen_attributes()
4207 if (attrs[m].keysize_check) in test_keygen_attributes()
4226 attrs[m].attr, &a, &b))) in test_keygen_attributes()
4236 const struct key_attrs attrs[] = { in test_secret_value() local
4241 (struct key_attrs *)&attrs, in test_secret_value()
4242 ARRAY_SIZE(attrs)); in test_secret_value()
4249 const struct key_attrs attrs[] = { in test_rsa_key_pair() local
4261 (struct key_attrs *)&attrs, in test_rsa_key_pair()
4262 ARRAY_SIZE(attrs)); in test_rsa_key_pair()
4268 const struct key_attrs attrs[] = { in test_ecc_key_pair() local
4276 (struct key_attrs *)&attrs, in test_ecc_key_pair()
4277 ARRAY_SIZE(attrs)); in test_ecc_key_pair()
4283 const struct key_attrs attrs[] = { in test_dh_key_pair() local
4292 (struct key_attrs *)&attrs, in test_dh_key_pair()
4293 ARRAY_SIZE(attrs)); in test_dh_key_pair()
4299 const struct key_attrs attrs[] = { in test_dsa_key_pair() local
4308 (struct key_attrs *)&attrs, in test_dsa_key_pair()
4309 ARRAY_SIZE(attrs)); in test_dsa_key_pair()
4315 const struct key_attrs attrs[] = { in test_x25519_key_pair() local
4321 (struct key_attrs *)&attrs, in test_x25519_key_pair()
4322 ARRAY_SIZE(attrs)); in test_x25519_key_pair()
4328 const struct key_attrs attrs[] = { in test_ed25519_key_pair() local
4334 (struct key_attrs *)&attrs, in test_ed25519_key_pair()
4335 ARRAY_SIZE(attrs)); in test_ed25519_key_pair()
5884 TEE_Attribute attrs[2] = { }; in xtest_tee_test_4016_ed25519() local
5924 xtest_add_attr_value(&num_attrs, attrs, in xtest_tee_test_4016_ed25519()
5928 xtest_add_attr(&num_attrs, attrs, TEE_ATTR_EDDSA_CTX, in xtest_tee_test_4016_ed25519()
5954 attrs, num_attrs, tv->ptx, in xtest_tee_test_4016_ed25519()
5977 attrs, num_attrs, in xtest_tee_test_4016_ed25519()