src/lt1: include, build and test ltsha1 utility
commit57c789cf8fe57ee01ab00f3d8b35794ac08f8069
authorKyle J. McKay <mackyle@gmail.com>
Wed, 13 Jan 2021 04:17:45 +0000 (12 21:17 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 13 Jan 2021 04:17:45 +0000 (12 21:17 -0700)
tree0eba92eb7c3b43abb0e970fa7bec34d2fdbf501f
parentdb05a36a4987dcc475fa41584835d52cc7b86982
src/lt1: include, build and test ltsha1 utility

Prepare for future use of the LibTomCrypt SHA-1 implementation by
including it along with a test program and script in a similar
fashion to the way the LibTomCrypt SHA-256 implementation has been
included.

Although the standalone ltsha1 utility is not expected to be used
directly (and is not installed by install.sh), it provides a means
to test the implementation to verify that it's working correctly
which install.sh does.

Add the test script to the scripts run by "make test" in the src
subdirectory.

The LibTomCrypt code <https://www.libtom.net/LibTomCrypt/> has a
very liberal license that is fully compatible with GPLv2.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
install.sh
src/.gitignore
src/GNUmakefile
src/lt1.c [new file with mode: 0644]
src/lt1.h [new file with mode: 0644]
src/ltsha1-test.sh [new file with mode: 0755]
src/ltsha1.c [new file with mode: 0644]