| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Added rand_bytes for Windows in core:crypto | zhibog | 2022-03-02 | 2 | -1/+24 |
| | | |||||
| * | initial OpenBSD support | Sébastien Marie | 2022-02-25 | 2 | -1/+13 |
| | | |||||
| * | Add generic procedure for default SipHash 2-4 | zhibog | 2022-02-22 | 1 | -0/+20 |
| | | |||||
| * | Added SipHash + tests and fixed remaining semicolons in vendor/botan | zhibog | 2022-02-22 | 1 | -0/+316 |
| | | |||||
| * | Merge branch 'master' into odin-global-constants-as-enums | gingerBill | 2022-02-15 | 21 | -62/+62 |
| |\ | |||||
| | * | Strip unneeded semicolons | gingerBill | 2022-01-25 | 21 | -62/+62 |
| | | | |||||
| * | | Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use strings | gingerBill | 2022-01-20 | 3 | -3/+3 |
| |/ | |||||
| * | `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵ | gingerBill | 2022-01-15 | 2 | -3/+3 |
| | | | | | string version of the old constant | ||||
| * | Rename architecture `386` to `i386` | gingerBill | 2022-01-15 | 2 | -2/+2 |
| | | |||||
| * | Extended crypto API by variants that write the result into a destination ↵ | zhibog | 2021-12-31 | 22 | -479/+1893 |
| | | | | | buffer, instead of returning it | ||||
| * | crypto: Add rand_bytes | Yawning Angel | 2021-11-17 | 3 | -0/+55 |
| | | | | | | | | 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 chacha20poly1305 | Yawning Angel | 2021-11-17 | 1 | -0/+146 |
| | | | | | | This package implements the chacha20poly1305 AEAD construct as specified in RFC 8439. | ||||
| * | core/crypto: Add chacha20 | Yawning Angel | 2021-11-17 | 1 | -0/+581 |
| | | | | | | | | | | | | | 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/poly1305: Triple performance on amd64 with -o:speed | Yawning Angel | 2021-11-17 | 1 | -13/+34 |
| | | |||||
| * | core/crypto: Add poly1305 | Yawning Angel | 2021-11-17 | 3 | -0/+564 |
| | | | | | | This package implements the Poly1305 MAC algorithm as specified in RFC 8439, using routines taked from fiat-crypto and poly1305-donna. | ||||
| * | core/crypto: Add x25519 | Yawning Angel | 2021-11-17 | 5 | -0/+939 |
| | | | | | | This package implements the X25519 key agreement scheme as specified in RFC 7748, using routines taken from fiat-crypto and Monocypher. | ||||
| * | core/crypto: Add constant-time memory comparison routines | Yawning Angel | 2021-11-17 | 1 | -0/+41 |
| | | | | | | | | | | Using a constant-time comparison is required when comparing things like MACs, password digests, and etc to avoid exposing sensitive data via trivial timing attacks. These routines could also live under core:mem, but they are somewhat specialized, and are likely only useful for cryptographic applications. | ||||
| * | Removed context switching system from the crypto library to simplify the code | zhibog | 2021-11-09 | 30 | -7083/+3063 |
| | | |||||
| * | Fix order of operations to make it correct and work with -o:speed flaf | zhibog | 2021-11-07 | 3 | -7/+7 |
| | | |||||
| * | Added note due address thread safety | zhibog | 2021-10-16 | 1 | -0/+3 |
| | | |||||
| * | Fixed some typos in proc names | zhibog | 2021-10-16 | 6 | -62/+62 |
| | | |||||
| * | Remove the read_entire_file from the crypto utils and now use the one within ↵ | zhibog | 2021-10-16 | 24 | -104/+64 |
| | | | | | core:os | ||||
| * | Improved API. hash_file procs now just take a file handle instead of a path | zhibog | 2021-10-15 | 26 | -794/+696 |
| | | |||||
| * | Added note for the botan.dll to README.md | zhibog | 2021-10-14 | 1 | -0/+1 |
| | | |||||
| * | Add crypto library. Additional information is included in the README.md | zhibog | 2021-10-14 | 31 | -0/+16416 |