Lines Matching refs:key_description
44 keymaster_error_t EcKeyFactory::GetCurveAndSize(const AuthorizationSet& key_description,
47 if (!key_description.GetTagValue(TAG_EC_CURVE, curve)) {
49 if (!key_description.GetTagValue(TAG_KEY_SIZE, key_size_bits)) {
63 if (key_description.GetTagValue(TAG_KEY_SIZE, &tag_key_size_bits) &&
74 keymaster_error_t EcKeyFactory::GenerateKey(const AuthorizationSet& key_description,
81 AuthorizationSet authorizations(key_description);
127 keymaster_error_t EcKeyFactory::ImportKey(const AuthorizationSet& key_description,
139 key_description, input_key_material_format, input_key_material, &authorizations, &key_size);
147 keymaster_error_t EcKeyFactory::UpdateImportKeyDescription(const AuthorizationSet& key_description,
165 updated_description->Reinitialize(key_description);