Searched refs:actualPlaintext (Results 1 – 2 of 2) sorted by relevance
479 byte[] actualPlaintext = cipher.doFinal(ciphertext); in testEmptyPlaintextEncryptsAndDecrypts()480 assertArrayEquals(expectedPlaintext, actualPlaintext); in testEmptyPlaintextEncryptsAndDecrypts()532 byte[] actualPlaintext = cipher.doFinal(ciphertext); in testEncryptsAndDecryptsInterrupted()534 assertArrayEquals(expectedPlaintext, actualPlaintext); in testEncryptsAndDecryptsInterrupted()596 byte[] actualPlaintext = new byte[plaintext.length * 2]; in testEncryptsAndDecryptsUsingCipherStreams()599 while((count = cipherInputStream.read(actualPlaintext, total, in testEncryptsAndDecryptsUsingCipherStreams()600 actualPlaintext.length - total)) != -1) { in testEncryptsAndDecryptsUsingCipherStreams()603 actualPlaintext = Arrays.copyOf(actualPlaintext, total); in testEncryptsAndDecryptsUsingCipherStreams()607 + "\nactual(" + actualPlaintext.length + "): " in testEncryptsAndDecryptsUsingCipherStreams()608 + HexEncoding.encode(actualPlaintext), in testEncryptsAndDecryptsUsingCipherStreams()[all …]
888 ByteArrayOutputStream actualPlaintext = new ByteArrayOutputStream(); in testKatDecryptOneByteAtATime() local893 actualPlaintext.write(output); in testKatDecryptOneByteAtATime()912 actualPlaintext.write(finalOutput); in testKatDecryptOneByteAtATime()914 assertArrayEquals(expectedPlaintext, actualPlaintext.toByteArray()); in testKatDecryptOneByteAtATime()