Lines Matching refs:plaintext
233 byte[] ivec, byte[] new_ivec, byte[] plaintext, int start, int len)
240 byte[] output = encryptCTS(baseKey, usage, ivec, new_ivec, plaintext,
249 byte[] ivec, byte[] plaintext, int start, int len)
256 byte[] output = encryptCTS(baseKey, usage, ivec, null, plaintext,
263 * @param ciphertext E(Ke, conf | plaintext | padding, ivec) | H1[1..h]
300 byte[] new_ivec, byte[] plaintext, int start, int len,
312 traceOutput("plaintext", plaintext, start, Math.min(len, 32));
332 System.arraycopy(plaintext, start, toBeEncrypted,
336 System.arraycopy(plaintext, start, toBeEncrypted, 0, len);
358 // H1 = HMAC(Ki, conf | plaintext | pad)
407 // Decrypt [confounder | plaintext ] (without checksum)
414 byte[] plaintext = cipher.doFinal(ciphertext, start, len-hashSize);
417 traceOutput("AES PlainText", plaintext, 0,
418 Math.min(plaintext.length, 32));
430 // H1 = HMAC(Ki, conf | plaintext | pad)
431 byte[] calculatedHmac = getHmac(Ki, plaintext);
456 // [ confounder | plaintext ]
457 byte[] output = new byte[plaintext.length - BLOCK_SIZE];
458 System.arraycopy(plaintext, BLOCK_SIZE, output,
462 return plaintext;