Commit graph

46 commits

Author SHA1 Message Date
Sergey Panteleev
6154d9c466
[PHP 8.1] Add new global Sodium constants (#1546) 2022-04-26 15:47:45 +03:00
Sergey Panteleev
133b912de1
[PHP 8.1] Add sodium ristretto255 functions (#1051) 2022-04-16 13:56:04 +03:00
Sergey Panteleev
42d9fd4535
Add sodium xchacha20 functions (#1045) 2022-04-16 13:55:13 +03:00
carnage
012af70e47
Should use constant time sodium_bin2hex in examples
Closes GH-1399.
2022-02-14 12:22:30 +01:00
Christoph M. Becker
8f28fbb43a
Revert "Revert "Generate ext/sodium class synopses from stubs""
This reverts commit 6700a28f74, because
the change is wanted, but this time we don't apply the `skip-revcheck`
tag.

Sorry for the noise, translators!
2021-11-17 00:36:22 +01:00
Christoph M. Becker
6700a28f74
[skip-revcheck] Revert "Generate ext/sodium class synopses from stubs"
This reverts commit 1b3769ae7d, because
we must not tag `skip-revcheck` here.

Cf. <1b3769ae7d (r60384241)>.
2021-11-17 00:32:41 +01:00
Máté Kocsis
1b3769ae7d
[skip-revcheck] Generate ext/sodium class synopses from stubs
Closes GH-1072.
2021-11-16 18:41:00 +01:00
Maurício Meneghini Fauth
80dd9db3b7 Document the sodium_crypto_secretbox_keygen function 2021-10-16 13:52:27 -03:00
Maurício Meneghini Fauth
47d1a1b4f1 Improve sodium_crypto_secretbox[_open] doc pages
Adds returnvalues, errors, examples and seealso sections to the
sodium_crypto_secretbox and sodium_crypto_secretbox_open documentation
pages.
2021-10-15 01:09:47 -03:00
Yoshinari Takaoka
d4eaf603fe
fixed parameter markup 2021-07-23 17:11:49 +09:00
Yoshinari Takaoka
2b57c8cd4c
fixed wrong example function name, part II. 2021-07-23 05:46:44 +09:00
Yoshinari Takaoka
5bbdca0c80
fixed wrong example function name. 2021-07-23 05:42:02 +09:00
Yoshinari Takaoka
26940f5332
fixed wrong referenced function name. 2021-07-23 05:35:45 +09:00
Yoshinari Takaoka
f578bab6a8
fixed typo 2021-07-23 04:29:46 +09:00
Yoshinari Takaoka
506da7e0e6
fixed parameter markup 2021-07-22 17:50:10 +09:00
Yoshinari Takaoka
e7853a8a24
Improved ext/sodium [Introduction|Resource Types] documentation. (#655) 2021-06-27 21:15:32 +09:00
Sergey Panteleev
d2621c5028
Remove undocumented tag 2021-06-17 19:01:30 +03:00
Sergey Panteleev
7e0812ffc3
Improvement sodium functions description (#695) 2021-06-16 13:55:39 +03:00
Sergey Panteleev
4287d6eadb
Fix sodium_bin2hex description (#690) 2021-06-15 15:08:31 +03:00
Sergey Panteleev
4aa11f94a6
Fix sodium missed description 2021-06-11 13:26:59 +03:00
George Peter Banyard
cbac1ecf71 Fix lone section order issues in various extensions
Part of #658
2021-06-06 18:03:03 +01:00
Paragon Initiative Enterprises
14e3e35ca0
Provide documentation for many ext/sodium functions
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-592.
2021-06-04 13:10:30 +02:00
Máté Kocsis
5770355a66
Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Yoshinari Takaoka
4624ac0d88 Added PHP 8 into versions.xml for sodium based on stubs.
Closes GH-367.
2021-01-28 19:03:52 +01:00
Christoph M. Becker
8469c26f01 SodiumException has no members 2021-01-28 18:56:47 +01:00
Christoph M. Becker
eef39a4510 Add SodiumException to the manual
The document was already there, but no included for whatever reason.
2021-01-28 18:52:08 +01:00
Christoph Michael Becker
fd71d9c2d9 Generate sodium methodsynopses based on stubs
Closes GH-288.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352185 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 12:53:42 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Nikita Popov
f1e951b988 Remove duplicated words
Patch by carusogabriel.

Closes php/doc-en#7.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347749 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-14 13:46:42 +00:00
Christoph Michael Becker
58fd955032 Fix misleading parameter name
Patch provided by jhdxr@.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346920 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 13:58:21 +00:00
Christoph Michael Becker
be1067961d Clarify parameter
Patch provided by Craig Francis.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346919 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 13:46:37 +00:00
Christoph Michael Becker
2eaf835fd2 Fix misleading parameter name
Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346918 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 13:39:06 +00:00
Derick Rethans
880fafc676 Adding some libsodium patches by Marcus Bointon.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346870 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-21 22:00:31 +00:00
Pasindu De Silva
63f25fc352 Added SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345702 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 02:22:51 +00:00
Christoph Michael Becker
7edfdafc14 Fix #76655: libsodium seems not present, "no installation needed" not true
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345378 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-23 10:41:04 +00:00
Christoph Michael Becker
1d4af49c43 Document function
Patch provided by Marcus Bointon.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345367 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-20 12:10:08 +00:00
Christoph Michael Becker
ca83ee0d06 Document sodium_crypto_kx_keypair()
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345250 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-30 12:28:52 +00:00
Christoph Michael Becker
308c398d63 Flesh out the doc skeleton
Based on a patch provided by Norbert Fuksz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345159 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-17 13:17:45 +00:00
Peter Cowburn
0dad2268d5 add missing svn properties, svn:eol-style and svn:keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344522 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-15 22:01:56 +00:00
Jakub Vrana
3ae3cf3c7c Add opcache and sodium to categorization
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344355 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-24 17:24:55 +00:00
Jakub Vrana
3e9734391f Add new functions to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 13:39:15 +00:00
Jakub Vrana
ff95f8d33f Delete ignored file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344023 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 18:14:23 +00:00
Jakub Vrana
f2eb038c2a Add new Sodium functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344022 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 18:11:35 +00:00
Jakub Vrana
e961c859a7 Fix Sodium signatures and add descriptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343872 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 12:06:36 +00:00
Christoph Michael Becker
021e8a170c Add skeleton documentation for ext/sodium
This has been generated by docgen with only some minor
tweaks to let the build succeed, plus fixing versions.xml.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343488 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 12:50:49 +00:00