Side-Channel Attacks on Embedded Devices: A case Study