aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/chacha20
Commit message (Collapse)AuthorAgeFilesLines
* Remove `core:mem` import from `core:crypto`.Jeroen van Rijn3 days1-2/+2
|
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* core/crypto: Switch to using `ensure`Yawning Angel2025-03-231-11/+5
|
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-2/+2
|
* core/crypto/aead: Initial importYawning Angel2024-08-102-1/+5
|
* core/crypto/chacha20: Change API terminology to be consistent with AESYawning Angel2024-08-102-17/+17
|
* core/crypto/chacha20: Use 128-bit/256-bit SIMDYawning Angel2024-08-102-458/+97
|
* core/crypto: Enforce aliasing restrictionsYawning Angel2024-07-161-3/+5
|
* core/crypto: Misc cleanups and documentation improvementsYawning Angel2024-03-041-15/+33
|
* core/crypto/chacha20: CleanupsYawning Angel2023-11-171-180/+135
| | | | | - Use `encoding/endian` - Use `math/bits`
* core/crypto: Add private attributes for internalsYawning Angel2023-04-081-0/+10
| | | | | These constants and internal routines are not intended for use outside the actual implementations themselves.
* Convert `ODIN_OS` and `ODIN_ARCH` to use enums rather than use stringsgingerBill2022-01-201-1/+1
|
* Rename architecture `386` to `i386`gingerBill2022-01-151-1/+1
|
* core/crypto: Add chacha20Yawning Angel2021-11-171-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.