You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
export CC=clang
export CXX=clang++
export CFLAGS="-m32"export CXXFLAGS="-m32"
git clone --depth 1 https://github.com/microsoft/SymCrypt.git
cd SymCrypt/
# Unittests don't build with clang and are not needed anyway
sed -i "s/^add_subdirectory(unittest)$//g" CMakeLists.txt
mkdir b/
cd b/
setarch i386 cmake ../
make -j$(nproc)
Hi Guido,
I’ll reply in English so that I can CC some other folks.
Thanks for taking the time to test SymCrypt. We really appreciate the effort that goes into that.
Although we are working on the Linux port, this has not been finished yet, and we currently do not support SymCrypt on Linux 32 bits. Trying to track down a bug like this is really hard without porting and running the SymCrypt unit test; it could be a bug anywhere in the big-integer arithmetic, and we have lots of test for that. I’ve been out for a few months, so I don’t know the exact current status. Mitch, can you tell us what the SymCrypt-on-linux status is? We also might have to do another drop to Github with our latest changes soon.
Cheers!
Niels
This has been fixed internally; our next public release will include the changes. For anyone looking for a workaround in the meantime, the problem is this macro:
Reproducer:
First, compile SymCrypt like this:
Then compile and run the reproducer:
But it should print:
The text was updated successfully, but these errors were encountered: