About the masked AES of TINYAES128C

Hello, I’m a student who just bought equipment.
I would like to ask if there is a masked AES implementation case in tinyaes128c? If not, how do I send the mask? And how to capture the power curve after encryption?
I can see that there are many well-defined methods in the path: \chipwhisperer\hardware\victims\firmware\crypto\aes-independant.c such as DPAV4,MBEDTLS,MASKEDAES etc. How can I use it in tinyaes128c?

Tinyaes isn’t a masked implementation, so you’ll have to modify it to be a masked implementation.

https://github.com/ANSSI-FR/SecAESSTM32/tree/3b9ed68a4576255636634ec539079476cd5bbc92 is a masked implementation that runs on STM32 devices

Alex_Dewar
I am using SCAPACK-L2.Would you please tell me how to implement https://github.com/ANSSI-FR/SecAESSTM32/tree/3b9ed68a4576255636634ec539079476cd5bbc92 on the chipwhisperer jupyter?
biyuanqiao

I’d say you should be able to drop in the files in the src/aes folder, add them to a cw project makefile, and pull whatever setup you need from src/main.c to make it work.