Lines Matching refs:attrs

344 	TEE_Attribute *attrs = NULL;  in load_tee_ec_key_attrs()  local
352 attrs = TEE_Malloc(3 * sizeof(TEE_Attribute), in load_tee_ec_key_attrs()
354 if (!attrs) in load_tee_ec_key_attrs()
357 if (pkcs2tee_load_attr(&attrs[count], TEE_ATTR_ECC_CURVE, in load_tee_ec_key_attrs()
361 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
366 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
377 attrs = TEE_Malloc(4 * sizeof(TEE_Attribute), in load_tee_ec_key_attrs()
379 if (!attrs) in load_tee_ec_key_attrs()
382 if (pkcs2tee_load_attr(&attrs[count], TEE_ATTR_ECC_CURVE, in load_tee_ec_key_attrs()
386 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
391 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
396 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
412 *tee_attrs = attrs; in load_tee_ec_key_attrs()
415 TEE_Free(attrs); in load_tee_ec_key_attrs()
649 TEE_Attribute *attrs = NULL; in load_tee_eddsa_key_attrs() local
657 attrs = TEE_Malloc(sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs()
659 if (!attrs) in load_tee_eddsa_key_attrs()
662 if (pkcs2tee_load_attr(&attrs[count], in load_tee_eddsa_key_attrs()
673 attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs()
675 if (!attrs) in load_tee_eddsa_key_attrs()
678 if (pkcs2tee_load_attr(&attrs[count], in load_tee_eddsa_key_attrs()
683 if (pkcs2tee_load_attr(&attrs[count], in load_tee_eddsa_key_attrs()
699 *tee_attrs = attrs; in load_tee_eddsa_key_attrs()
702 TEE_Free(attrs); in load_tee_eddsa_key_attrs()