Home
last modified time | relevance | path

Searched refs:encrypt (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java222 boolean encrypt; in runTestsForKatFile()
224 encrypt = true; in runTestsForKatFile()
226 encrypt = false; in runTestsForKatFile()
230 runKatTest(blockMode, encrypt, testVector); in runTestsForKatFile()
269 private void runKatTest(String mode, boolean encrypt, TestVector testVector) throws Exception { in runKatTest() argument
286 int opmode = (encrypt) ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE; in runKatTest()
293 byte[] input = (encrypt) ? testVector.plaintext : testVector.ciphertext; in runKatTest()
295 byte[] expectedOutput = (encrypt) ? testVector.ciphertext : testVector.plaintext; in runKatTest()
DAndroidKeyStoreTest.java1943 Cipher encrypt = Cipher.getInstance(cipher); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
1944 assertNotNull(encrypt); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1945 encrypt.init(Cipher.ENCRYPT_MODE, privateKey); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1954 encrypt.doFinal(plainText); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMockTest.java555 byte[] output = cs.encrypt(keyId, input, iv); in testCryptoSessionEncrypt()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex84689 protected byte[] encrypt(
84693 protected abstract byte[] encrypt(
84738 protected byte[] encrypt(
84779 protected byte[] encrypt(