| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | core/crypto/aes: Add AES implementation | Yawning Angel | 2024-06-01 | 7 | -1/+617 |
| | | |||||
| * | core/crypto/_aes/ct64: Add GHASH | Yawning Angel | 2024-06-01 | 2 | -0/+141 |
| | | |||||
| * | core/crypto/_aes: 64-bit portable implementation | Yawning Angel | 2024-06-01 | 7 | -0/+867 |
| | | |||||
| * | Merged with master | Andreas T Jonsson | 2024-05-02 | 7 | -30/+23 |
| |\ | |||||
| | * | core/crypto: Add a `HAS_RAND_BYTES` constant | Yawning Angel | 2024-04-23 | 7 | -30/+23 |
| | | | |||||
| * | | Merge branch 'master' into netbsd | Andreas T Jonsson | 2024-04-25 | 6 | -11/+13 |
| |\| | |||||
| | * | Core Foundation and Security vendor libraries. | Vitalii Kravchenko | 2024-04-13 | 6 | -11/+13 |
| | | | |||||
| * | | Added missing build tags in core | Andreas T Jonsson | 2024-04-25 | 1 | -0/+1 |
| | | | |||||
| * | | Added build tag | Andreas T Jonsson | 2024-04-22 | 1 | -1/+1 |
| |/ | | | | Added build tag to rand_bsd.odin and fixed build warning. | ||||
| * | core/crypto/ed25519: Initial import | Yawning Angel | 2024-04-09 | 1 | -0/+314 |
| | | |||||
| * | core/crypto/ristretto255: Initial import | Yawning Angel | 2024-04-09 | 3 | -2/+620 |
| | | |||||
| * | core/crypto/_edwards25519: Initial import | Yawning Angel | 2024-04-09 | 7 | -53/+889 |
| | | |||||
| * | core/crypto/_fiat/field_scalar25519: Initial import | Yawning Angel | 2024-04-09 | 2 | -0/+684 |
| | | |||||
| * | core/crypto/_fiat/field_poly1305: Mark more functions contextless | Yawning Angel | 2024-04-09 | 3 | -5/+12 |
| | | |||||
| * | core/crypto/_fiat/field_poly1305: Use multiply to calculate the mask | Yawning Angel | 2024-04-09 | 1 | -1/+1 |
| | | |||||
| * | core/crypto/_fiat/field_curve25519: Mark more functions contextless | Yawning Angel | 2024-04-09 | 3 | -7/+17 |
| | | |||||
| * | core/crypto/_fiat: odinfmt (NFC) | Yawning Angel | 2024-04-09 | 5 | -31/+84 |
| | | |||||
| * | core/crypto/_fiat/field_poly1305: Move routines (NFC) | Yawning Angel | 2024-04-09 | 2 | -31/+29 |
| | | |||||
| * | core/crypto/_fiat/field_curve25519: Move routines (NFC) | Yawning Angel | 2024-04-09 | 2 | -53/+49 |
| | | |||||
| * | core/crypto/_fiat/field_curve25519: Use multiply to calculate the mask | Yawning Angel | 2024-04-09 | 1 | -1/+1 |
| | | | | | | Largely for consistency with the generic code, either is valid with Odin semantics, but this is easier to comprehend. | ||||
| * | core/crypto: Add `has_rand_bytes` | Yawning Angel | 2024-04-09 | 7 | -0/+34 |
| | | | | | | This allows runtime detection as to if `rand_bytes` is supported or not, and lets us enable the test-case on all of the supported targets. | ||||
| * | core/crypto: Add more documentation about assumptions (NFC) | Yawning Angel | 2024-04-09 | 1 | -0/+8 |
| | | |||||
| * | core/crypto/poly1305: The final addition is NOT mod p | Yawning Angel | 2024-04-05 | 1 | -9/+17 |
| | | |||||
| * | Merge pull request #3229 from Yawning/feature/moar-crypto | gingerBill | 2024-03-06 | 14 | -86/+730 |
| |\ | | | | | core/crypto: More improvements/additions | ||||
| | * | core/crypto: Misc cleanups and documentation improvements | Yawning Angel | 2024-03-04 | 5 | -39/+108 |
| | | | |||||
| | * | core/crypto/kmac: Initial import | Yawning Angel | 2024-03-04 | 2 | -11/+128 |
| | | | |||||
| | * | core/crypto/tuplehash: Initial import | Yawning Angel | 2024-03-04 | 2 | -0/+80 |
| | | | |||||
| | * | core/crypto/shake: Support cSHAKE | Yawning Angel | 2024-03-04 | 3 | -13/+144 |
| | | | |||||
| | * | core/crypto/_sha3: Cleanups, prepare for cSHAKE | Yawning Angel | 2024-03-04 | 4 | -38/+48 |
| | | | |||||
| | * | core/crypto/hkdf: Initial import | Yawning Angel | 2024-03-04 | 1 | -0/+103 |
| | | | |||||
| | * | core/crypto/pbkdf2: Initial import | Yawning Angel | 2024-03-04 | 1 | -0/+122 |
| | | | |||||
| | * | core/crypto/hmac: Add a clone method | Yawning Angel | 2024-03-04 | 1 | -0/+12 |
| | | | |||||
| * | | fix build tags | Laytan Laats | 2024-02-13 | 1 | -1/+6 |
| | | | |||||
| * | | implement part of core foundation framework bindings for err message | Laytan Laats | 2024-02-13 | 1 | -1/+2 |
| | | | |||||
| * | | remove darwin from bsd filename | Laytan Laats | 2024-02-13 | 1 | -0/+0 |
| | | | |||||
| * | | use `Security.framework` with `SecRandomCopyBytes` for rand_bytes on darwin | Laytan Laats | 2024-02-13 | 2 | -1/+12 |
| | | | |||||
| * | | add crypto.rand_bytes for Darwin and FreeBSD | Laytan Laats | 2024-02-13 | 3 | -16/+15 |
| |/ | |||||
| * | core/crypto: Stop using context.temp_allocator | Yawning Angel | 2024-02-07 | 3 | -15/+17 |
| | | | | | | | | | | | | The max digest size for the foreseeable future will be 512 bits, and the max block size is currently 1152 bits (SHA3-224). If people add more exotic hash algorithms without bumping the constants when required, tests will fail. The stream buffer will currently be 576 bytes, which is "fine" to just stick on the stack, and is a sensible multiple of the more common block size of 64 bytes. | ||||
| * | core/crypto/poly1305: Relax the tag length check on the verify helper | Yawning Angel | 2024-02-07 | 1 | -4/+0 |
| | | |||||
| * | core/crypto/hmac: Initial import | Yawning Angel | 2024-02-07 | 1 | -0/+163 |
| | | |||||
| * | core/crypto/hash: Make the low level interface allocator-less | Yawning Angel | 2024-02-07 | 2 | -177/+140 |
| | | | | | Just (ab)using reflect to victory is probably fine. | ||||
| * | core/crypto: Expose the block sizes for every hash algorithm | Yawning Angel | 2024-02-07 | 11 | -42/+100 |
| | | | | | | While I just went and made this private, this information is required for keying HMAC. | ||||
| * | core/crypto/shake: SHAKE is an XOF, not a hash | Yawning Angel | 2024-02-07 | 2 | -59/+27 |
| | | |||||
| * | core/crypto: Documentation cleanups | Yawning Angel | 2024-02-07 | 9 | -72/+239 |
| | | |||||
| * | core:crypto/hash: Add a generic higher level hash interface | Yawning Angel | 2024-02-07 | 15 | -1852/+899 |
| | | | | | | | 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: Update the documentation (NFC) | Yawning Angel | 2023-11-17 | 1 | -35/+38 |
| | | |||||
| * | core/crypto: Exile keccak, md5 and sha1 to legacy | Yawning Angel | 2023-11-17 | 5 | -4/+14 |
| | | | | | | | In an perfect world these would just be removed, but the world is imperfect, and people are forced to interact/interface with things that are broken. | ||||
| * | core/crypto/sm3: API cleanup | Yawning Angel | 2023-11-17 | 1 | -8/+10 |
| | | | | | - sm3.Sm3_Context -> sm3.Context | ||||
| * | core/crypto/shake: API cleanup | Yawning Angel | 2023-11-17 | 1 | -34/+32 |
| | | | | | - shake.Shake_Context -> shake.Context | ||||
| * | core/crypto/sha3: API cleanup | Yawning Angel | 2023-11-17 | 1 | -52/+60 |
| | | | | | - sha3.Sha3_Context -> sha3.Context | ||||