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()
398 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
402 else if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
407 if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
411 else if (pkcs2tee_load_attr(&attrs[count], in load_tee_ec_key_attrs()
427 *tee_attrs = attrs; in load_tee_ec_key_attrs()
430 TEE_Free(attrs); in load_tee_ec_key_attrs()
666 TEE_Attribute *attrs = NULL; in load_tee_eddsa_key_attrs() local
674 attrs = TEE_Malloc(sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs()
676 if (!attrs) in load_tee_eddsa_key_attrs()
679 if (pkcs2tee_load_attr(&attrs[count], in load_tee_eddsa_key_attrs()
690 attrs = TEE_Malloc(2 * sizeof(TEE_Attribute), in load_tee_eddsa_key_attrs()
692 if (!attrs) in load_tee_eddsa_key_attrs()
695 if (pkcs2tee_load_attr(&attrs[count], in load_tee_eddsa_key_attrs()
700 if (pkcs2tee_load_attr(&attrs[count], in load_tee_eddsa_key_attrs()
716 *tee_attrs = attrs; in load_tee_eddsa_key_attrs()
719 TEE_Free(attrs); in load_tee_eddsa_key_attrs()