Lines Matching refs:plaintext
107 private final byte[] plaintext;
111 CipherTest(String alg, byte[] plaintext, byte[] ciphertext, byte[] key, byte[] iv) {
113 this.plaintext = plaintext;
128 byte[] enc = cipher.doFinal(plaintext);
131 if (plaintext.length < 256) {
132 System.out.println("plaintext: " + CipherKAT.toString(plaintext));
140 enc = cipher.doFinal(plaintext);
146 if (Arrays.equals(plaintext, dec) == false) {
148 if (plaintext.length < 256) {
149 System.out.println("plaintext: " + CipherKAT.toString(plaintext));
169 private static Test t(String alg, String plaintext, String ciphertext, String key) {
170 return new CipherTest(alg, b(plaintext), b(ciphertext), b(key), null);