Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dec_key_factory.cpp379 AuthorizationSet* updated_description, in UpdateImportKeyDescription() argument
381 if (!updated_description || !key_size_bits) return KM_ERROR_OUTPUT_PARAMETER_NULL; in UpdateImportKeyDescription()
388 updated_description->Reinitialize(key_description); in UpdateImportKeyDescription()
391 if (!updated_description->GetTagValue(TAG_ALGORITHM, &algorithm)) { in UpdateImportKeyDescription()
392 updated_description->push_back(TAG_ALGORITHM, KM_ALGORITHM_EC); in UpdateImportKeyDescription()
407 if (!updated_description->GetTagValue(TAG_KEY_SIZE, key_size_bits)) { in UpdateImportKeyDescription()
408 updated_description->push_back(TAG_KEY_SIZE, extracted_key_size_bits); in UpdateImportKeyDescription()
417 if (!updated_description->GetTagValue(TAG_EC_CURVE, &curve)) { in UpdateImportKeyDescription()
418 updated_description->push_back(TAG_EC_CURVE, curve_from_size); in UpdateImportKeyDescription()
426 if (!updated_description->GetTagValue(TAG_EC_CURVE, &curve)) { in UpdateImportKeyDescription()
[all …]
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()
/system/keymaster/include/keymaster/km_openssl/
Drsa_key_factory.h60 AuthorizationSet* updated_description,
Dec_key_factory.h66 AuthorizationSet* updated_description,