155156157158159160161162163164165
mac = hmac.generate(sequenceNo, packet, 0, packet.length); } // Perfrom encrpytion if (cipher != null) { packet = cipher.transform(packet); } // Reset the message message.reset();
156157158159160161162163164165166