Home
last modified time | relevance | path

Searched refs:supported_digests (Results 1 – 8 of 8) sorted by relevance

/system/keymaster/legacy_support/
Decdsa_keymaster1_operation.cpp121 static const keymaster_digest_t supported_digests[] = { variable
127 *digest_count = array_length(supported_digests); in SupportedDigests()
128 return supported_digests; in SupportedDigests()
Drsa_keymaster1_operation.cpp149 static const keymaster_digest_t supported_digests[] = { variable
155 *digest_count = array_length(supported_digests); in SupportedDigests()
156 return supported_digests; in SupportedDigests()
Dkeymaster1_legacy_support.cpp125 auto supported_digests = digest_map.find(std::make_pair(algorithm, purpose)); in findUnsupportedDigest() local
126 if (supported_digests == digest_map.end()) in findUnsupportedDigest()
130 if (digest != KM_DIGEST_NONE && !contains(supported_digests->second, digest)) { in findUnsupportedDigest()
137 if (!contains(supported_digests->second, entry.enumerated)) { in findUnsupportedDigest()
/system/keymaster/km_openssl/
Dhmac_operation.cpp80 static keymaster_digest_t supported_digests[] = {KM_DIGEST_SHA1, KM_DIGEST_SHA_2_224, variable
84 *digest_count = array_length(supported_digests); in SupportedDigests()
85 return supported_digests; in SupportedDigests()
Decdsa_operation.cpp27 static const keymaster_digest_t supported_digests[] = {KM_DIGEST_NONE, KM_DIGEST_SHA1, variable
54 *digest_count = array_length(supported_digests); in SupportedDigests()
55 return supported_digests; in SupportedDigests()
Drsa_operation.cpp53 static const keymaster_digest_t supported_digests[] = { variable
58 *digest_count = array_length(supported_digests); in SupportedDigests()
59 return supported_digests; in SupportedDigests()
/system/keymaster/android_keymaster/
Doperation.cpp44 const keymaster_digest_t* supported_digests = SupportedDigests(&digest_count); in supported() local
46 if (digest == supported_digests[i]) in supported()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp673 auto supported_digests = km1_device_digests_.find(std::make_pair(algorithm, purpose)); in FindUnsupportedDigest() local
674 if (supported_digests == km1_device_digests_.end()) in FindUnsupportedDigest()
680 if (!contains(supported_digests->second, entry.enumerated)) { in FindUnsupportedDigest()