Closed jeandudey closed 1 year ago
Thanks @jeandudey ,
cryptopp.dll
is the FIPS DLL. It was last used about 15 years ago. It is scheduled for removal. We don't spend time on it.
If you want to give it a go, then add -DCRYPTOPP_DISABLE_ASM=1
to CXXFLAGS
to disable the arch specific code paths, or add -march=native
to CXXFLAGS
to enable the ISAs on your local machine. If you are going to distribute the binary, then use -DCRYPTOPP_DISABLE_ASM=1
.
cryptopp.dll is the FIPS DLL.
How could the library be built for a windows target? i.e. no FIPS DLL, but the normal build of Crypto++.
By building the static library only?
@jeandudey hi I don't know how to compile cryptopp for windows on a linux machine but for windows machine i can explain:
Open Git Bash.
Switch to the project's directory.
Then you can type: make -f GNUMakefile
in the Git Bash terminal.
This creates a dynamic library. I have no idea how the flags should be for static compilation.
Closing this issue, I'm using the static
target now for building Crypto++ using MinGW.
Crypto++ Issue Report
I'm trying to build Crypto++ with
make cryptopp.dll
on a Windows host and it fails with the following errors:It seems that on:
https://github.com/weidai11/cryptopp/blob/6ecc789df1cea7640f54ddc2aed149c6b188891f/GNUmakefile#L1788
The SSE flags aren't passed to the compiler when compiling the
_simd.cpp
files.x86_64-w64-mingw32-g++ -DNDEBUG -D_WIN32_WINNT=0x0501 -c cryptlib.cpp