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.cpp118 static const keymaster_digest_t supported_digests[] = { variable
124 *digest_count = array_length(supported_digests); in SupportedDigests()
125 return supported_digests; in SupportedDigests()
Drsa_keymaster1_operation.cpp146 static const keymaster_digest_t supported_digests[] = { variable
152 *digest_count = array_length(supported_digests); in SupportedDigests()
153 return supported_digests; in SupportedDigests()
Dkeymaster1_legacy_support.cpp120 auto supported_digests = digest_map.find(std::make_pair(algorithm, purpose)); in findUnsupportedDigest() local
121 if (supported_digests == digest_map.end()) in findUnsupportedDigest()
125 if (digest != KM_DIGEST_NONE && !contains(supported_digests->second, digest)) { in findUnsupportedDigest()
132 if (!contains(supported_digests->second, entry.enumerated)) { in findUnsupportedDigest()
/system/keymaster/km_openssl/
Dhmac_operation.cpp83 static keymaster_digest_t supported_digests[] = {KM_DIGEST_SHA1, KM_DIGEST_SHA_2_224, variable
87 *digest_count = array_length(supported_digests); in SupportedDigests()
88 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.cpp52 static const keymaster_digest_t supported_digests[] = { variable
57 *digest_count = array_length(supported_digests); in SupportedDigests()
58 return supported_digests; in SupportedDigests()
/system/keymaster/android_keymaster/
Doperation.cpp41 const keymaster_digest_t* supported_digests = SupportedDigests(&digest_count); in supported() local
43 if (digest == supported_digests[i]) return true; in supported()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp618 auto supported_digests = km1_device_digests_.find(std::make_pair(algorithm, purpose)); in FindUnsupportedDigest() local
619 if (supported_digests == km1_device_digests_.end()) in FindUnsupportedDigest()
625 if (!contains(supported_digests->second, entry.enumerated)) { in FindUnsupportedDigest()