Lines Matching refs:block
72 private final byte[] block;
80 // offset of record type in block
83 // offset of protocol version number in block (TLS only)
90 block = null;
120 block = new byte[BLOCK_SIZE_TLS];
121 block[BLOCK_OFFSET_VERSION] = protocolVersion.major;
122 block[BLOCK_OFFSET_VERSION+1] = protocolVersion.minor;
124 block = new byte[BLOCK_SIZE_SSL];
136 * Returns the hash function block length of the MAC alorithm.
191 return (block != null && mac != null &&
192 block[0] == (byte)0xFF && block[1] == (byte)0xFF &&
193 block[2] == (byte)0xFF && block[3] == (byte)0xFF &&
194 block[4] == (byte)0xFF && block[5] == (byte)0xFF &&
195 block[6] == (byte)0xFF);
211 return (block != null && mac != null &&
212 block[0] == (byte)0xFF && block[1] == (byte)0xFF);
215 // increment the sequence number in the block array
219 while ((k >= 0) && (++block[k] == 0)) {
237 block[BLOCK_OFFSET_TYPE] = type;
238 block[block.length - 2] = (byte)(len >> 8);
239 block[block.length - 1] = (byte)(len );
241 mac.update(block);