Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/
DHkdf.java75 Mac sha256; in hkdfSha256Extract() local
77 sha256 = Mac.getInstance(HmacSHA256); in hkdfSha256Extract()
82 sha256.init(new SecretKeySpec(salt, AES)); in hkdfSha256Extract()
84 return sha256.doFinal(inputKeyMaterial); in hkdfSha256Extract()
102 Mac sha256; in hkdfSha256Expand() local
104 sha256 = Mac.getInstance(HmacSHA256); in hkdfSha256Expand()
109 sha256.init(new SecretKeySpec(pseudoRandomKey, AES)); in hkdfSha256Expand()
111 sha256.update(info); in hkdfSha256Expand()
112 sha256.update(CONSTANT_01); in hkdfSha256Expand()
113 return sha256.doFinal(); in hkdfSha256Expand()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistConfig.java179 final byte[] sha256 = getSha256(domain); in containsDomain()
180 return domainDigests.sha256Digests.contains(sha256); in containsDomain()
195 final byte[] sha256 = getSha256(ip); in containsIp()
196 return ipDigests.sha256Digests.contains(sha256); in containsIp()
/frameworks/base/tools/signedconfig/
Ddebug_sign.sh5 openssl dgst -sha256 -sign $(dirname $0)/debug_key.pem <(echo -n "$1" | base64 -d) | base64 -w 0
Dverify_b64.sh15 …openssl dgst -sha256 -verify $(dirname $0)/${K} -signature <(echo ${S} | base64 -d) <(echo ${D} | …
/frameworks/base/core/java/android/app/admin/
DSecurityLogTags.logtags9 …_app_process_start (process|3),(start_time|2|3),(uid|1),(pid|1),(seinfo|3),(sha256|3)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java392 byte[] sha256 = UiccAccessRule.getCertHash(signature, SHA_256); in updateCertsForPackage()
393 certs.add(IccUtils.bytesToHexString(sha256).toUpperCase()); in updateCertsForPackage()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1349 MessageDigest sha256 = MessageDigest.getInstance("SHA-256"); in passwordToHistoryHash() local
1350 sha256.update(hashFactor); in passwordToHistoryHash()
1355 sha256.update(saltedPassword); in passwordToHistoryHash()
1357 return new String(HexEncoding.encode(sha256.digest())); in passwordToHistoryHash()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java193 String signatureSha256 = Hashing.sha256().hashBytes(signatures[0].toByteArray()).toString(); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
214 String signatureSha256 = Hashing.sha256().hashBytes(signatures[0].toByteArray()).toString(); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
/frameworks/base/non-updatable-api/
Dcurrent.txt28823 field public static final String AUTH_HMAC_SHA256 = "hmac(sha256)";
/frameworks/base/api/
Dcurrent.txt28953 field public static final String AUTH_HMAC_SHA256 = "hmac(sha256)";
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt102185 Lcom/android/okhttp/okio/ByteString;->sha256()Lcom/android/okhttp/okio/ByteString;