Searched defs:cipher (Results 1 – 8 of 8) sorted by relevance
/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 | 339 Cipher cipher = Cipher.getInstance(algorithm, provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() local 377 Cipher cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() local 406 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() local 433 private boolean isDecryptValid(byte[] expectedPlaintext, byte[] ciphertext, Cipher cipher, in isDecryptValid() 506 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local 560 Cipher cipher = Cipher.getInstance(algorithm, provider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() local 607 Cipher cipher; in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local 718 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider() local 793 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testMaxSizedPlaintextSupported() local 873 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testLargerThanMaxSizedPlaintextRejected() local [all …]
|
D | AESCipherNistCavpKatTest.java | 284 Cipher cipher = Cipher.getInstance("AES/" + mode + "/NoPadding"); in runKatTest() local
|
D | ImportWrappedKeyTest.java | 327 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/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/src/android/net/cts/ |
D | PacketUtils.java | 393 Cipher cipher = Cipher.getInstance(AES_CBC); in getCiphertext() local
|