WIP
This commit is contained in:
parent
81dbb669eb
commit
efa02dca38
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
|||||||
all:
|
all:
|
||||||
arm-none-eabi-gcc -ggdb -mcpu=Cortex-M4 -mthumb -r -nostartfiles -o libpqscheme_test.o libpqscheme_test.c -Iruntime_mps2/out/an386/pack/include -I/home/kris/repos/pqshield/epcc/out/armv7e-m/inc
|
arm-none-eabi-gcc -ggdb -mcpu=Cortex-M4 -mthumb -r -nostartfiles -o libpqscheme_test.o libpqscheme_test.c -Iruntime_mps2/out/an386/pack/include -I/home/kris/repos/pqshield/epcc/out/armv7e-m/inc
|
||||||
arm-none-eabi-gcc -ggdb -mcpu=Cortex-M4 -mthumb -Tlibpqscheme.ld -nostartfiles -o libpqscheme_test.elf libpqscheme_test.o -L/home/kris/repos/pqshield/epcc/out/armv7e-m/lib -lmlkem -lsha3 -lcommon
|
arm-none-eabi-gcc -ggdb -mcpu=Cortex-M4 -mthumb -Tlibpqscheme.ld -nostartfiles -o libpqscheme_test.elf libpqscheme_test.o -L/home/kris/repos/pqshield/epcc/out/armv7e-m/lib
|
||||||
arm-none-eabi-gcc -ggdb -mcpu=Cortex-M4 -mthumb -Truntime_mps2/out/an386/pack/lib/mps2.ld -nostartfiles -o runner.elf runner.c -Lruntime_mps2/out/an386/pack/lib -lmps2-an386_runtime -Iruntime_mps2/out/an386/pack/include
|
arm-none-eabi-gcc -ggdb -mcpu=Cortex-M4 -mthumb -Truntime_mps2/out/an386/pack/lib/mps2.ld -nostartfiles -o runner.elf runner.c -Lruntime_mps2/out/an386/pack/lib -lmps2-an386_runtime -Iruntime_mps2/out/an386/pack/include
|
||||||
arm-none-eabi-ar rcs runner runner.elf
|
arm-none-eabi-ar rcs runner runner.elf
|
||||||
arm-none-eabi-objcopy -O binary libpqscheme_test.elf libpqscheme_test.bin
|
arm-none-eabi-objcopy -O binary libpqscheme_test.elf libpqscheme_test.bin
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#include <epcc/sha3.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
int run();
|
int run();
|
||||||
|
|
||||||
@ -7,4 +6,4 @@ __attribute__((used, section(".text"))) int cryptographic_test() {
|
|||||||
return 7 + run();
|
return 7 + run();
|
||||||
}
|
}
|
||||||
|
|
||||||
int run() { return (int)epcc_sha3_serialized_size(); }
|
int run() { return 1; }
|
||||||
|
Loading…
Reference in New Issue
Block a user