Lines Matching defs:data
19 * <b>Note</b>: this mode is a packet mode - it needs all the data up front.
33 private ExposedByteArrayOutputStream data = new ExposedByteArrayOutputStream();
125 data.write(in);
133 data.write(in, inOff, inLen);
141 int len = processPacket(data.getBuffer(), 0, data.size(), out, outOff);
152 data.reset();
177 int totalData = len + data.size();
188 * Process a packet of data for either CCM decryption or encryption.
190 * @param in data for processing.
191 * @param inOff offset at which data starts in the input array.
192 * @param inLen length of the data in the input array.
195 * @throws InvalidCipherTextException if the input data is truncated or the mac check fails.
210 throw new InvalidCipherTextException("data too short");
221 * Process a packet of data for either CCM decryption or encryption.
223 * @param in data for processing.
224 * @param inOff offset at which data starts in the input array.
225 * @param inLen length of the data in the input array.
230 * @throws InvalidCipherTextException if the input data is truncated or the mac check fails.
298 throw new InvalidCipherTextException("data too short");
343 private int calculateMac(byte[] data, int dataOff, int dataLen, byte[] macBlock)
425 cMac.update(data, dataOff, dataLen);