History log of /PHP-8.2/ext/sodium/libsodium.stub.php (Results 1 – 22 of 22)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1816403d 07-Dec-2023 Frank Denis <124872+jedisct1@users.noreply.github.com>

[sodium] Add AEGIS-128L and AEGIS-256 (#12867)

Also don't prevent usage of AES-GCM on aarch64, it's been supported since libsodium 1.0.18.

Fixes #12312


# 4679805c 02-Aug-2022 Máté Kocsis

Declare ext/sodium constants in stubs (#9225)


# 342e18f1 12-Jul-2022 Tim Düsterhus

Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)


# 49d3dde2 18-Jun-2022 Máté Kocsis

Declare true return types (#8759)


# 8f824331 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/sodium as sensitive


# afd8f84c 30-Mar-2022 Paragon Initiative Enterprises

Add sodium_crypto_stream_xchacha20_xor_ic()

There are many use-cases where a PHP user is currently using sodium_compat's implementation of this low-level XChaCha20 API. For example, multi-pa

Add sodium_crypto_stream_xchacha20_xor_ic()

There are many use-cases where a PHP user is currently using sodium_compat's implementation of this low-level XChaCha20 API. For example, multi-part message processing (in low-memory settings) for a ciphertext that was encrypted with XChaCha20-Poly1305 (rather than the secretstream API).

Adding this function to ext/sodium offers better performance and lowers users' memory usage with the polyfill, and ensures that users coming from other languages that provide libsodium bindings have a more consistent experience with our bindings. This is a win-win.

This patch follows the libsodium precedent of adding functions instead of optional parameters to existing functions. The parameter order is also consistent with the C API.

https://doc.libsodium.org/advanced/stream_ciphers/xchacha20#usage

Closes GH-8276.

show more ...


# 10a2079b 18-Oct-2021 Máté Kocsis

Remove extra space before return type

For consistency and searchability reasons


# d9e5e630 07-Oct-2021 Máté Kocsis

Add more specific array return type hints for various extensions - part 6 (#7474)


# a5e54834 08-Sep-2021 Máté Kocsis

Remove extra space before param default values


# 765aec86 26-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/sodium (#7404)


# 0c57ebb1 10-May-2021 Paragon Initiative Enterprises

Correct the argument names for ext/sodium functions

Closes GH-6969.


# 9b794f8e 07-May-2021 P.I.E. Security Team

Expose libsodium's Ristretto255 API (#6922)


# f7f1f7fc 19-Apr-2021 P.I.E. Security Team

Add crypto_stream_xchacha20 to ext/sodium (#6868)

Paragon Initiative Enterprises is aware of PHP applications that use sodium_compat's ParagonIE\Sodium\Core\XChaCha20 class directly for stre

Add crypto_stream_xchacha20 to ext/sodium (#6868)

Paragon Initiative Enterprises is aware of PHP applications that use sodium_compat's ParagonIE\Sodium\Core\XChaCha20 class directly for stream encryption.

Greater performance and security assurance is offered by exposing libsodium's crypto_stream_xchacha20 API to PHP users.

It's acceptable to only include this change in PHP 8.1+; the offending applications are more than welcome to either install ext/sodium from PECL or upgrade to 8.1 when it comes out later this year.

Ref: https://github.com/jedisct1/libsodium-php/pull/211

show more ...


# a730dc0c 15-Feb-2021 Máté Kocsis

Generate class entries for snmp, soap, sockets, sodium, sqlite3, sysv*, tidy

Closes GH-6696


# 49ef8bc0 28-Jan-2021 Christoph M. Becker

Add missing stub for SodiumException

Closes GH-6649.


# 8c68745f 06-Oct-2020 Nikita Popov

Update ext/sodium parameter names

Closes GH-6279.


# bdacd2ae 01-Aug-2020 Máté Kocsis

Add a few missing types to stubs


# 21cfa03f 05-Apr-2020 Máté Kocsis

Generate function entries for another batch of extensions

Closes GH-5352


# a43bc33f 04-Apr-2020 Máté Kocsis

Annotate function aliases in stubs


# 118b04bd 22-Feb-2020 Máté Kocsis

Improve argument error messages in ext/sodium

Closes GH-5197


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs


Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11
# f7c61c07 20-Oct-2019 Christoph M. Becker

Add ext/sodium arginfo stubs