2013-02-13 11:38:25 +01:00
|
|
|
libtomcrypt
|
|
|
|
==========
|
|
|
|
|
2017-02-28 17:35:57 +01:00
|
|
|
See `doc/crypt.pdf` for a detailed documentation
|
2013-02-13 11:38:25 +01:00
|
|
|
|
2014-05-07 17:03:12 +02:00
|
|
|
Project Status
|
|
|
|
--------------
|
2013-05-29 14:30:47 +03:00
|
|
|
|
2014-05-25 00:25:21 +02:00
|
|
|
develop: [](https://travis-ci.org/libtom/libtomcrypt) [](https://coveralls.io/r/libtom/libtomcrypt) [](https://scan.coverity.com/projects/487)
|
2013-05-29 14:30:47 +03:00
|
|
|
|
2013-02-13 11:38:25 +01:00
|
|
|
Submitting patches
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Please branch off from develop if you want to submit a patch.
|
2006-12-16 18:10:04 +00:00
|
|
|
|
2017-02-28 17:35:57 +01:00
|
|
|
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.
|
|
|
|
|
2013-03-20 17:47:23 +01:00
|
|
|
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.
|
2006-12-16 18:10:04 +00:00
|
|
|
|
2017-07-12 23:15:26 +02:00
|
|
|
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`.
|