Improving RFID/IoT-based generalized ultra-lightweight mutual authentication protocols