/
clang
/
libsodium
ОбзорДокументацияВойти
/
clang
/
libsodium
Код
Вики
Пакеты
0
Релизы
0
Аналитика
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
libsodium/
test/default/
..
Makefile.am

Add a couple more tests

5 месяцев назад
aead_aegis128l.c

Add a couple more tests

5 месяцев назад
aead_aegis128l.exp

Add AEGIS128L test, regen the ones for AEGIS256, sort

5 лет назад
aead_aegis256.c

Add a couple more tests

5 месяцев назад
aead_aegis256.exp

Add tests for AEGIS-256

7 лет назад
aead_aes256gcm.c

Avoid memcmp() with len=0

4 года назад
aead_aes256gcm.exp

Add aes256gcm test vectors

11 лет назад
aead_aes256gcm2.c

Add a couple more tests

5 месяцев назад
aead_aes256gcm2.exp

Add aes256gcm tests from project wycheproof

8 лет назад
aead_chacha20poly1305.c

Use a guard page instead of NULL for opt arguments in tests

8 лет назад
aead_chacha20poly1305.exp

Add IETF-compatible version of chacha20poly1305

11 лет назад
aead_chacha20poly13052.c

Remove unused variables

8 лет назад
aead_chacha20poly13052.exp

Add chacha20-poly1305 test from Project Wycheproof

8 лет назад
aead_xchacha20poly1305.c

aead_xchacha20poly1305_ietf_decrypt(): add a test with a NULL message

7 лет назад
aead_xchacha20poly1305.exp

xchacha20 test: initialize the full nonce

8 лет назад
auth.c

Fix tests, use guard page instead of NULL because of Wasm

8 лет назад
auth.exp

Test crypto_auth_hmacsha256_*()

9 лет назад
auth2.c

Indentx

9 лет назад
auth2.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
auth3.c

Fix tests, use guard page instead of NULL because of Wasm

8 лет назад
auth3.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
auth5.c

Fix tests, use guard page instead of NULL because of Wasm

8 лет назад
auth5.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
auth6.c

Indentx

9 лет назад
auth6.exp

Add tests for auth_hmac_sha512

12 лет назад
auth7.c

Fix tests, use guard page instead of NULL because of Wasm

8 лет назад
auth7.exp

Add tests for auth_hmac_sha512

12 лет назад
box.c

Add *_messagebytes_max() wrappers

9 лет назад
box.exp

Test crypto_box_(before|after)nm

12 лет назад
box2.c

More tests

9 лет назад
box2.exp

Test crypto_box_(before|after)nm

12 лет назад
box7.c

Indent

9 лет назад
box7.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
box8.c

Indent

9 лет назад
box8.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
box_easy.c

Fix tests, use guard page instead of NULL because of Wasm

8 лет назад
box_easy.exp

Add a test with a null message in box_easy()

11 лет назад
box_easy2.c

Test crypto_box_open_detached() with a weak PK

9 лет назад
box_easy2.exp

Add new tests for the crypto_box_*() precomputed interface

12 лет назад
box_seal.c

Fix flaky non-deterministic box_seal tests

2 года назад
box_seal.exp

More tests

7 лет назад
box_seed.c

Indent

9 лет назад
box_seed.exp

Change crypto_box_seed_keypair to use SHA-512 of the seed

12 лет назад
chacha20.c

