1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-12-02 12:21:23 +00:00
pqcrypto/crypto_sign/sphincs-haraka-128f-robust/aesni/Makefile.Microsoft_nmake
Thom Wiggers a655ec8a9d SPHINCS+ optimized implementations (#253)
* Add state destroy to SHA2 API

* Include optimized SPHINCS+ implementations

I've generated new implementations from the sphincsplus repository.

* Don't destroy sha256ctx after finalize

* Attempt to shut up MSVC

* Make sure to drop errors in rmtree
2019-12-12 14:29:29 +01:00

24 lines
832 B
Makefile

# This Makefile can be used with Microsoft Visual Studio's nmake using the command:
# nmake /f Makefile.Microsoft_nmake
LIBRARY=libsphincs-haraka-128f-robust_aesni.lib
OBJECTS=address.obj wots.obj utils.obj fors.obj sign.obj hash_haraka.obj thash_haraka_robust.obj hash_harakax4.obj thash_haraka_robustx4.obj haraka.obj
# We ignore warning C4127: in thash_haraka_*x4.c we use a conditional
# that when the macro is generated for inblocks = 1 results in a case
# with `if (1 == 1)`. The compiler should just optimise this away, but
# on MSVC we get a compiler complaint.
CFLAGS=/nologo /arch:AVX /O2 /I ..\..\..\common /W4 /WX /wd4127
all: $(LIBRARY)
# Make sure objects are recompiled if headers change.
$(OBJECTS): *.h
$(LIBRARY): $(OBJECTS)
LIB.EXE /NOLOGO /WX /OUT:$@ $**
clean:
-DEL $(OBJECTS)
-DEL $(LIBRARY)