| /cts/tests/tests/keystore/src/android/keystore/cts/ |
| D | RSACipherTest.java | 79 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 110 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 137 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local 167 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local 200 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() local 233 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() local 261 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", EXPECTED_PROVIDER_NAME); in testNoPaddingWithZeroMessage() local
|
| D | CipherTest.java | 376 Cipher cipher = Cipher.getInstance(algorithm, provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() local 415 Cipher cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() local 445 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() local 497 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsInterrupted() local 550 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEncryptsAndDecryptsUsingCipherStreams() local 601 private boolean isDecryptValid(byte[] expectedPlaintext, byte[] ciphertext, Cipher cipher, in isDecryptValid() 686 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local 749 Cipher cipher = Cipher.getInstance(algorithm, provider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() local 797 Cipher cipher; in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local 909 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider() local [all …]
|
| D | AESCipherNistCavpKatTest.java | 322 Cipher cipher = Cipher.getInstance("AES/" + mode + "/NoPadding"); in runKatTest() local
|
| D | ImportWrappedKeyTest.java | 345 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in wrapKey() local
|
| D | AndroidKeyStoreTest.java | 1865 Cipher cipher = Cipher.getInstance(algorithm); in testKeyStore_SetKeyEntry_ReplacedWithSameGeneratedSecretKey() local 2031 String cipher = privateKey.getAlgorithm() + "/NONE/NOPADDING"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 2332 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testKeyStore_LargeNumberOfKeysSupported_AES() local
|
| /cts/tests/tests/identity/src/android/security/identity/cts/ |
| D | EphemeralKeyTest.java | 189 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in encryptMessageToHolder() local 214 final Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in decryptMessageFromHolder() local
|
| D | UserAuthTest.java | 151 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in checkAuthBoundKey() local
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
| D | Utils.java | 84 Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initCipher() local 118 static byte[] doEncrypt(Cipher cipher, byte[] data) throws Exception { in doEncrypt()
|
| D | CredentialCryptoTests.java | 126 final Cipher cipher = Utils.initCipher(keyName); in testTimedKey() local
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
| D | AuthenticationBoundKeyTestActivity.java | 265 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/ |
| D | ScreenLockBoundKeysTest.java | 147 Cipher cipher = Cipher.getInstance( in tryEncrypt() local
|
| D | UnlockedDeviceRequiredTest.java | 205 Cipher cipher = Cipher.getInstance( in tryEncrypt() local
|
| /cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
| D | Utils.java | 238 final Cipher cipher = Cipher.getInstance(KeyProperties.KEY_ALGORITHM_AES + "/" in initializeCryptoObject() local
|