Home
last modified time | relevance | path

Searched defs:cipher (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DRSACipherTest.java93 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local
124 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local
151 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local
181 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local
214 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local
247 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() local
275 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testNoPaddingWithZeroMessage() local
312 Cipher cipher = Cipher.getInstance("RSA/ECB/OAEPWithSHA-256AndMGF1Padding"); in testRsaOaepDecryptWithWrongMGF1DigestFails() local
DCipherTest.java394 Cipher cipher = Cipher.getInstance(algorithm, provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() local
433 Cipher cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() local
463 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() local
515 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsInterrupted() local
568 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsUsingCipherStreams() local
619 private boolean isDecryptValid(byte[] expectedPlaintext, byte[] ciphertext, Cipher cipher, in isDecryptValid()
704 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local
810 Cipher cipher = Cipher.getInstance(algorithm, EXPECTED_PROVIDER_NAME); in testUnlockedDeviceRequiredKeysAreNotInvalidatedByLockRemoval() local
834 Cipher cipher = Cipher.getInstance(algorithm, provider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() local
882 Cipher cipher; in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local
[all …]
DAESCipherNistCavpKatTest.java322 Cipher cipher = Cipher.getInstance("AES/" + mode + "/NoPadding"); in runKatTest() local
DKeyGeneratorTest.java843 Cipher cipher = Cipher.getInstance(algoTransform, in assertUniqueAesEncryptionForNKeys() local
DImportWrappedKeyTest.java502 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in wrapKey() local
DAndroidKeyStoreTest.java1877 Cipher cipher = Cipher.getInstance(algorithm); in testKeyStore_SetKeyEntry_ReplacedWithSameGeneratedSecretKey() local
2043 String cipher = privateKey.getAlgorithm() + "/NONE/NOPADDING"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
2352 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testKeyStore_LargeNumberOfKeysSupported_AES() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DUtils.java83 Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initCipher() local
95 Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initAeadCipher() local
145 static byte[] doEncrypt(Cipher cipher, byte[] data) throws Exception { in doEncrypt()
DCredentialCryptoTests.java126 final Cipher cipher = Utils.initCipher(keyName); in testTimedKey() local
/cts/tests/tests/identity/src/android/security/identity/cts/
DEphemeralKeyTest.java189 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in encryptMessageToHolder() local
214 final Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in decryptMessageFromHolder() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java265 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in tryEncryptWithLockscreenKey() local
286 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in initFingerprintEncryptionCipher() local
302 private boolean tryEncryptWithFingerprintKey(Cipher cipher) { in tryEncryptWithFingerprintKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DLskfBoundKeysTest.java147 Cipher cipher = Cipher.getInstance( in tryEncrypt() local
DUnlockedDeviceRequiredKeysTest.java205 Cipher cipher = Cipher.getInstance( in tryEncrypt() local
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DUtils.java270 final Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initializeCryptoObject() local