Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Frank Denis
72f7d0b184
ext/sodium: import bindings for secretstream
2017-10-02 21:59:51 +02:00
Frank Denis
7d53e65125
ext/sodium: add crypto_pwhash_str_needs_rehash()
...
Also properly define xchacha20poly1305_ietf_keygen()
2017-10-02 21:54:50 +02:00
Frank Denis
e22094eb13
ext/sodium: +base64 codecs (timing-safe)
2017-10-02 21:43:54 +02:00
Frank Denis
6383c6e3d0
ext/sodium: sort functions list
2017-08-29 19:22:17 +02:00
Frank Denis
3691f36913
sodium ext: add bindings for sodium_pad() and sodium_unpad()
2017-08-24 16:12:18 +02:00
Frank Denis
8a2e747a7b
sodium ext: remove redundant and obsolete macros
2017-07-22 17:50:22 +02:00
Frank Denis
09b15e4f30
sodium ext: implement sodium_crypto_kdf()
...
Also add zend_parse_parameters_none() statements where appropriate.
2017-07-18 14:42:15 +02:00
Frank Denis
aa32d989c7
sodium ext: remove unused sodium_randombytes_*() prototypes
2017-07-13 18:59:58 +02:00
Frank Denis
b071fcb81d
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.
2017-07-12 23:29:48 +02:00
Frank Denis
8e8fbf51f7
sodium ext: sort prototypes
2017-07-12 23:06:43 +02:00
Frank Denis
6ac6d2c64a
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.
2017-07-12 08:25:38 +01:00
Frank Denis
dfac71d096
Revert "fix macro redifinitions"
...
This reverts commit cbbf579f21
.
2017-07-12 08:25:35 +01:00
Anatol Belski
cbbf579f21
fix macro redifinitions
2017-07-11 10:01:37 +02:00
Remi Collet
d269aa2003
fix authors
2017-07-11 07:43:56 +02:00
Paragon Initiative Enterprises
5cfa26c181
Squashed commit - Add ext/sodium
...
RFC: https://wiki.php.net/rfc/libsodium
Licensing: https://web.archive.org/web/20170710161517/https://github.com/jedisct1/libsodium-php/issues/127
2017-07-11 07:25:50 +02:00