1.0.6
版本发布时间: 2015-11-02 06:50:09
jedisct1/libsodium最新发布版本:1.0.20-RELEASE(2024-05-25 21:50:27)
- Optimized implementations of Blake2 have been added for modern Intel platforms. crypto_generichash() is now faster than MD5 and SHA1 implementations while being far more secure.
- Functions for which the return value should be checked have been tagged with
__attribute__ ((warn_unused_result))
. This will intentionally break code compiled with-Werror
that didn't bother checking critical return values. - The
crypto_sign_edwards25519sha512batch_*()
functions have been tagged as deprecated. - Undocumented symbols that were exported, but were only useful for internal purposes have been removed or made private:
sodium_runtime_get_cpu_features()
, the implementation-specificcrypto_onetimeauth_poly1305_donna()
symbols,crypto_onetimeauth_poly1305_set_implementation()
,crypto_onetimeauth_poly1305_implementation_name()
andcrypto_onetimeauth_pick_best_implementation()
. -
sodium_compare()
now works as documented, and compares numbers in little-endian format instead of behaving likememcmp()
. - The previous changes should not break actual applications, but to be safe, the library version major was incremented.
-
sodium_runtime_has_ssse3()
andsodium_runtime_has_sse41()
have been added. - The library can now be compiled with the CompCert compiler.
1、 libsodium-1.0.6.tar.gz 1.71MB