This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Atomics & threads complement library | |
| * Matthew Reiner, 2026 | |
| * Available under the GPL 3.0 license | |
| * Targeting: Windows, Linux, *BSD, MacOS | |
| * Implements the following: | |
| * - Wait/Notify functionality for simple types up to 64 bit | |
| * - Arbitrary condition wait | |
| * - Thread management | |
| * - Relax, yield & sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Relatively fast and low-level ChaCha20, Poly1305 and Blake2s implementation | |
| * Matthew Reiner, 2026 | |
| * Available under the GPL 3.0 license | |
| * Fuzz-tested on over 2.5 billion unique inputs for each algorithm, to match libsodium's implementation 1:1 | |
| * Tests performed with clang -O3 and included UB-sanitizer and address-sanitizer | |
| */ | |
| #include <stdint.h> | |
| #include <stddef.h> |