| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tests/core/crypto: Use the `tests/common` boilerplate | Yawning Angel | 2024-03-04 | 8 | -107/+87 |
| | | |||||
| * | core/crypto/kmac: Initial import | Yawning Angel | 2024-03-04 | 1 | -0/+98 |
| | | |||||
| * | core/crypto/tuplehash: Initial import | Yawning Angel | 2024-03-04 | 2 | -131/+342 |
| | | |||||
| * | core/crypto/shake: Support cSHAKE | Yawning Angel | 2024-03-04 | 1 | -6/+60 |
| | | |||||
| * | core/crypto/hkdf: Initial import | Yawning Angel | 2024-03-04 | 1 | -0/+67 |
| | | |||||
| * | core/crypto/pbkdf2: Initial import | Yawning Angel | 2024-03-04 | 2 | -0/+120 |
| | | |||||
| * | Merge pull request #3203 from listeriaceae/master | gingerBill | 2024-03-01 | 1 | -0/+181 |
| |\ | | | | | port math.round from Golang | ||||
| | * | port math.round from Golang | Juan Ignacio Díaz | 2024-02-16 | 1 | -0/+181 |
| | | | |||||
| * | | core/container/avl: Initial import | Yawning Angel | 2024-02-24 | 2 | -0/+162 |
| | | | |||||
| * | | test/core/container: Refactor for multiple container types | Yawning Angel | 2024-02-24 | 2 | -19/+34 |
| | | | |||||
| * | | tests/core: Bring the Makefile more in-sync with build.bat | Yawning Angel | 2024-02-24 | 3 | -25/+33 |
| | | | |||||
| * | | Make sure we are listening before starting the client | Laytan Laats | 2024-02-20 | 1 | -15/+10 |
| | | | |||||
| * | | Add logs to flaky test | Laytan Laats | 2024-02-20 | 1 | -6/+33 |
| | | | |||||
| * | | Remove flaky test | Laytan Laats | 2024-02-20 | 1 | -23/+0 |
| | | | | | | | | | | | | | | | It wasn't testing the right thing in the previous iteration. And in this iteration the behaviour is a timeout on Unix, and nothing on Windows. | ||||
| * | | Improve net tests | Laytan Laats | 2024-02-20 | 1 | -128/+81 |
| |/ | | | | | | | | | | | | | | | | | Watching the sporadic CI failures it seems to come from these tests a lot of the time, this PR cleans up and simplifies (while testing the same things): 1. Lots of tests were using threads without a need for it 2. Tests had hardcoded `time.sleep` calls which is never a good idea 3. An unclear abstraction was implemented without a real need 4. They weren't being ran on non-windows 5. The `client_connects_to_open_but_not_accepting_port` was not doing what you wanted to test for, the `tcp_server` proc was returning, and then `dial` was called, which meant that the server already closed and you got a refusal error. Now it correctly listens without accepting, which even results in a different error because the kernel buffer would have buffered the send | ||||
| * | core/crypto: Stop using context.temp_allocator | Yawning Angel | 2024-02-07 | 1 | -0/+25 |
| | | | | | | | | | | | | The max digest size for the foreseeable future will be 512 bits, and the max block size is currently 1152 bits (SHA3-224). If people add more exotic hash algorithms without bumping the constants when required, tests will fail. The stream buffer will currently be 576 bytes, which is "fine" to just stick on the stack, and is a sensible multiple of the more common block size of 64 bytes. | ||||
| * | core/crypto/hmac: Initial import | Yawning Angel | 2024-02-07 | 2 | -130/+243 |
| | | |||||
| * | core/crypto/hash: Make the low level interface allocator-less | Yawning Angel | 2024-02-07 | 1 | -4/+10 |
| | | | | | Just (ab)using reflect to victory is probably fine. | ||||
| * | tests/core/crypto: Reorganize | Yawning Angel | 2024-02-07 | 5 | -668/+674 |
| | | | | | | | | All of our crypto is modern now unless exiled to the legacy sub-package, so move the test cases for the currently un-unified algorithms into the main test driver file, and rename the benchmark driver to reflect reality. | ||||
| * | core/crypto/shake: SHAKE is an XOF, not a hash | Yawning Angel | 2024-02-07 | 2 | -31/+79 |
| | | |||||
| * | tests/core/crypto: Cleanup/modernize a bit | Yawning Angel | 2024-02-07 | 3 | -249/+366 |
| | | |||||
| * | core:crypto/hash: Add a generic higher level hash interface | Yawning Angel | 2024-02-07 | 2 | -388/+615 |
| | | | | | | | There is a lot of code duplicated in convenience methods in each hash implementation, and having a generic hash type makes implementing higher-level constructs such as HMAC significantly easier down the road. | ||||
| * | fix hxa test use after free, skip weird pow test failure | Laytan Laats | 2024-02-02 | 1 | -2/+1 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 5 | -6/+6 |
| | | |||||
| * | Merge pull request #3006 from hwchen/hwchen/last_index_any | Jeroen van Rijn | 2024-01-08 | 1 | -0/+12 |
| |\ | | | | | fix strings.last_index_any for single char | ||||
| | * | fix strings.last_index_any for single char | Walther Chen | 2023-12-18 | 1 | -0/+12 |
| | | | |||||
| * | | Update core:encoding to Unicode 15.1 table. | Jeroen van Rijn | 2024-01-02 | 2 | -104/+104 |
| | | | |||||
| * | | add other failing test and fix them | Laytan Laats | 2023-12-18 | 1 | -1/+12 |
| | | | |||||
| * | | switch tests around | Laytan Laats | 2023-12-18 | 1 | -1/+1 |
| | | | |||||
| * | | add failing test for runtime arena edge case | Laytan Laats | 2023-12-18 | 3 | -1/+71 |
| |/ | |||||
| * | Used `strings.builder_reset` instead of `clear` for the string builder | Hector | 2023-11-25 | 1 | -4/+6 |
| | | |||||
| * | Updated to tabs and used provided test methods. | Hector | 2023-11-25 | 1 | -33/+37 |
| | | |||||
| * | Binary search improvements | Hector | 2023-11-25 | 3 | -3/+85 |
| | | | | | | | | | Modified the algorithm so that the index is either the location of the element if found or the index at which to insert the element to maintain sorted order. Also added some tests to verify the above claim. | ||||
| * | Merge pull request #2939 from laytan/allow-larger-thread-poly-data | Jeroen van Rijn | 2023-11-24 | 3 | -1/+93 |
| |\ | | | | | Allow larger thread poly data | ||||
| | * | fix self_cleanup causing join to fail | laytan | 2023-11-20 | 1 | -6/+10 |
| | | | |||||
| | * | Fix shadowing | Laytan Laats | 2023-11-15 | 1 | -12/+12 |
| | | | |||||
| | * | Allow larger thread poly data | Laytan Laats | 2023-11-15 | 3 | -1/+89 |
| | | | | | | | | | | | | | | | | | The poly data currently has the restriction of being less than a pointer's size, but there is much more space in the `Thread.user_args` array which can be utilized, this commit allows you to pass types that are larger than pointer length as long as the total size of the poly data is less than that of the `Thread.user_args`. | ||||
| * | | core/crypto: Exile keccak, md5 and sha1 to legacy | Yawning Angel | 2023-11-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | In an perfect world these would just be removed, but the world is imperfect, and people are forced to interact/interface with things that are broken. | ||||
| * | | core/crypto/whirlpool: Remove, historical/exotic | Yawning Angel | 2023-11-17 | 1 | -28/+0 |
| | | | |||||
| * | | core/crypto/tiger: Remove, historical/exotic | Yawning Angel | 2023-11-17 | 1 | -110/+0 |
| | | | |||||
| * | | core/crypto/streebog: Remove, exotic | Yawning Angel | 2023-11-17 | 1 | -31/+0 |
| | | | |||||
| * | | core/crypto/ripemd: Remove, historical/exotic | Yawning Angel | 2023-11-17 | 1 | -85/+0 |
| | | | |||||
| * | | core/crypto/md4: Remove, badly broken | Yawning Angel | 2023-11-17 | 1 | -21/+0 |
| | | | |||||
| * | | core/crypto/md2: Remove, badly broken | Yawning Angel | 2023-11-17 | 1 | -21/+0 |
| | | | |||||
| * | | core/crypto/jh: Remove, use SHA-3 | Yawning Angel | 2023-11-17 | 1 | -61/+0 |
| | | | |||||
| * | | core/crypto/haval: Remove, badly broken | Yawning Angel | 2023-11-17 | 1 | -171/+0 |
| | | | |||||
| * | | core/crypto/groestl: Remove, use SHA-3 | Yawning Angel | 2023-11-17 | 1 | -61/+0 |
| | | | |||||
| * | | core/crypto/gost: Remove, exotic | Yawning Angel | 2023-11-17 | 1 | -22/+0 |
| | | | |||||
| * | | core/crypto/blake: Remove, use BLAKE2b/BLAKE2s | Yawning Angel | 2023-11-17 | 1 | -61/+0 |
| | | | |||||
| * | | core/crypto/sha2: Add SHA-512/256 | Yawning Angel | 2023-11-17 | 1 | -0/+16 |
| |/ | |||||