Lines Matching refs:characteristics
348 keymaster_key_characteristics_t* characteristics = in BuildCharacteristics() local
351 if (characteristics) { in BuildCharacteristics()
352 hw_enforced.CopyToParamSet(&characteristics->hw_enforced); in BuildCharacteristics()
353 sw_enforced.CopyToParamSet(&characteristics->sw_enforced); in BuildCharacteristics()
355 return characteristics; in BuildCharacteristics()
741 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) { in generate_key() argument
755 return km1_dev->generate_key(km1_dev, params, key_blob, characteristics); in generate_key()
769 if (characteristics) { in generate_key()
776 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in generate_key()
777 if (!*characteristics) in generate_key()
788 keymaster_key_characteristics_t* characteristics) { in generate_key() argument
827 characteristics ? &chars_ptr : nullptr); in generate_key()
831 if (characteristics) { in generate_key()
832 *characteristics = *chars_ptr; in generate_key()
851 if (characteristics) { in generate_key()
852 response.enforced.CopyToParamSet(&characteristics->hw_enforced); in generate_key()
853 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in generate_key()
863 keymaster_key_characteristics_t** characteristics) { in get_key_characteristics() argument
867 if (!characteristics) in get_key_characteristics()
873 app_data, characteristics); in get_key_characteristics()
896 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in get_key_characteristics()
897 if (!*characteristics) in get_key_characteristics()
907 keymaster_key_characteristics_t* characteristics) { in get_key_characteristics() argument
914 if (!characteristics) in get_key_characteristics()
928 response.enforced.CopyToParamSet(&characteristics->hw_enforced); in get_key_characteristics()
929 response.unenforced.CopyToParamSet(&characteristics->sw_enforced); in get_key_characteristics()
938 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) { in import_key() argument
953 characteristics); in import_key()
955 if (characteristics) in import_key()
956 *characteristics = nullptr; in import_key()
973 if (characteristics) { in import_key()
974 *characteristics = BuildCharacteristics(response.enforced, response.unenforced); in import_key()
975 if (!*characteristics) in import_key()
985 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t* characteristics) { in import_key() argument
995 if (characteristics) { in import_key()
1000 *characteristics = *characteristics_ptr; in import_key()