Review of the integration of a hardware security module in an IoT gateway