Hi
I am trying to compile ANSSI masked aes implementation given in chipwhisperer library. I ran the program as below
SCOPETYPE = 'OPENADC'
PLATFORM='CW308_STM32F3'
CRYPTO_TARGET='MASKEDAES'
CRYPTO_OPTIONs='ANSSI'
SS_VER='SS_VER_2_1'
%%bash -s "$PLATFORM" "$CRYPTO_TARGET" "$SS_VER" "$CRYPTO_OPTIONs"
cd firmware/mcu/simpleserial-aes
make PLATFORM=$1 CRYPTO_TARGET=$2 CRYPTO_OPTIONS=$4 -j
and i got following error
Building for platform CW308_STM32F3 with CRYPTO_TARGET=MASKEDAES
SS_VER set to SS_VER_1_1
SS_VER set to SS_VER_1_1
Impletementation=ANSSI
Options=
.
arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1 20210621 (release)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Welcome to another exciting ChipWhisperer target build!!
.
+--------------------------------------------------------
LINKING:
+ Built for platform CW308T: STM32F3 Target with:
-en simpleserial-aes-CW308_STM32F3.elf ...
+ CRYPTO_TARGET = MASKEDAES
+ CRYPTO_OPTIONS = ANSSI
arm-none-eabi-gcc: error: objdir-CW308_STM32F3/platform.o: No such file or directory
arm-none-eabi-gcc: error: objdir-CW308_STM32F3/affine_aes.o: No such file or directory
+--------------------------------------------------------
make: *** [.././Makefile.inc:494: simpleserial-aes-CW308_STM32F3.elf] Error 1
And when i went through forum i got j-michel’s ready to use files. But my confusion is do they support configurable masks via simpleserial?
thanks