1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00
libsodium/test/default
Frank Denis a8fa837aac Don't even include signal.h on WASI
Since version 11, wasi-sysroot doesn't ignore it but spits out
an error instead.
2020-06-04 10:54:53 +02:00
..
aead_aegis256.c aegis256: Support mac verification when m is NULL 2019-09-12 21:11:07 +00:00
aead_aegis256.exp Add tests for AEGIS-256 2019-09-12 14:42:19 +00:00
aead_aes256gcm2.c Remove unused variables 2018-12-29 16:42:09 +01:00
aead_aes256gcm2.exp Add aes256gcm tests from project wycheproof 2018-08-30 09:51:28 +02:00
aead_aes256gcm.c Use a guard page instead of NULL for opt arguments in tests 2018-12-24 15:02:59 +01:00
aead_aes256gcm.exp Add aes256gcm test vectors 2015-10-11 12:56:20 +02:00
aead_chacha20poly1305.c Use a guard page instead of NULL for opt arguments in tests 2018-12-24 15:02:59 +01:00
aead_chacha20poly1305.exp Add IETF-compatible version of chacha20poly1305 2015-05-09 16:12:03 +02:00
aead_chacha20poly13052.c Remove unused variables 2018-12-29 16:42:09 +01:00
aead_chacha20poly13052.exp Add chacha20-poly1305 test from Project Wycheproof 2018-09-04 15:44:42 +02:00
aead_xchacha20poly1305.c aead_xchacha20poly1305_ietf_decrypt(): add a test with a NULL message 2019-05-06 11:15:11 +02:00
aead_xchacha20poly1305.exp xchacha20 test: initialize the full nonce 2018-08-03 23:23:53 +02:00
auth2.c Indentx 2017-02-23 11:15:29 +01:00
auth2.exp
auth3.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
auth3.exp
auth5.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
auth5.exp
auth6.c Indentx 2017-02-23 11:15:29 +01:00
auth6.exp
auth7.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
auth7.exp
auth.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
auth.exp Test crypto_auth_hmacsha256_*() 2017-07-24 22:08:07 +02:00
box2.c More tests 2017-07-24 15:16:22 +02:00
box2.exp
box7.c Indent 2017-02-23 11:19:53 +01:00
box7.exp
box8.c Indent 2017-02-23 11:19:53 +01:00
box8.exp
box_easy2.c Test crypto_box_open_detached() with a weak PK 2017-07-29 21:34:28 +02:00
box_easy2.exp Add new tests for the crypto_box_*() precomputed interface 2015-01-06 21:18:36 +01:00
box_easy.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
box_easy.exp Add a test with a null message in box_easy() 2015-11-27 14:18:43 +01:00
box_seal.c Add extra box_seal() tests 2020-05-21 18:38:55 +02:00
box_seal.exp More tests 2019-05-06 11:40:57 +02:00
box_seed.c Indent 2017-02-23 11:19:53 +01:00
box_seed.exp
box.c Add *_messagebytes_max() wrappers 2017-08-03 13:34:31 +02:00
box.exp
chacha20.c fix crypto_stream_chacha20_ietf tests (#946) 2020-04-17 11:00:44 +02:00
chacha20.exp fix crypto_stream_chacha20_ietf tests (#946) 2020-04-17 11:00:44 +02:00
cmptest.h WASI can't read its own writes without an explicit fflush() 2019-09-13 11:16:58 +02:00
codecs.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
codecs.exp Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
core1.c Indent 2017-02-23 11:19:53 +01:00
core1.exp
core2.c Indent 2017-02-23 11:19:53 +01:00
core2.exp
core3.c Remove tests for deprecated functions 2017-12-11 23:22:34 +01:00
core3.exp Add some tests for reduced-rounds salsa20 2017-12-06 13:38:46 +00:00
core4.c Fix format string sign 2017-12-01 15:24:48 +01:00
core4.exp
core5.c Indent 2017-02-23 11:19:53 +01:00
core5.exp
core6.c Indent 2017-02-23 11:19:53 +01:00
core6.exp
core_ed25519_h2c.c Typo 2020-06-02 16:57:08 +02:00
core_ed25519_h2c.exp H2C: change sign computation for Ell2 to match BHKL13 2020-05-12 16:33:13 +02:00
core_ed25519.c Add some field arithmetic tests for edge cases 2020-05-14 12:33:49 +02:00
core_ed25519.exp Add some field arithmetic tests for edge cases 2020-05-14 12:33:49 +02:00
core_ristretto255.c One more test vector cannot hurt 2020-04-25 12:26:06 +02:00
core_ristretto255.exp Initial support for ristretto255 2019-02-18 00:56:48 +01:00
ed25519_convert.c ED25519_NONDETERMINISTIC: derive keys from the seed the same way 2018-12-25 13:25:57 +01:00
ed25519_convert.exp
generichash2.c C++ compat 2017-12-21 22:35:02 +01:00
generichash2.exp Require the generichash state to be aligned 2017-12-21 18:21:43 +01:00
generichash3.c Use a guard page instead of NULL for opt arguments in tests 2018-12-24 15:02:59 +01:00
generichash3.exp Remove generichash tests with invalid parameters 2015-11-27 11:00:29 +01:00
generichash.c Use a guard page instead of NULL for opt arguments in tests 2018-12-24 15:02:59 +01:00
generichash.exp Remove generichash tests with invalid parameters 2015-11-27 11:00:29 +01:00
hash2.exp
hash3.c Indentx 2017-02-23 11:25:09 +01:00
hash3.exp
hash.c Indentx 2017-02-23 11:25:09 +01:00
hash.exp Test crypto_hash() with an input longer than the block size 2014-09-23 13:40:08 -07:00
index.html.tpl Add actual performance API emulation for old browsers 2017-10-05 07:52:33 +02:00
kdf_hkdf.c Move HKDF test to its own file 2020-03-31 17:42:42 +02:00
kdf_hkdf.exp Move HKDF test to its own file 2020-03-31 17:42:42 +02:00
kdf.c Move HKDF test to its own file 2020-03-31 17:42:42 +02:00
kdf.exp Move HKDF test to its own file 2020-03-31 17:42:42 +02:00
keygen.c More keygen tests 2017-09-17 23:13:38 +02:00
keygen.exp Add a keygen function to all the primitives 2017-02-19 21:15:54 +01:00
kx.c Test KX with a weak PK 2017-07-29 21:46:14 +02:00
kx.exp + crypto_kx_*() API 2017-03-12 13:15:39 +01:00
Makefile.am Revert "Add the BlaBla2000 stream cipher - will eventually become the default" 2020-04-21 13:35:29 +02:00
metamorphic.c casts 2017-12-01 17:29:29 +01:00
metamorphic.exp + simple metamorphic tests for crypto_generichash() 2017-09-17 21:41:32 +02:00
misuse.c C++ compat 2019-01-03 09:49:33 +01:00
misuse.exp More tests, and start testing misuse cases 2017-07-17 23:09:44 +02:00
onetimeauth2.c Indent 2017-02-23 11:20:37 +01:00
onetimeauth2.exp
onetimeauth7.c Indent 2017-02-23 11:20:37 +01:00
onetimeauth7.exp
onetimeauth.c More tests, and start testing misuse cases 2017-07-17 23:09:44 +02:00
onetimeauth.exp
pre.js.inc Javascript tests: don't call FS.*() if the filesystem module is not present 2017-12-21 21:36:56 +01:00
pwhash_argon2i.c Add a memleak checker to the benchmark code 2017-12-16 14:51:11 +01:00
pwhash_argon2i.exp Use less memory for the pwhash tests 2017-10-04 22:52:11 +02:00
pwhash_argon2id.c C++ compat 2019-01-03 09:49:33 +01:00
pwhash_argon2id.exp Use less memory for the pwhash tests 2017-10-04 22:52:11 +02:00
pwhash_scrypt_ll.c Fix previous 2017-02-25 21:01:52 +01:00
pwhash_scrypt_ll.exp
pwhash_scrypt.c Remove an unreliable scrypt test 2019-05-21 13:14:06 +02:00
pwhash_scrypt.exp Remove an unreliable scrypt test 2019-05-21 13:14:06 +02:00
randombytes.c Rename randombytes_salsa20 to randombytes_internal and switch to ChaCha20 2019-03-17 19:25:32 +01:00
randombytes.exp Do not use a zero nonce in randombytes_buf_deterministic() 2017-03-09 13:57:37 +01:00
scalarmult2.c Simplify scalarmult{2,5} tests 2020-04-26 20:06:51 +02:00
scalarmult2.exp Simplify scalarmult{2,5} tests 2020-04-26 20:06:51 +02:00
scalarmult5.c Simplify scalarmult{2,5} tests 2020-04-26 20:06:51 +02:00
scalarmult5.exp Simplify scalarmult{2,5} tests 2020-04-26 20:06:51 +02:00
scalarmult6.c Indent 2017-02-23 11:22:00 +01:00
scalarmult6.exp
scalarmult7.c Indent 2017-02-23 11:22:00 +01:00
scalarmult7.exp
scalarmult8.c Add aes256gcm tests from project wycheproof 2018-08-30 09:51:28 +02:00
scalarmult8.exp Add x25519 test vectors from project wycheproof 2018-08-29 15:08:26 +02:00
scalarmult_ed25519.c More tests 2019-05-06 12:40:21 +02:00
scalarmult_ed25519.exp Add a test for crypto_scalarmult_ed25519 2017-11-15 16:57:29 +01:00
scalarmult_ristretto255.c More tests 2019-05-06 12:40:21 +02:00
scalarmult_ristretto255.exp Initial support for ristretto255 2019-02-18 00:56:48 +01:00
scalarmult.c Add a scalarmult test to show that the high bit is ignored 2020-04-26 20:00:49 +02:00
scalarmult.exp Add a scalarmult test to show that the high bit is ignored 2020-04-26 20:00:49 +02:00
secretbox2.c More tests, and start testing misuse cases 2017-07-17 23:09:44 +02:00
secretbox2.exp
secretbox7.c Indent 2017-02-23 11:22:36 +01:00
secretbox7.exp
secretbox8.c Indent 2017-02-23 11:22:36 +01:00
secretbox8.exp
secretbox_easy2.c Remove incorrect and useless cast 2017-12-11 19:54:10 +01:00
secretbox_easy2.exp Support overlapping input and output regions in crypto_secretbox_detached() 2014-10-04 22:08:09 -07:00
secretbox_easy.c secrebox: add a test with in/out buffers next to each other 2017-07-29 22:27:17 +02:00
secretbox_easy.exp secrebox: add a test with in/out buffers next to each other 2017-07-29 22:27:17 +02:00
secretbox.c Add *_messagebytes_max() wrappers 2017-08-03 13:34:31 +02:00
secretbox.exp Add a test for crypto_secretbox() with c == m 2015-09-09 08:51:19 +02:00
secretstream_xchacha20poly1305.c Make room for several secretstream 2019-09-16 15:38:38 +00:00
secretstream_xchacha20poly1305.exp Make room for several secretstream 2019-09-16 15:38:38 +00:00
shorthash.c Add a test for siphashx24 2017-02-24 19:23:14 +01:00
shorthash.exp
sign.c Nits 2019-01-02 16:14:15 +01:00
sign.exp Add ed25519ph 2017-03-05 14:45:13 +01:00
siphashx24.c Trim spaces 2017-02-24 19:23:55 +01:00
siphashx24.exp Add a test for siphashx24 2017-02-24 19:23:14 +01:00
sodium_core.c has_armcrypto_aes -> has_armcrypto 2019-10-23 19:07:33 +02:00
sodium_core.exp Remove error string from sodium_misuse() 2017-07-19 00:57:19 +02:00
sodium_utils2.c Don't even include signal.h on WASI 2020-06-04 10:54:53 +02:00
sodium_utils2.exp
sodium_utils3.c Don't even include signal.h on WASI 2020-06-04 10:54:53 +02:00
sodium_utils3.exp
sodium_utils.c Fix tests, use guard page instead of NULL because of Wasm 2019-02-09 20:47:24 +01:00
sodium_utils.exp Relax most __attribute__ ((nonnull)) to allow 0-length inputs to be NULL. 2019-02-09 20:26:10 +01:00
sodium_version.c + sodium_library_minimal() and SODIUM_LIBRARY_MINIMAL 2017-03-06 09:47:09 +01:00
sodium_version.exp
stream2.c Make the stream and stream2 test object code 1000x smaller 2019-04-23 09:57:36 +02:00
stream2.exp Add a test for crypto_stream_salsa20_xor_ic() 2015-02-02 21:27:12 +01:00
stream3.c Indent 2017-02-23 11:23:19 +01:00
stream3.exp
stream4.c Indent 2017-02-23 11:23:19 +01:00
stream4.exp
stream.c Make the stream and stream2 test object code 1000x smaller 2019-04-23 09:57:36 +02:00
stream.exp Just use some test vectors around the counter overflow 2019-03-21 03:08:40 +01:00
verify1.c Indentx 2017-02-23 11:23:50 +01:00
verify1.exp Less deterministic crypto_verify_*() tests 2015-11-25 14:10:36 +01:00
wasi-test-wrapper.sh Add wasm3 to the set of supported WebAssembly runtimes 2020-02-04 19:52:25 +01:00
wintest.bat
xchacha20.c One more test 2017-12-06 13:53:22 +00:00
xchacha20.exp Add tests for chacha&salsa with a counter around 2^32 2017-03-03 10:14:08 +01:00