“To use the hardware crypto, call HW_AES128_Init() at the beginning of your program. You can update the key with HW_AES128_LoadKey(), encrypt plaintext with HW_AES128_Enc(), and decrypt data with HW_AES128_Dec().”
Is there a working example of this available somewhere that someone could point me to that works with the ChipWhisperer?
You can just use the typical AES calls with ChipWhisperer, but instead of CRYPTO_TARGET=TINYAES128C, use CRYPTO_TARGET=HWAES. We actually have a tutorial that does an attack on the STM32F4 HWAES:
Hello again. Do you know if this hardware implementation is masked or unmasked? I’d be curious to know if the provided hardware implementation for the CW305 FPGA is as well.