From d0c88b8f32f0bb554d612e68d44c20c716487791 Mon Sep 17 00:00:00 2001 From: Caleb Whitehead Date: Mon, 4 Nov 2024 11:32:26 -0800 Subject: [PATCH] Use dilithium5 from ABR submodule --- src/integration/config/compile.yml | 4 ++-- tools/scripts/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/integration/config/compile.yml b/src/integration/config/compile.yml index 8cb5a2e4f..f03253d29 100644 --- a/src/integration/config/compile.yml +++ b/src/integration/config/compile.yml @@ -123,7 +123,7 @@ targets: pre_exec: '$MSFT_SCRIPTS_DIR/run_test_makefile && echo "[PRE-EXEC] Copying ECC vector generator to ${pwd}" && cp $COMPILE_ROOT/../ecc/tb/ecc_secp384r1.exe . && echo "[PRE-EXEC] Copying DOE vector generator to ${pwd}" && cp $COMPILE_ROOT/../doe/tb/doe_test_gen.py . && echo "[PRE-EXEC] Copying SHA256 wntz vector generator to ${pwd}" && cp $COMPILE_ROOT/../sha256/tb/sha256_wntz_test_gen.py . - && echo "[PRE-EXEC] Copying MLDSA vector generator to ${pwd}" && cp $COMPILE_ROOT/../mldsa/tb/test_dilithium5 . + && echo "[PRE-EXEC] Copying MLDSA vector generator to ${pwd}" && cp $COMPILE_ROOT/../../submodules/adams-bridge/src/mldsa_top/uvmf/uvmf_template_output/verification_ip/environment_packages/mldsa_env_pkg/src/test_dilithium5 . && echo "[PRE-EXEC] Copying mldsa directed vector to ${pwd}" && cp $COMPILE_ROOT/../mldsa/tb/smoke_test_mldsa_vector.hex .' global: tool: @@ -155,7 +155,7 @@ targets: pre_exec: '$MSFT_SCRIPTS_DIR/run_test_makefile && echo "[PRE-EXEC] Copying ECC vector generator to ${pwd}" && cp $COMPILE_ROOT/../ecc/tb/ecc_secp384r1.exe . && echo "[PRE-EXEC] Copying DOE vector generator to ${pwd}" && cp $COMPILE_ROOT/../doe/tb/doe_test_gen.py . && echo "[PRE-EXEC] Copying SHA256 wntz vector generator to ${pwd}" && cp $COMPILE_ROOT/../sha256/tb/sha256_wntz_test_gen.py . - && echo "[PRE-EXEC] Copying MLDSA vector generator to ${pwd}" && cp $COMPILE_ROOT/../mldsa/tb/test_dilithium5 . + && echo "[PRE-EXEC] Copying MLDSA vector generator to ${pwd}" && cp $COMPILE_ROOT/../../submodules/adams-bridge/src/mldsa_top/uvmf/uvmf_template_output/verification_ip/environment_packages/mldsa_env_pkg/src/test_dilithium5 . && echo "[PRE-EXEC] Copying mldsa directed vector to ${pwd}" && cp $COMPILE_ROOT/../mldsa/tb/smoke_test_mldsa_vector.hex .' global: tool: diff --git a/tools/scripts/Makefile b/tools/scripts/Makefile index 618cb3dbd..66facfaae 100644 --- a/tools/scripts/Makefile +++ b/tools/scripts/Makefile @@ -84,7 +84,7 @@ HEADER_FILES := $(INCLUDES_DIR)/caliptra_defines.h \ TEST_GEN_FILES := $(CALIPTRA_ROOT)/src/ecc/tb/ecc_secp384r1.exe \ $(CALIPTRA_ROOT)/src/doe/tb/doe_test_gen.py \ $(CALIPTRA_ROOT)/src/sha256/tb/sha256_wntz_test_gen.py \ - $(CALIPTRA_ROOT)/src/mldsa/tb/test_dilithium5 + $(CALIPTRA_ROOT)/submodules/adams-bridge/src/mldsa_top/uvmf/uvmf_template_output/verification_ip/environment_packages/mldsa_env_pkg/src/test_dilithium5 # Separate OFILE variable since this is not used to build remote images # (i.e. FMC or RunTime)