History log of /PHP-8.2/ext/sodium/libsodium_arginfo.h (Results 1 – 25 of 28)
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


# b4ec3e9b 28-Aug-2022 Máté Kocsis

Do not generate CONST_CS when registering constants (#9439)


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

Declare ext/sodium constants in stubs (#9225)


# 55a88f36 13-Jul-2022 Remi Collet

add SensitiveParameter as known string and use it in arginfo


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


# 6fd2b393 13-Jun-2022 Pierrick Charron

Indent with TAB in .h files generated by gen_stub


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

Mark parameter in ext/sodium as sensitive


# 2fe35cf8 05-Apr-2022 George Peter Banyard

Regenerate optimized func infos

Using the --generate-optimizer-info option for ./build/gen_stubs.php


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


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

Improve class entry generation

Related to GH-6701


# 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


# c9b9f525 19-Jun-2020 Nikita Popov

Include stub hash in generated arginfo files

The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necess

Include stub hash in generated arginfo files

The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.

This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.

Closes GH-5739.

show more ...


# 3709e74b 06-Apr-2020 Máté Kocsis

Store default parameter values of internal functions in arg info

Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal function

Store default parameter values of internal functions in arg info

Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

show more ...


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

Generate function entries for another batch of extensions

Closes GH-5352


12