Lines Matching refs:hash_size
66 hash_size = cipherSuite.getMACLength();
81 logger.println(" hash size: " + hash_size);
90 // 2*hash_size + 2*key_size + 2*iv_size
91 byte[] key_block = new byte[2*hash_size + 2*key_size + 2*iv_size];
99 byte[] client_mac_secret = new byte[hash_size];
100 byte[] server_mac_secret = new byte[hash_size];
106 System.arraycopy(key_block, 0, client_mac_secret, 0, hash_size);
107 System.arraycopy(key_block, hash_size,
108 server_mac_secret, 0, hash_size);
109 System.arraycopy(key_block, 2*hash_size, client_key, 0, key_size);
110 System.arraycopy(key_block, 2*hash_size+key_size,
144 2*hash_size+2*key_size, iv_size);
146 2*hash_size+2*key_size+iv_size, iv_size);
231 int content_mac_length = len + hash_size;
250 System.arraycopy(digest, 0, res, len, hash_size);
306 content = new byte[data.length - hash_size - padding_length - 1];
308 content = new byte[data.length - hash_size];
339 for (int i=0; i<hash_size; i++) {