def set_inbound_cipher(self, block_engine, block_size, mac_engine, mac_size, mac_key):
self.__block_engine_in = block_engine<EOL>self.__block_size_in = block_size<EOL>self.__mac_engine_in = mac_engine<EOL>self.__mac_size_in = mac_size<EOL>self.__mac_key_in = mac_key<EOL>self.__received_bytes = <NUM_LIT:0><EOL>self.__received_packets = <NUM_LIT:0><EOL>self.__received_bytes_overflow = <NUM_LIT:0><EOL>self.__received_packets_overflow = <NUM_LIT:0><EOL>self.__init_count |= <NUM_LIT:2><EOL>if self.__init_count == <NUM_LIT:3>:<EOL><INDENT>self.__init_count = <NUM_LIT:0><EOL>self.__need_rekey = False<EOL><DEDENT>
Switch inbound data cipher.