Lines Matching refs:hash_size
87 hash_size = cipherSuite.getMACLength();
103 logger.println(" hash size: " + hash_size);
112 // 2*hash_size + 2*key_size + 2*iv_size
113 byte[] key_block = new byte[2*hash_size + 2*key_size + 2*iv_size];
122 byte[] client_mac_secret = new byte[hash_size];
123 byte[] server_mac_secret = new byte[hash_size];
129 System.arraycopy(key_block, 0, client_mac_secret, 0, hash_size);
130 System.arraycopy(key_block, hash_size,
131 server_mac_secret, 0, hash_size);
132 System.arraycopy(key_block, 2*hash_size, client_key, 0, key_size);
133 System.arraycopy(key_block, 2*hash_size+key_size,
162 2*(hash_size+key_size), iv_size);
164 2*(hash_size+key_size)+iv_size, iv_size);
239 int content_mac_length = len + hash_size;
316 content = new byte[data.length - hash_size - padding_length - 1];
318 content = new byte[data.length - hash_size];
340 for (int i=0; i<hash_size; i++) {