php-src/ext/sodium/tests
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
..
bug78114.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
bug78516.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_aead.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_auth.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_box.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_core_ristretto255.phpt Comment out ristretto255 scalar invert test 2021-08-10 12:04:47 +02:00
crypto_generichash.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_hex.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_kdf.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_kx.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_scalarmult.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_scalarmult_ristretto255.phpt Improve ristretto255 scalarmult exception messages 2021-08-10 11:19:29 +02:00
crypto_secretbox.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_secretstream.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_shorthash.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_sign.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_stream.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
crypto_stream_xchacha20.phpt Add sodium_crypto_stream_xchacha20_xor_ic() 2022-04-04 15:43:42 +02:00
exception_trace_without_args.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
inc_add.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
installed.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
php_password_hash_argon2i.phpt Add some missing EXTENSIONS sections to misc tests 2021-06-14 14:52:44 +02:00
php_password_hash_argon2id.phpt Add some missing EXTENSIONS sections to misc tests 2021-06-14 14:52:44 +02:00
php_password_verify.phpt Add some missing EXTENSIONS sections to misc tests 2021-06-14 14:52:44 +02:00
pwhash_argon2i.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
pwhash_scrypt.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
sodium_crypto_sign_ed25519_pk_to_curve25519_failure_leak.phpt Fix memory leaks in ext/sodium on failure of some functions 2024-05-23 22:40:28 +02:00
sodium_error_001.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
utils.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00
version.phpt run-tests: use the EXTENSIONS section for skipping 2021-03-22 09:53:38 +01:00