History log of /PHP-8.0/ext/sodium/libsodium.c (Results 76 – 100 of 102)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3140d404 08-Aug-2017 Frank Denis

sodium ext: Add missing "return" statements after zend_throw_exception()


Revision tags: php-7.1.8, php-7.2.0beta2, php-7.0.22
# 34df3cda 30-Jul-2017 Frank Denis

sodium ext: skip scrypt if it is not available

scrypt was removed from minimal libsodium builds in version 1.0.13


# 74d7f1d0 30-Jul-2017 Frank Denis

sodium ext: check hash length for scrypt


# 85895b2e 30-Jul-2017 Frank Denis

sodium ext: no need for #ifdef crypto_aead_chacha20poly1305_IETF_NPUBBYTES

chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we suppo

sodium ext: no need for #ifdef crypto_aead_chacha20poly1305_IETF_NPUBBYTES

chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we support.

show more ...


# 1d7e1f84 30-Jul-2017 Frank Denis

sodium ext: check that message sizes are safe, to avoid hitting abort() in libsodium


# ae999599 30-Jul-2017 Frank Denis

sodium ext: use unexpand -t 4 --first-only to convert from spaces to tabs

No actual code changes.

Fun fact: macOS' unexpand(1) tool doesn't work as documented, and always
conver

sodium ext: use unexpand -t 4 --first-only to convert from spaces to tabs

No actual code changes.

Fun fact: macOS' unexpand(1) tool doesn't work as documented, and always
converts everything to tabs, regardless of the -a switch.

show more ...


# 613c8dd7 29-Jul-2017 Frank Denis

sodium ext: let crypto_pwhash() accept an optional algorithm identifier


# 66729aee 24-Jul-2017 Sammy Kaye Powers

Fix ext/sodium display in phpinfo()


# 742895f6 24-Jul-2017 Frank Denis

sodium ext: don't reinvent sodium_increment() and sodium_add()


# c499bd12 22-Jul-2017 Frank Denis

sodium ext: define crypto_aead_chacha20poly1305_ietf_KEYBYTES if needed

Some old libsodium versions didn't had a dedicated constant for the
IETF version of this construction.


# f8ffc962 21-Jul-2017 Frank Denis

sodium ext: delete copypasta from sodium_crypto_kdf_derive_from_key()

/via @fredemmott


# 0e2a7fc8 20-Jul-2017 Frank Denis

sodium ext: use crypto_scalarmult_BYTES for points coordinates

Just for consistency.


# 557029e8 20-Jul-2017 Frank Denis

sodium ext: clear the hash state after we're done hashing


Revision tags: php-7.1.8RC1, php-7.2.0beta1
# d8a14e2a 18-Jul-2017 Frank Denis

sodium ext: drop unused code
/via @remicollet


# a6b529c3 20-Jul-2017 Frank Denis

sodium ext: use crypto_scalarmult_BYTES for points coordinates

Just for consistency.


# 2c4010f0 20-Jul-2017 Frank Denis

sodium ext: clear the hash state after we're done hashing


# 25010207 18-Jul-2017 Frank Denis

sodium ext: drop unused code
/via @remicollet


# 09b15e4f 18-Jul-2017 Frank Denis

sodium ext: implement sodium_crypto_kdf()

Also add zend_parse_parameters_none() statements where appropriate.


Revision tags: php-7.0.22RC1
# b071fcb8 12-Jul-2017 Frank Denis

sodium ext: add bindings for keygen() functions

This is the recommended way to generate keys correctly for all operations
using a single key, since libsodium 1.0.12.


# a5258ed6 11-Jul-2017 Frank Denis

sodium ext: remove function names before exception messages


# 6ac6d2c6 11-Jul-2017 Frank Denis

sodium ext: update the crypto_kx_*() API to the libsodium one

The crypto_kx API initially present in the PHP bindings was a prototype
that was not part of libsodium.

This implem

sodium ext: update the crypto_kx_*() API to the libsodium one

The crypto_kx API initially present in the PHP bindings was a prototype
that was not part of libsodium.

This implements the one from libsodium >= 1.0.12.

We can later leverage the native libsodium functions if we decide that
1.0.12 is the minimum version we want to support.

show more ...


# dfac71d0 11-Jul-2017 Frank Denis

Revert "fix macro redifinitions"

This reverts commit cbbf579f2178073b4d88c0bd2f2052e853a32a1e.


# d1ee6665 11-Jul-2017 Anatol Belski

Revert "remove excessive checks and fix warnings"

This reverts commit c620daecb4f8b1552eb3f63f6a699ea315825072.


# c620daec 11-Jul-2017 Anatol Belski

remove excessive checks and fix warnings


# cbbf579f 11-Jul-2017 Anatol Belski

fix macro redifinitions


12345