tomcrypt/README.md
2017-07-17 13:36:34 +02:00

1.6 KiB

libtomcrypt

See doc/crypt.pdf for a detailed documentation

Project Status

develop: Build Status Coverage Status Coverity Scan Build Status

Submitting patches

Please branch off from develop if you want to submit a patch.

Patch integration will be faster if tests and documentation are included.

Please update the makefiles in a separate commit. To update them simply run the updatemakes.sh script.

Branches

Please be aware, that all branches besides master and develop can and will be force-pushed, rebased and/or removed!

If you want to rely on such an unstable branch, create your own fork of this repository to make sure nothing breaks for you.

Building

If you have libtommath installed on your system:

make CFLAGS="-DUSE_LTM -DLTM_DESC" EXTRALIBS="-ltommath" all

For building a shared library use:

make -f makefile.shared CFLAGS="-DUSE_LTM -DLTM_DESC" EXTRALIBS="-ltommath" all

If you have libtommath in a non-standard location:

make CFLAGS="-DUSE_LTM -DLTM_DESC -I/opt/devel/ltm" EXTRALIBS="/opt/devel/ltm/libtommath.a" all

On unusual UNIX platforms, or if you do not have GNU make, have a look at makefile.unix.

On MS Windows try libtomcrypt_VS2008.sln (Visual Studio) or makefile.mingw or makefile.msvc.