| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove `core:mem` import from `core:crypto`. | Jeroen van Rijn | 3 days | 1 | -2/+2 |
| | | |||||
| * | Change Odin's LICENSE to zlib from BSD 3-clause | gingerBill | 2025-10-28 | 1 | -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. | ||||
| * | core/crypto: Switch to using `ensure` | Yawning Angel | 2025-03-23 | 2 | -29/+24 |
| | | |||||
| * | core/crypto: Add `rodata` annotations (NFC) | Yawning Angel | 2025-03-23 | 2 | -4/+4 |
| | | |||||
| * | core/crypto/_sha3: Fix edge case in cSHAKE bytepad | Yawning Angel | 2024-09-30 | 1 | -6/+8 |
| | | | | | | If the domain separator happens to be exactly the rate, we would previously incorrectly add another rate-bytes of 0s. | ||||
| * | core/crypto/kmac: Initial import | Yawning Angel | 2024-03-04 | 1 | -11/+12 |
| | | |||||
| * | core/crypto/tuplehash: Initial import | Yawning Angel | 2024-03-04 | 1 | -0/+14 |
| | | |||||
| * | core/crypto/shake: Support cSHAKE | Yawning Angel | 2024-03-04 | 2 | -3/+131 |
| | | |||||
| * | core/crypto/_sha3: Cleanups, prepare for cSHAKE | Yawning Angel | 2024-03-04 | 1 | -37/+45 |
| | | |||||
| * | core/crypto: Expose the block sizes for every hash algorithm | Yawning Angel | 2024-02-07 | 1 | -1/+5 |
| | | | | | | While I just went and made this private, this information is required for keying HMAC. | ||||
| * | core:crypto/hash: Add a generic higher level hash interface | Yawning Angel | 2024-02-07 | 1 | -43/+64 |
| | | | | | | | There is a lot of code duplicated in convenience methods in each hash implementation, and having a generic hash type makes implementing higher-level constructs such as HMAC significantly easier down the road. | ||||
| * | core/crypto: Add more assertions to the low level API | Yawning Angel | 2023-11-17 | 1 | -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 panics | Yawning Angel | 2023-11-17 | 1 | -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: Cleanups | Yawning Angel | 2023-11-17 | 1 | -25/+7 |
| | | | | | - Use `math/bits` | ||||
| * | core/crypto/sha3: odinfmt (NFC) | Yawning Angel | 2023-11-17 | 1 | -132/+137 |
| | | |||||
| * | Rename files to not start with `_` | gingerBill | 2023-09-26 | 1 | -0/+0 |
| | | |||||
| * | `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵ | gingerBill | 2022-01-15 | 1 | -2/+2 |
| | | | | | string version of the old constant | ||||
| * | Removed context switching system from the crypto library to simplify the code | zhibog | 2021-11-09 | 1 | -6/+5 |
| | | |||||
| * | Add crypto library. Additional information is included in the README.md | zhibog | 2021-10-14 | 1 | -0/+170 |