Investigating Hardware-based AES Countermeasures in the SAM4L Microcontroller for Side-channel Attack Mitigation