PacketNewKeys ign = new PacketNewKeys();
tm.sendKexMessage(ign.getPayload());
BlockCipher cbc;
MAC mac;
try
{
cbc = BlockCipherFactory.createCipher(clientMode ? kxs.np.enc_algo_client_to_server
: kxs.np.enc_algo_server_to_client, true, clientMode ? km.enc_key_client_to_server
: km.enc_key_server_to_client, clientMode ? km.initial_iv_client_to_server
: km.initial_iv_server_to_client);
mac = new MAC(clientMode ? kxs.np.mac_algo_client_to_server : kxs.np.mac_algo_server_to_client, clientMode
? km.integrity_key_client_to_server : km.integrity_key_server_to_client);
}
catch (IllegalArgumentException e1)
{