Home
last modified time | relevance | path

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

/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DChunkHasher.java29 private static final String MAC_ALGORITHM = "HmacSHA256"; field in ChunkHasher
41 Mac mac = Mac.getInstance(MAC_ALGORITHM); in computeHash()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DChunkHasherTest.java38 private static final String MAC_ALGORITHM = "HmacSHA256"; field in ChunkHasherTest
57 Mac mac = Mac.getInstance(MAC_ALGORITHM); in computeHash_returnsHmacForData()
DChunkEncryptorTest.java51 private static final String MAC_ALGORITHM = "HmacSHA256"; field in ChunkEncryptorTest
113 Mac mac = Mac.getInstance(MAC_ALGORITHM); in encrypt_generatesHmacOfPlaintext()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java33 private static final String MAC_ALGORITHM = "HMACSHA256"; field in CryptoHelper
52 kgen = KeyGenerator.getInstance(MAC_ALGORITHM); in CryptoHelper()
117 Mac mac = Mac.getInstance(MAC_ALGORITHM); in createMac()