8 Commits

Author SHA1 Message Date
sthen
1ade6b3dff update to libsodium-1.0.12 2017-03-17 08:39:38 +00:00
sthen
dc57ee841d update to libsodium-1.0.9, from Pablo Méndez Hernández, slight change
to SHARED_LIBS by me.
2016-04-03 10:56:27 +00:00
sthen
67d22a61c3 update to libsodium-1.0.4 2015-10-18 13:58:31 +00:00
sthen
0fdd9ac774 update to libsodium-0.70, for new features see
https://github.com/jedisct1/libsodium/releases/tag/0.7.0
2014-08-24 22:25:03 +00:00
sthen
be75f6d283 update to libsodium-0.6.1, adding suport for detached ed25519 signatures
and fixing a bug introduced in 0.5.0 (not updated in ports until post-5.5):

   "when crypto_sign_open() was given a signed message too short to even
   contain a signature, it was putting an unlimited amount of zeros into
   the target buffer instead of immediately returning -1."
2014-07-16 13:45:01 +00:00
sthen
4b3cc61c0f update to libsodium-0.6.0 2014-07-02 08:49:42 +00:00
sthen
b50c3300e1 update to libsodium 0.50, openbsd-relevant entries from changelog are:
- sodium_mlock()/sodium_munlock() have been introduced to lock pages
in memory before storing sensitive data, and to zero them before
unlocking them.
 - High-level wrappers for crypto_box and crypto_secretbox
(crypto_box_easy and crypto_secretbox_easy) can be used to avoid
dealing with the specific memory layout regular functions depend on.
 - crypto_pwhash_scryptxsalsa208sha256* functions have been added
to derive a key from a password, and for password storage.
 - Salsa20 and ed25519 implementations now support overlapping
inputs/keys/outputs (changes imported from supercop-20140505).
 - The poly1305-53 implementation has been replaced with Floodyberry's
poly1305-donna32 and poly1305-donna64 implementations.
 - sodium_hex2bin() has been added to complement sodium_bin2hex().
 - On OpenBSD and Bitrig, arc4random() is used instead of reading
/dev/urandom.
 - crypto_auth_hmac_sha512() has been implemented.
 - sha256 and sha512 now have a streaming interface.
 - hmacsha256, hmacsha512 and hmacsha512256 now support keys of
arbitrary length, and have a streaming interface.
 - crypto_verify_64() has been implemented.
 - CPU features are now detected at runtime.
2014-05-14 10:06:08 +00:00
sthen
7ae527c412 import security/libsodium, ok benoit@
NaCl (pronounced "salt") is a new easy-to-use high-speed software library
for network communication, encryption, decryption, signatures, etc.
NaCl's goal is to provide all of the core operations needed to build
higher-level cryptographic tools.

Sodium is a fork of NaCl with a compatible API. Unlike NaCl, Sodium
performs checks for hardware features at runtime instead of compile time,
making it suitable for packaging.
2013-10-23 12:07:52 +00:00