Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java323 byte[] sha1 = MessageDigest.getInstance("SHA-1").digest(saltedPassword); in legacyPasswordToHash()
326 byte[] combined = new byte[sha1.length + md5.length]; in legacyPasswordToHash()
327 System.arraycopy(sha1, 0, combined, 0, sha1.length); in legacyPasswordToHash()
328 System.arraycopy(md5, 0, combined, sha1.length, md5.length); in legacyPasswordToHash()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java616 byte[] sha1 = UiccAccessRule.getCertHash(signature, SHA_1); in updateCertsForPackage()
617 certs.add(IccUtils.bytesToHexString(sha1).toUpperCase()); in updateCertsForPackage()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DInstallationAsyncTask.java761 String publicKey = toHexString(avbPublicKey.sha1); in installImage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java1167 MessageDigest sha1 = MessageDigest.getInstance(SHA_1); in getHash() local
1168 byte[] result = sha1.digest(IccUtils.hexStringToBytes(hexString)); in getHash()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp136 static std::string sha1(const std::string& in) { in sha1() function
1334 identifier.descriptor = sha1(rawDescriptor); in generateDescriptor()