Hi all,
I’ve been trying to run a simple power analysis on ECC, but I can’t seem to find the correct hex file for my device. When I try to use one of the existing hex files, it fails when I try to capture traces as it can’t find a trigger. I’ve been able to perform similar experiments successfully with AES, so I’m wondering if there’s a dedicated hex file available for my ECC application.
This is the build I’m using if it’s any help:
~/chipwhisperer/firmware/mcu/simpleserial-ecc-notrace$ make PLATFORM=CW312_SAM4S SS_VER=SS_VER_1_1 CRYPTO_TARGET=NONE CFLAGS+=“-DFW_TRIGGER -DHAL_TYPE=HAL_sam4s -D__SAM4S2B__
-DuECC_ENABLE_VLI_API=1 -DuECC_WORD_SIZE=4
-I../hal -I../hal/sam4s -I../hal/sam4s/inc
-I../simpleserial -I../crypto/micro-ecc”
First make sure you’re in simpleserial-ecc-notrace
. You should be able to simply make PLATFORM=CW308_SAM4S
.
Note that we do have pre-compiled SAM4S binaries there, which are used in our sca205 course notebooks.