Masked AES implementation code or file

I want to capture the power traces of masked AES implementation from the Atmega328p and the SAKURA-G respectively to carry out some experiments. Where could I get the corresponding codes or files that I can load into them and then capture the traces.


1 Like

I have the same problem

I haven’t tried it and don’t know its current state, but a masked AES implementation was contributed a while back by @jmichel, I think:

To pull it in, go to hardware/victims/firmware/crypto/ and run:
git submodule update --init secAES-ATmega8515/

I’ve also adapted the ARM implementation (normally targeting a STM32 MCU but it can be compiled for all ARM targets). But I hadn’t got the time to finish the pull-request. Shame on me :slight_smile:

I’ll try to go back on it soon-ish if there’s interest for it

Hey jmichel,

Any chance that pull request was ever completed? :slight_smile:

I believe is the library Jean-Michel was working on adapting.

1 Like