php-src/ext/sodium
Niels Dossche 4da46107c4
Fix memory leaks in ext/sodium on failure of some functions
Infallible in practice right now, but should be fixed as infallible today does not mean infallible tomorrow:
- sodium_crypto_sign_publickey_from_secretkey
- sodium_crypto_kx_seed_keypair
- sodium_crypto_kx_keypair
- sodium_crypto_auth
- sodium_crypto_sign_ed25519_sk_to_curve25519
- sodium_pad

Fallible today:
- sodium_crypto_sign_ed25519_pk_to_curve25519

Closes GH-14309.
2024-05-23 22:40:28 +02:00
..
tests Fix memory leaks in ext/sodium on failure of some functions 2024-05-23 22:40:28 +02:00
config.m4 Add -Wno-logical-op compiler flag to Sodium extension 2020-10-10 17:26:49 +01:00
config.w32 Remove some unused HAVE_* symbols 2019-07-21 11:34:18 +02:00
CREDITS
libsodium.c Fix memory leaks in ext/sodium on failure of some functions 2024-05-23 22:40:28 +02:00
libsodium.stub.php Declare ext/sodium constants in stubs (#9225) 2022-08-02 13:57:52 +02:00
libsodium_arginfo.h Do not generate CONST_CS when registering constants (#9439) 2022-08-28 08:27:19 +02:00
php_libsodium.h Declare ext/sodium constants in stubs (#9225) 2022-08-02 13:57:52 +02:00
README.md Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
sodium_pwhash.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00

Build Status

libsodium-php

A simple, low-level PHP extension for libsodium.

Full documentation here: Using Libsodium in PHP Projects, a guide to using the libsodium PHP extension for modern, secure, and fast cryptography.