Closed KevLing closed 6 years ago
Could you please run from cygwin's command prompt the following:
$ sha256sum tests/test.key
76ec7faebdc42a4de35ca70024c2d273e9f7856ca61612e89f5f66350ba8cf5f *tests/test.key
The tests/test.key
is a text file and there might be some git related issue with CR+LF / LF newline autoconversion.
very good catch!
$ unix2dos tests/test.key
unix2dos: converting file tests/test.key to DOS format ...
$ sha256sum tests/test.key
d3052a1401ae74febbfd96084346f2f4877a7cdd8e8ca0d2197d8fcfeaf3378d tests/test.key
a nop (katja_test)
and that nop
is intentional as katja
is disabled by default (and I guess could even be removed in the next release)
katja [...] removed in the next release
👍
Prerequisites
Description
This issue is the same as #258 but on a different platform. Running the libtomcrypt unit tests produces a failure (
file_test
) and a nop (katja_test
). I am building this using GCC (6.4.0) on Windows 7 64-bit.Steps to Reproduce
Build tomsfastmath
make CFLAGS="-DTFM_X86_64 -Isrc/headers" test
Build libtomcrypt with tomsfastmath
make CFLAGS="-DUSE_TFM -DTFM_DESC -I../tomsfastmath/src/headers" EXTRALIBS="../tomsfastmath/libtfm.a" test
Run `test.exe.
I also tested with libtommath and saw the same test failure. Build command for libtommath was
make
. Then libtomcrypt was built withmake CFLAGS="-DUSE_LTM -DLTM_DESC -I../libtommath" EXTRALIBS="../libtommath/libtommath.a" test
Version
libtomcrypt = v1.18.1 tomsfastmath = v0.13.1 libtommath = v1.0.1
Cygwin, GCC (6.4.0), Windows 7 64-bit
Additional Information
The test program's output with tomsfastmath and LTC_DEBUG=2 is attached.
ltc_debug2_output.txt