aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Make test runners exit with errorlevel 1 if a test fails.Jeroen van Rijn2022-03-0310-1/+38
|
* tests/vendor: pass extra linker flagsSébastien Marie2022-02-261-1/+8
| | | | on OpenBSD, botan library is third-party and live in /usr/local which isn't a path included by default in linker.
* Added SipHash + tests and fixed remaining semicolons in vendor/botanzhibog2022-02-222-0/+86
|
* Merge branch 'master' into odin-global-constants-as-enumsgingerBill2022-02-153-3/+160
|\
| * Ports OpenSimplex2 from https://github.com/KdotJPG/OpenSimplex2 to Odin. ↵NoahR022022-02-081-4/+0
| | | | | | | | Adds tests for the noise procedures.
| * Ports OpenSimplex2 from https://github.com/KdotJPG/OpenSimplex2 to Odin. ↵NoahR022022-02-083-3/+164
| | | | | | | | Adds tests for the noise procedures.
* | Update testsgingerBill2022-01-202-2/+2
|/
* Update `ODIN_ENDIAN` usagegingerBill2022-01-161-1/+1
|
* [math/big] Rename `internal_int_shl_digit` to `_private_int_shl_leg`.Jeroen van Rijn2021-12-112-20/+20
| | | | | Same for the SHR variant. These are pure implementation details to shift by a leg/word at a time. Prevent accidental usage.
* [math/big] Fix int_set and int_get.Jeroen van Rijn2021-12-091-11/+16
|
* crypto: Add rand_bytesYawning Angel2021-11-172-0/+41
| | | | | | | This adds `rand_bytes(dst: []byte)` which fills the destination buffer with entropy from the cryptographic random number generator. This takes the "simple is best" approach and just directly returns the OS CSPRNG output instead of doing anything fancy (a la OpenBSD's arc4random).
* core/crypto: Add chacha20poly1305Yawning Angel2021-11-172-2/+130
| | | | | This package implements the chacha20poly1305 AEAD construct as specified in RFC 8439.
* core/crypto: Add chacha20Yawning Angel2021-11-172-4/+147
| | | | | | | | | | | | This package implements the ChaCha20 stream cipher as specified in RFC 8439, and the somewhat non-standard XChaCha20 variant that supports a 192-bit nonce. While an IETF draft for XChaCha20 standardization exists, implementations that pre-date the draft use a 64-bit counter, instead of the IETF-style 32-bit one. This implementation opts for the latter as compatibility with libsodium is more important than compatibility with an expired IETF draft.
* core/crypto: Add poly1305Yawning Angel2021-11-172-0/+132
| | | | | This package implements the Poly1305 MAC algorithm as specified in RFC 8439, using routines taked from fiat-crypto and poly1305-donna.
* core/crypto: Add x25519Yawning Angel2021-11-172-0/+100
| | | | | This package implements the X25519 key agreement scheme as specified in RFC 7748, using routines taken from fiat-crypto and Monocypher.
* [vendor:glfw] Add test.Jeroen van Rijn2021-11-102-1/+51
|
* Add tests to Linux and Mac and add vendor testszhibog2021-11-102-2/+11
|
* Add Botan crypto lib as a vendor libraryzhibog2021-11-093-0/+585
|
* Removed context switching system from the crypto library to simplify the codezhibog2021-11-092-183/+0
|
* Add json encoding test + fix enum not being set on success.Daniel Gavin2021-11-072-1/+96
|
* Move botan.dll to correct directoryzhibog2021-10-141-0/+0
|
* Added botan.dll for testszhibog2021-10-141-0/+0
|
* Add crypto library. Additional information is included in the README.mdzhibog2021-10-142-1/+1285
|
* png: Move metadata.Jeroen van Rijn2021-10-061-3/+1
|
* png: Add sane compile-time maximums for dimensions + chunk sizes.Jeroen van Rijn2021-10-061-2/+1
|
* png + compress: Rearrange error unions.Jeroen van Rijn2021-10-062-13/+17
|
* Add additional error checking to helpers.Jeroen van Rijn2021-10-061-9/+9
|
* Minor style changegingerBill2021-10-021-17/+17
|
* hash: Smaller CRC-64 ISO 3306 table.Jeroen van Rijn2021-09-211-4/+4
|
* hash: Add CRC-64 (ISO 3306) and inverse.Jeroen van Rijn2021-09-211-3/+13
|
* Correct CRC-64 (ECMA 182) & add CRC-64 (XZ) and tests.Jeroen van Rijn2021-09-211-0/+31
|
* typo in filenameDaniel Gavin2021-09-201-1/+1
|
* Make default_parser use the optional_semicolons and add odin parser test.Daniel Gavin2021-09-202-1/+56
|
* xxhash: Add tests for streaming input.Jeroen van Rijn2021-09-151-3/+27
|
* Add XXH3-64 + tests.Jeroen van Rijn2021-09-131-0/+28
|
* xxhash: typo.Jeroen van Rijn2021-09-121-1/+1
|
* xxhash: Add custom secret tests.Jeroen van Rijn2021-09-122-137/+2222
|
* xxhash: Extra (generated) tests.Jeroen van Rijn2021-09-112-1564/+4654
|
* LLVM 12 big math test workaround.Jeroen van Rijn2021-09-113-53/+36
|
* xxhash: Disable prefetch on Linux.Jeroen van Rijn2021-09-111-1/+1
|
* xxhash: Fix test on Linux.Jeroen van Rijn2021-09-111-1/+1
|
* xxhash: Add XXH3_128 + test vectors.Jeroen van Rijn2021-09-112-9/+1631
|
* Fix typo.Jeroen van Rijn2021-09-091-1/+1
|
* Add xxhash tests to CI.Jeroen van Rijn2021-09-093-1/+140
|
* Also use custom test runner on Linux.Jeroen van Rijn2021-09-081-3/+3
|
* Custom test runner.Jeroen van Rijn2021-09-084-23/+85
|
* Try to address test timeouts.Jeroen van Rijn2021-09-082-6/+0
|
* Separate math/big test.Jeroen van Rijn2021-09-072-15/+14
|
* Tests: Integrate `strings` into CI.Jeroen van Rijn2021-09-072-2/+14
|
* Move math/big tests under `tests/`.Jeroen van Rijn2021-09-073-2/+1173
|