fix crypto_stream_chacha20_ietf tests (#946)

6 лет назад
chacha20.exp

fix crypto_stream_chacha20_ietf tests (#946)

6 лет назад
cmptest.h

Use CLOCK_MONOTONIC for benchmarking, if possible

3 года назад
codecs.c

Refactor IPv6 zone ID parsing and reject malformed zone identifiers

4 месяца назад
codecs.exp

Change sodium_ip2bin to take the ip length

7 месяцев назад
codecs2.c

Add a couple more tests

5 месяцев назад
codecs2.exp

Add a couple more tests

5 месяцев назад
codecs3.c

Add a couple more tests

5 месяцев назад
codecs3.exp

Add a couple more tests

5 месяцев назад
core1.c

Indent

9 лет назад
core1.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
core2.c

Indent

9 лет назад
core2.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
core3.c

Remove tests for deprecated functions

9 лет назад
core3.exp

Add some tests for reduced-rounds salsa20

9 лет назад
core4.c

Fix format string sign

9 лет назад
core4.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
core5.c

Indent

9 лет назад
core5.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
core6.c

Indent

9 лет назад
core6.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
core_ed25519.c

core_ed25519_is_valid_point: check Y==Z in addition to X==0

7 месяцев назад
core_ed25519.exp

Remove crypto_core_ed25519_from_uniform

7 месяцев назад
core_ed25519_h2c.c

Format

6 месяцев назад
core_ed25519_h2c.exp

Adjust KAT order

6 месяцев назад
core_keccak1600.c

Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES

7 месяцев назад
core_keccak1600.exp

Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES

7 месяцев назад
core_ristretto255.c

test: fix two error messages (#1034)

5 лет назад
core_ristretto255.exp

Initial support for ristretto255

7 лет назад
core_ristretto255_h2c.c

Add further tests for ristretto255 hash to element from RFC9497 (#1516)

5 месяцев назад
core_ristretto255_h2c.exp

Adjust KAT order

6 месяцев назад
ed25519_convert.c

ED25519_NONDETERMINISTIC: derive keys from the seed the same way as when ED25519_NONDETERMINISTIC is not defined

8 лет назад
ed25519_convert.exp

Implement ed25519 -> curve25519 keys conversion

12 лет назад
generichash.c

Use a guard page instead of NULL for opt arguments in tests

8 лет назад
generichash.exp

Remove generichash tests with invalid parameters They must be reintroduced at some point, probably by overriding the `abort` symbol.

11 лет назад
generichash2.c

C++ compat

9 лет назад
generichash2.exp

Require the generichash state to be aligned

9 лет назад
generichash3.c

Use a guard page instead of NULL for opt arguments in tests

8 лет назад
generichash3.exp

Remove generichash tests with invalid parameters They must be reintroduced at some point, probably by overriding the `abort` symbol.

11 лет назад
hash.c

Indentx

9 лет назад
hash.exp

Test crypto_hash() with an input longer than the block size

12 лет назад
hash3.c

Indentx

9 лет назад
hash3.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
hash_sha3256.c

sha3: make post-final misuse safe and deterministic

4 месяца назад
hash_sha3256.exp

sha3: make post-final misuse safe and deterministic

4 месяца назад
hash_sha3512.c

sha3: make post-final misuse safe and deterministic

4 месяца назад
hash_sha3512.exp

sha3: make post-final misuse safe and deterministic

4 месяца назад
index.html.tpl

Put <meta> tag outside <style>

6 лет назад
ipcrypt.c

Export missing crypto_ipcrypt_nd_keygen() helper function

7 месяцев назад
ipcrypt.exp

Add more tests

7 месяцев назад
kdf.c

Move HKDF test to its own file

6 лет назад
kdf.exp

Move HKDF test to its own file

6 лет назад
kdf_hkdf.c

Properly test crypto_kdf_hkdf_sha*_keygen

4 месяца назад
kdf_hkdf.exp

Move HKDF test to its own file

6 лет назад
kdf_hkdf2.c

Add some additional tests for HKDF and Salsa20/12

5 месяцев назад
kdf_hkdf2.exp

Add some additional tests for HKDF and Salsa20/12

5 месяцев назад
kdf_hkdf3.c

Add a couple more tests

5 месяцев назад
kdf_hkdf3.exp

Add a couple more tests

5 месяцев назад
kdf_hkdf4.c

Add a couple more tests

5 месяцев назад
kdf_hkdf4.exp

Add a couple more tests

5 месяцев назад
kem.c

Add a high-level crypto_kem API mapping to xwing

7 месяцев назад
kem.exp

Add a high-level crypto_kem API mapping to xwing

7 месяцев назад
kem_mlkem768.c

ML-KEM: wipe ephemeral seeds and harden invalid-pk test

4 месяца назад
kem_mlkem768.exp

ML-KEM: wipe ephemeral seeds and harden invalid-pk test

4 месяца назад
kem_xwing.c

Add X-Wing

7 месяцев назад
kem_xwing.exp

Add X-Wing

7 месяцев назад
keygen.c

More keygen tests

9 лет назад
keygen.exp

Add a keygen function to all the primitives

9 лет назад
kx.c

Test KX with a weak PK

9 лет назад
kx.exp

+ crypto_kx_*() API

9 лет назад
metamorphic.c

casts

9 лет назад
metamorphic.exp

+ simple metamorphic tests for crypto_generichash()

9 лет назад
misuse.c

Last exit() -> _exit() in misuse test

4 года назад
misuse.exp

More tests, and start testing misuse cases

9 лет назад
onetimeauth.c

More tests, and start testing misuse cases

9 лет назад
onetimeauth.exp

Check crypto_onetimeauth() streaming interface

12 лет назад
onetimeauth2.c

Indent

9 лет назад
onetimeauth2.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
onetimeauth7.c

Indent

9 лет назад
onetimeauth7.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
pre.js.inc

Javascript tests: don't call FS.*() if the filesystem module is not present

9 лет назад
pwhash_argon2i.c

Add a pwhash test with guarded memory; it doesn't hurt

4 года назад
pwhash_argon2i.exp

Use less memory for the pwhash tests

9 лет назад
pwhash_argon2id.c

Include argon2id in crypto_pwhash_primitive()

3 года назад
pwhash_argon2id.exp

Use less memory for the pwhash tests

9 лет назад
pwhash_argon2id2.c

Add a couple more tests

5 месяцев назад
pwhash_argon2id2.exp

Add a couple more tests

5 месяцев назад
pwhash_scrypt.c

Remove unused variable in tests

6 лет назад
pwhash_scrypt.exp

Remove an unreliable scrypt test

7 лет назад
pwhash_scrypt_ll.c

Fix previous

9 лет назад
pwhash_scrypt_ll.exp

Disable the pwhash_scrypt_ll test that requires 1 Gb RAM. This is way too much for many devices and for VPS users.

12 лет назад
randombytes.c

Rename randombytes_salsa20 to randombytes_internal and switch to ChaCha20

7 лет назад
randombytes.exp

Do not use a zero nonce in randombytes_buf_deterministic()

9 лет назад
run.sh

test/default/run.sh compat with GNU find

4 года назад
scalarmult.c

Add a scalarmult test to show that the high bit is ignored

6 лет назад
scalarmult.exp

Add a scalarmult test to show that the high bit is ignored

6 лет назад
scalarmult2.c

Remove unused variables

2 года назад
scalarmult2.exp

Simplify scalarmult{2,5} tests

6 лет назад
scalarmult5.c

Remove unused variables

2 года назад
scalarmult5.exp

Simplify scalarmult{2,5} tests

6 лет назад
scalarmult6.c

Indent

9 лет назад
scalarmult6.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
scalarmult7.c

Indent

9 лет назад
scalarmult7.exp

scalarmult: check that the top bit is ignored

12 лет назад
scalarmult8.c

Add aes256gcm tests from project wycheproof

8 лет назад
scalarmult8.exp

Add x25519 test vectors from project wycheproof

8 лет назад
scalarmult_ed25519.c

Add extra scalarmult tests

7 месяцев назад
scalarmult_ed25519.exp

Add a test for crypto_scalarmult_ed25519

9 лет назад
scalarmult_ristretto255.c

More tests

7 лет назад
scalarmult_ristretto255.exp

Initial support for ristretto255

7 лет назад
secretbox.c

Add *_messagebytes_max() wrappers

9 лет назад
secretbox.exp

Add a test for crypto_secretbox() with c == m

11 лет назад
secretbox2.c

More tests, and start testing misuse cases

9 лет назад
secretbox2.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
secretbox7.c

Indent

9 лет назад
secretbox7.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
secretbox8.c

Indent

9 лет назад
secretbox8.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
secretbox_easy.c

secrebox: add a test with in/out buffers next to each other

9 лет назад
secretbox_easy.exp

secrebox: add a test with in/out buffers next to each other

9 лет назад
secretbox_easy2.c

Remove incorrect and useless cast

9 лет назад
secretbox_easy2.exp

Support overlapping input and output regions in crypto_secretbox_detached() crypto_stream_salsa20() doesn't support overlapping input and output regions, except when they are aliases.

12 лет назад
secretstream_xchacha20poly1305.c

Make room for several secretstream

7 лет назад
secretstream_xchacha20poly1305.exp

Make room for several secretstream

7 лет назад
shorthash.c

Add a test for siphashx24

9 лет назад
shorthash.exp

Reintroduce shorthash, this time with the key...

13 лет назад
sign.c

Nits

8 лет назад
sign.exp

Add ed25519ph

9 лет назад
sign2.c

Remove unused variables

8 месяцев назад
sign2.exp

Add ge25519_p2_to_p3(), ge25519_p3_add(), ge25519_p3_sub()

4 года назад
siphashx24.c

Trim spaces

9 лет назад
siphashx24.exp

Add a test for siphashx24

9 лет назад
sodium_core.c

Skip the misuse handler test when running benchmarks or wasm

4 года назад
sodium_core.exp

Remove error string from sodium_misuse()

9 лет назад
sodium_utils.c

Fix tests, use guard page instead of NULL because of Wasm

8 лет назад
sodium_utils.exp

Relax most __attribute__ ((nonnull)) to allow 0-length inputs to be NULL.

8 лет назад
sodium_utils2.c

Handle SIGPROT, CHERI's in-address space security exception

3 года назад
sodium_utils2.exp

Add sodium_{malloc,allocarray,free}() and sodium_mprotect_*()

12 лет назад
sodium_utils3.c

tests/sodium_utils3: skip SIGSEGV check when tsan is enabled

год назад
sodium_utils3.exp

Add sodium_{malloc,allocarray,free}() and sodium_mprotect_*()

12 лет назад
sodium_utils4.c

Add a couple more tests

5 месяцев назад
sodium_utils4.exp

Add a couple more tests

5 месяцев назад
sodium_version.c

+ sodium_library_minimal() and SODIUM_LIBRARY_MINIMAL

9 лет назад
sodium_version.exp

Add tests for sodium_*() functions.

13 лет назад
stream.c

Make the stream and stream2 test object code 1000x smaller

7 лет назад
stream.exp

Just use some test vectors around the counter overflow

7 лет назад
stream2.c

Make the stream and stream2 test object code 1000x smaller

7 лет назад
stream2.exp

Add a test for crypto_stream_salsa20_xor_ic()

12 лет назад
stream3.c

Braces

5 лет назад
stream3.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
stream4.c

Braces

5 лет назад
stream4.exp

Move tests to test/default and windows to quirks/windows. test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.

14 лет назад
stream5.c

Add some additional tests for HKDF and Salsa20/12

5 месяцев назад
stream5.exp

Add some additional tests for HKDF and Salsa20/12

5 месяцев назад
stream6.c

Add a couple more tests

5 месяцев назад
stream6.exp

Add a couple more tests

5 месяцев назад
verify1.c

Indentx

9 лет назад
verify1.exp

Less deterministic crypto_verify_*() tests

11 лет назад
wasi-test-wrapper.sh

wasmer syntax for volumes seems to have changed

месяц назад
wintest.bat

Revert "Enable building win/arm64 package using visual studio (#1130)"

3 года назад
xchacha20.c

One more test

9 лет назад
xchacha20.exp

Add tests for chacha&salsa with a counter around 2^32

9 лет назад
xof2.c

Add a couple more tests

5 месяцев назад
xof2.exp

Add a couple more tests

5 месяцев назад
xof_shake128.c

Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES

7 месяцев назад
xof_shake128.exp

Add SHAKE and TurboSHAKE

10 месяцев назад
xof_shake256.c

Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES

7 месяцев назад
xof_shake256.exp

Add SHAKE and TurboSHAKE

10 месяцев назад
xof_turboshake128.c

Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES

7 месяцев назад
xof_turboshake128.exp

Add SHAKE and TurboSHAKE

10 месяцев назад
xof_turboshake256.c

Add crypto_core_keccak1600_state, remove keccak1600_STATEBYTES

7 месяцев назад
xof_turboshake256.exp

Add SHAKE and TurboSHAKE

10 месяцев назад