Home
last modified time | relevance | path

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

/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp235 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
236 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
240 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) in GenerateAttestation()
247 auto attestation_chain = getAttestationChain(key_algorithm, &error); in GenerateAttestation()
250 auto attestation_key = getAttestationKey(key_algorithm, &error); in GenerateAttestation()
Dsoft_keymaster_context.cpp450 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
451 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
455 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) in GenerateAttestation()
462 auto attestation_chain = getAttestationChain(key_algorithm, &error); in GenerateAttestation()
465 auto attestation_key = getAttestationKey(key_algorithm, &error); in GenerateAttestation()
Dpure_soft_keymaster_context.cpp228 keymaster_algorithm_t key_algorithm; in GenerateAttestation() local
229 if (!key.authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) { in GenerateAttestation()
233 if ((key_algorithm != KM_ALGORITHM_RSA && key_algorithm != KM_ALGORITHM_EC)) in GenerateAttestation()
240 auto attestation_chain = getAttestationChain(key_algorithm, &error); in GenerateAttestation()
243 auto attestation_key = getAttestationKey(key_algorithm, &error); in GenerateAttestation()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp270 keymaster_algorithm_t key_algorithm; in BeginOperation() local
271 if (!key->authorizations().GetTagValue(TAG_ALGORITHM, &key_algorithm)) in BeginOperation()