From 4d84f53ee75804a335e3d74260e9460a5383bb7e Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Sat, 4 Oct 2025 12:23:42 +0200 Subject: [PATCH] Let's see if AESNI makes a difference Signed-off-by: Steffen Jaeckel --- appveyor.yml | 8 +++++++- makefile.msvc | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ea96cfbe..6ceb77e5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,7 +35,13 @@ build_script: ninja cd.. nmake -f makefile.msvc all + cp test.exe test-stock.exe + cp timing.exe timing-stock.exe nmake -f makefile.msvc clean nmake -f makefile.msvc all CFLAGS="/Ox /DUSE_LTM /DLTM_DESC /DLTC_AES_NI /I../libtommath" test_script: -- cmd: test.exe +- cmd: >- + test-stock.exe + test.exe + timing-stock.exe cipher_ecb + timing.exe cipher_ecb diff --git a/makefile.msvc b/makefile.msvc index 9060c352..d0238073 100644 --- a/makefile.msvc +++ b/makefile.msvc @@ -294,13 +294,15 @@ test.exe: $(LIBMAIN_S) $(TOBJECTS) cl $(LTC_CFLAGS) $(TOBJECTS) $(LIBMAIN_S) $(LTC_LDFLAGS) /Fe$@ @echo NOTICE: start the tests by launching test.exe -all: $(LIBMAIN_S) hashsum.exe crypt.exe small.exe tv_gen.exe sizes.exe constants.exe timing.exe test.exe +ALL_TEST=hashsum.exe crypt.exe small.exe tv_gen.exe sizes.exe constants.exe timing.exe test.exe + +all: $(LIBMAIN_S) $(ALL_TEST) test: test.exe clean: @-cmd /c del /Q *_tv.txt 2>nul - @-cmd /c del /Q /S *.OBJ *.LIB *.EXE *.DLL 2>nul + @-cmd /c del /Q /S *.OBJ *.LIB $(ALL_TEST) *.DLL 2>nul #Install the library + headers install: $(LIBMAIN_S)