Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java52 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in WifiConfigStoreEncryptionUtil
87 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt()
97 reportException(e, "encrypt could not find the algorithm: " + CIPHER_ALGORITHM); in encrypt()
119 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decrypt()
127 reportException(e, "decrypt could not find cipher algorithm " + CIPHER_ALGORITHM); in decrypt()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DChunkEncryptor.java33 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in ChunkEncryptor
63 cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encrypt()
/frameworks/base/services/core/java/com/android/server/accounts/
DCryptoHelper.java31 private static final String CIPHER_ALGORITHM = "AES/CBC/PKCS5Padding"; field in CryptoHelper
63 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in encryptBundle()
89 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in decryptBundle()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java51 private static final String CIPHER_ALGORITHM = "AES/GCM/NoPadding"; field in WrappedKeyTest
77 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
96 Cipher cipher = Cipher.getInstance(CIPHER_ALGORITHM); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
/frameworks/base/services/robotests/backup/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()