Lines Matching refs:PT
43 private static byte[] PT = new byte[INPUT_LENGTH];
101 byte[] answer = c.doFinal(PT);
102 byte[] pt2 = Arrays.copyOf(PT, answer.length + offset);
109 c.doFinal(pt2, 0, PT.length, pt2, 0);
117 System.arraycopy(PT, 0, pt2, 0, PT.length);
122 c.doFinal(pt2, 0, PT.length, pt2, offset);
130 System.arraycopy(PT, 0, pt2, offset, PT.length);
135 c.doFinal(pt2, offset, PT.length, pt2, 0);
142 // Test decryption now, we should get back PT as a result
148 if (!isTwoArraysEqual(pt2, 0, PT, 0, PT.length)) {
157 if (!isTwoArraysEqual(pt2, offset, PT, 0, PT.length)) {
166 if (!isTwoArraysEqual(pt2, 0, PT, 0, PT.length)) {