Searched refs:encrypt (Results 1 – 4 of 4) sorted by relevance
222 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() argument286 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()
1943 Cipher encrypt = Cipher.getInstance(cipher); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local1944 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()
555 byte[] output = cs.encrypt(keyId, input, iv); in testCryptoSessionEncrypt()
84689 protected byte[] encrypt(84693 protected abstract byte[] encrypt(84738 protected byte[] encrypt(84779 protected byte[] encrypt(