Skip to content

Commit

Permalink
Use dilithium5 from ABR submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
calebofearth committed Nov 4, 2024
1 parent ba31f85 commit d0c88b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/integration/config/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d0c88b8

Please sign in to comment.