Lines Matching refs:characteristics
202 static void ConvertCharacteristics(const keymaster_key_characteristics_t& characteristics, in ConvertCharacteristics() argument
205 hw_enforced->Reinitialize(characteristics.hw_enforced); in ConvertCharacteristics()
207 sw_enforced->Reinitialize(characteristics.sw_enforced); in ConvertCharacteristics()
218 keymaster_key_characteristics_t* characteristics = nullptr; in GenerateKey() local
221 &blob, &characteristics); in GenerateKey()
228 ConvertCharacteristics(*characteristics, hw_enforced, sw_enforced); in GenerateKey()
229 keymaster_free_characteristics(characteristics); in GenerateKey()
230 free (characteristics); in GenerateKey()
241 keymaster_key_characteristics_t characteristics = {}; in GenerateKey() local
244 &blob, &characteristics); in GenerateKey()
251 ConvertCharacteristics(characteristics, hw_enforced, sw_enforced); in GenerateKey()
252 keymaster_free_characteristics(&characteristics); in GenerateKey()
266 keymaster_key_characteristics_t* characteristics = {}; in ImportKey() local
272 &blob, &characteristics); in ImportKey()
279 ConvertCharacteristics(*characteristics, hw_enforced, sw_enforced); in ImportKey()
280 keymaster_free_characteristics(characteristics); in ImportKey()
281 free(characteristics); in ImportKey()
295 keymaster_key_characteristics_t characteristics = {}; in ImportKey() local
301 &blob, &characteristics); in ImportKey()
309 ConvertCharacteristics(characteristics, hw_enforced, sw_enforced); in ImportKey()
310 keymaster_free_characteristics(&characteristics); in ImportKey()