def set_outbound_cipher(self, block_engine, block_size, mac_engine, mac_size, mac_key):
self.__block_engine_out = block_engine<EOL>self.__block_size_out = block_size<EOL>self.__mac_engine_out = mac_engine<EOL>self.__mac_size_out = mac_size<EOL>self.__mac_key_out = mac_key<EOL>self.__sent_bytes = <NUM_LIT:0><EOL>self.__sent_packets = <NUM_LIT:0><EOL>self.__init_count |= <NUM_LIT:1><EOL>if self.__init_count == <NUM_LIT:3>:<EOL><INDENT>self.__init_count = <NUM_LIT:0><EOL>self.__need_rekey = False<EOL><DEDENT>
Switch outbound data cipher.