Does IDD current measurement, includes the current passing through the RNG?
Hello
I am doing a project where I investigate the increased energy consumption when implementing TLS on an MQTT protocol.
At the moment, I am doing tests where I measure the current via the IDD pins. But I was surprised at how little impact the implementation of TLS had. I am running with a specific Cipher suite DHE-RSA-AES128-GCM-SHA256. I did expect a longer working time where the MCU consumes more energy. But from what I can see in the pictures, it's just a small spike that always and only appears when I run with TLS.
So I wonder if it is so that Eg. RNG (random number generator) and other safety features power consumption does not go through the IDD pins.
I am using the STM32L476RG, connected via UART to an ESP8266 (Wifi-MCU). The pictures show the current in Cyan, and the blue line is the TX signal that I used to trigger on the oscilloscope. 
I would be incredibly grateful if anyone have the knowledge of this and can help me with the case.
Thanks in advance.
/ Victor
