Home
last modified time | relevance | path

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

/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DChunkEncryptor.java35 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in ChunkEncryptor
65 cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java32 private static final String CIPHER_ALGORITHM = "AES/CBC/PKCS5Padding"; field in CryptoHelper
64 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encryptBundle()
90 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decryptBundle()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java50 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in WrappedKeyTest
76 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
95 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DChunkEncryptorTest.java52 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in ChunkEncryptorTest
149 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt_decryptedResultCorrespondsToPlaintext()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedBackupTask.java61 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in EncryptedBackupTask
212 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encryptChunkOrdering()
DBackupFileDecryptorTask.java72 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in BackupFileDecryptorTask
89 this.mCipher = Cipher.getInstance(CIPHER_ALGORITHM); in BackupFileDecryptorTask()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DKvBackupEncrypterTest.java63 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in KvBackupEncrypterTest
279 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decryptChunk()
DEncryptedBackupTaskTest.java80 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in EncryptedBackupTaskTest
355 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decryptChunkOrdering()