History log of /PHP-8.1/ext/sodium/libsodium.c (Results 76 – 100 of 114)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b1a7885d 29-Aug-2017 Frank Denis

ext/sodium: AI_StringRef_And_String -> AI_StringRefAndString for consistency

Revision tags: php-7.2.0RC1, php-7.0.23
# 56a99988 23-Aug-2017 Sammy Kaye Powers

Fix constant references in error messages in ext/sodium

# 48907e57 24-Aug-2017 Frank Denis

sodium ext: if it's a length, call it "length"!

# 3691f369 24-Aug-2017 Frank Denis

sodium ext: add bindings for sodium_pad() and sodium_unpad()

# cf6f25bd 24-Aug-2017 Frank Denis

sodium ext: restore sodium_remove_param_values_from_backtrace() call

# a966d21a 24-Aug-2017 Frank Denis

sodium ext: sync sodium_crypto_kdf_derive_from_key() with the standalone ext

Use libsodium's native function if available, use correct constant names
in error messages

# 271f0c4f 24-Aug-2017 Frank Denis

sodium ext: Constants were renamed SODIUM_*
Adjust error messages accordingly.

# 3fff74aa 22-Aug-2017 Frank Denis

sodium ext: If sodium_init() returns 1, this is fine.

We actually want to do this so that multiple extensions using libsodium
can be loaded simultaneously.

# e8f552ae 17-Aug-2017 Sammy Kaye Powers

Remove param values from backtrace in exception thrown from ZPP throw

# 0591fe24 17-Aug-2017 Sammy Kaye Powers

Change zend_parse_parameters() to zend_parse_parameters_throw() in ext/sodium

Revision tags: php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1
# ef0bd7b2 08-Aug-2017 Frank Denis

sodium ext: Use _ietf_ vs _IETF_ consistently

# 03314e3f 08-Aug-2017 Frank Denis

sodium ext: No need for #ifdef crypto_aead_chacha20poly1305_IETF_

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

# 596a892c 08-Aug-2017 Frank Denis

Sodium ext: Isolate a return statement for consistency

# a0d1e091 08-Aug-2017 Frank Denis

sodium ext: The default password hashing function is not supposed to be Argon2i

# 631fc3c9 08-Aug-2017 Frank Denis

sodium ext: long -> zend_long

# 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.

12345