aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/_sha3
Commit message (Collapse)AuthorAgeFilesLines
* core/crypto: Add more assertions to the low level APIYawning Angel2023-11-171-4/+25
| | | | | Assertions here are "fine" and it matches what the code that has the checks in init/update/final already does.
* core/crypto: Change hash asserts to panicsYawning Angel2023-11-171-1/+7
| | | | | | | | | | 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/_sha3: CleanupsYawning Angel2023-11-171-25/+7
| | | | - Use `math/bits`
* core/crypto/sha3: odinfmt (NFC)Yawning Angel2023-11-171-132/+137
|
* Rename files to not start with `_`gingerBill2023-09-261-0/+0
|
* `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵gingerBill2022-01-151-2/+2
| | | | string version of the old constant
* Removed context switching system from the crypto library to simplify the codezhibog2021-11-091-6/+5
|
* Add crypto library. Additional information is included in the README.mdzhibog2021-10-141-0/+170