Home
last modified time | relevance | path

Searched refs:updated_description (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/km_openssl/
Drsa_key_factory.cpp171 AuthorizationSet* updated_description, in UpdateImportKeyDescription() argument
174 if (!updated_description || !public_exponent || !key_size) in UpdateImportKeyDescription()
185 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
189 if (!updated_description->GetTagValue(TAG_RSA_PUBLIC_EXPONENT, public_exponent)) in UpdateImportKeyDescription()
190 updated_description->push_back(TAG_RSA_PUBLIC_EXPONENT, *public_exponent); in UpdateImportKeyDescription()
198 if (!updated_description->GetTagValue(TAG_KEY_SIZE, key_size)) in UpdateImportKeyDescription()
199 updated_description->push_back(TAG_KEY_SIZE, *key_size); in UpdateImportKeyDescription()
207 if (!updated_description->GetTagValue(TAG_ALGORITHM, &algorithm)) in UpdateImportKeyDescription()
208 updated_description->push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in UpdateImportKeyDescription()
Dec_key_factory.cpp198 AuthorizationSet* updated_description, in UpdateImportKeyDescription() argument
200 if (!updated_description || !key_size_bits) return KM_ERROR_OUTPUT_PARAMETER_NULL; in UpdateImportKeyDescription()
210 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
217 if (!updated_description->GetTagValue(TAG_KEY_SIZE, key_size_bits)) { in UpdateImportKeyDescription()
218 updated_description->push_back(TAG_KEY_SIZE, extracted_key_size_bits); in UpdateImportKeyDescription()
227 if (!updated_description->GetTagValue(TAG_EC_CURVE, &curve)) { in UpdateImportKeyDescription()
228 updated_description->push_back(TAG_EC_CURVE, curve_from_size); in UpdateImportKeyDescription()
234 if (!updated_description->GetTagValue(TAG_ALGORITHM, &algorithm)) { in UpdateImportKeyDescription()
235 updated_description->push_back(TAG_ALGORITHM, KM_ALGORITHM_EC); in UpdateImportKeyDescription()
/system/keymaster/include/keymaster/km_openssl/
Drsa_key_factory.h61 AuthorizationSet* updated_description,
Dec_key_factory.h58 AuthorizationSet* updated_description,