Home
last modified time | relevance | path

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

/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()