aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/siphash
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentation in commentsgingerBill2025-11-181-6/+6
|
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
| | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-1/+1
|
* core/crypto: Switch to using `ensure`Yawning Angel2025-03-231-11/+6
|
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-031-4/+9
|
* core/crypto: Change hash asserts to panicsYawning Angel2023-11-171-18/+10
| | | | | | | | | | Assertions can be disabled, but at the point where cryptographic anything is involved, a single branch has an infinitesimally small performance impact. The correct thing to do is to punch the caller in the face if they do something that is blatantly incorrect, especially in a security critical setting.
* core/crypto/siphash: Fix the low-level APIYawning Angel2023-11-171-27/+51
| | | | | | The `update` and `final` routines were written with the assumption that update will only be called once, and that the underlying data does not change between the calls.
* core/crypto/siphash: CleanupsYawning Angel2023-11-171-16/+15
| | | | | | | - Use `encoding/endian` - Use `math/bits` - Add `@(private)` annotations to internals - Minor optimization
* core/crypto/siphash: odinfmt (NFC)Yawning Angel2023-11-171-175/+188
|
* fix some typoscui fliter2022-08-051-1/+1
| | | | Signed-off-by: cui fliter <imcusg@gmail.com>
* [crypto] Remove unused `mem` import for siphash.Jeroen van Rijn2022-03-081-1/+0
|
* Add generic procedure for default SipHash 2-4zhibog2022-02-221-0/+20
|
* Added SipHash + tests and fixed remaining semicolons in vendor/botanzhibog2022-02-221-0/+316