LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
Introduce LTC_NULL_TERMINATED and re-work some internals.
This will potentially trigger compiler warnings in user-code that didn't exist before (which are no real problem).
Users who can't or don't want to fix their code can still compile warning-free by defining LTC_NO_NULL_TERMINATION_CHECK before including tomcrypt.h.
Introduce
LTC_NULL_TERMINATED
and re-work some internals.This will potentially trigger compiler warnings in user-code that didn't exist before (which are no real problem). Users who can't or don't want to fix their code can still compile warning-free by defining
LTC_NO_NULL_TERMINATION_CHECK
before includingtomcrypt.h
.Check commit messages for further details.