libtom / libtomcrypt

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.
https://www.libtom.net
Other
1.51k stars 449 forks source link

Improve vararg apis #598

Closed sjaeckel closed 1 year ago

sjaeckel commented 1 year ago

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.

Check commit messages for further details.