Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DRSACipherTest.java59 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
DCipherTest.java263 Cipher cipher = Cipher.getInstance(algorithm, provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() local
301 Cipher cipher = Cipher.getInstance(algorithm); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() local
330 Cipher cipher = Cipher.getInstance(algorithm, provider); in testEmptyPlaintextEncryptsAndDecrypts() local
375 Cipher cipher = Cipher.getInstance(algorithm, provider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() local
422 Cipher cipher; in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore() local
533 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider() local
608 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testMaxSizedPlaintextSupported() local
688 Cipher cipher = Cipher.getInstance(algorithm, keystoreProvider); in testLargerThanMaxSizedPlaintextRejected() local
772 Cipher cipher = Cipher.getInstance(algorithm, provider); in testKat() local
1316 Cipher cipher = Cipher.getInstance(transformation, provider); in testEntropyConsumption() local
[all …]
DAESCipherNistCavpKatTest.java284 Cipher cipher = Cipher.getInstance("AES/" + mode + "/NoPadding"); in runKatTest() local
DAndroidKeyStoreTest.java1942 String cipher = privateKey.getAlgorithm() + "/NONE/NOPADDING"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
2292 Cipher cipher = Cipher.getInstance("AES/GCM/NoPadding"); in testKeyStore_LargeNumberOfKeysSupported_AES() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DAuthenticationBoundKeyTestActivity.java249 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in tryEncryptWithLockscreenKey() local
270 Cipher cipher = Cipher.getInstance(CIPHER_TRANSFORMATION); in initFingerprintEncryptionCipher() local
286 private boolean tryEncryptWithFingerprintKey(Cipher cipher) { in tryEncryptWithFingerprintKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DScreenLockBoundKeysTest.java147 Cipher cipher = Cipher.getInstance( in tryEncrypt() local