mlkem_test: add mlkem-native

This commit is contained in:
2026-07-05 21:26:39 +08:00
parent cd039e2e2e
commit e8893a28dd
2 changed files with 63 additions and 6 deletions

View File

@@ -1,8 +1,15 @@
TARGET = mlkem_test
CFLAGS += -O3 -g
CFLAGS += -I./mlkem_native
CFLAGS += -DMLK_CONFIG_PARAMETER_SET=512
CFLAGS += -DMLK_CONFIG_NAMESPACE_PREFIX=swmlkem
CFLAGS += -DMLK_CONFIG_NO_RANDOMIZED_API
CFLAGS += -DMLK_CONFIG_NO_ASM
CFLAGS += -DMLK_CONFIG_FILE='"sw_mlkem_config.h"'
C_SRCS := $(wildcard ./*.c )
C_SRCS += ./mlkem_native/mlkem_native.c
OBJDIR = obj
COMMON_DIR = ../../bsp