Home
last modified time | relevance | path

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

/system/keymaster/contexts/
Dsoft_keymaster_context.cpp370 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
371 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
376 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
391 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate() local
392 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateSelfSignedCertificate()
397 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateSelfSignedCertificate()
Dpure_soft_keymaster_context.cpp343 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
344 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
349 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
371 keymaster_algorithm_t key_algorithm; in GenerateSelfSignedCertificate() local
372 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateSelfSignedCertificate()
377 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateSelfSignedCertificate()
Dkeymaster1_passthrough_context.cpp232 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
233 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
238 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) { in GenerateAttestation()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp546 keymaster_algorithm_t key_algorithm; in BeginOperation() local
547 if (!key->authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) return; in BeginOperation()