/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | RSACipherTest.java | 59 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 89 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 115 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local 144 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local 176 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local 208 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() local 235 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testNoPaddingWithZeroMessage() local
|
D | CipherTest.java | 345 Cipher cipher = Cipher.getInstance(algorithm, provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() local 383 Cipher cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() local 412 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() local 462 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsInterrupted() local 492 private boolean isDecryptValid(byte[] expectedPlaintext, byte[] ciphertext, Cipher cipher, in isDecryptValid() 565 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local 619 Cipher cipher = Cipher.getInstance(algorithm, provider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() local 666 Cipher cipher; in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local 777 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider() local 852 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testMaxSizedPlaintextSupported() local [all …]
|
D | AESCipherNistCavpKatTest.java | 284 Cipher cipher = Cipher.getInstance("AES/" + mode + "/NoPadding"); in runKatTest() local
|
D | ImportWrappedKeyTest.java | 329 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in wrapKey() local
|
D | AndroidKeyStoreTest.java | 1918 String cipher = privateKey.getAlgorithm() + "/NONE/NOPADDING"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 2269 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testKeyStore_LargeNumberOfKeysSupported_AES() local
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | EphemeralKeyTest.java | 188 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in encryptMessageToHolder() local 213 final Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in decryptMessageFromHolder() local
|
D | UserAuthTest.java | 138 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in checkAuthBoundKey() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | AuthenticationBoundKeyTestActivity.java | 255 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in tryEncryptWithLockscreenKey() local 276 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in initFingerprintEncryptionCipher() local 292 private boolean tryEncryptWithFingerprintKey(Cipher cipher) { in tryEncryptWithFingerprintKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 147 Cipher cipher = Cipher.getInstance( in tryEncrypt() local
|
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/ |
D | PacketUtils.java | 400 Cipher cipher = Cipher.getInstance(AES_CBC); in getCiphertext() local
|
/cts/tests/tests/net/src/android/net/cts/ |
D | PacketUtils.java | 394 Cipher cipher = Cipher.getInstance(AES_CBC); in getCiphertext() local
|