aboutsummaryrefslogtreecommitdiff
path: root/core/crypto
Commit message (Collapse)AuthorAgeFilesLines
...
* core/crypto/chacha20poly1305: Support AEAD_XChaCha20_Poly1305Yawning Angel2024-08-101-10/+30
| | | | | IETF-draft flavor (32-bit counter) though this makes no practical difference.
* core/crypto/chacha20poly1305: Change the interface to match GCMYawning Angel2024-08-101-16/+43
|
* core/crypto/chacha20: Use 128-bit/256-bit SIMDYawning Angel2024-08-107-458/+1397
|
* core/crypto/aes: Use NIST terminology for the IVYawning Angel2024-08-103-38/+38
|
* core/crypto/aes: Slightly tweak GHASH to look less spookyYawning Angel2024-08-102-2/+2
|
* core/crypto/aes: Disable bounds checking for the CTR loopsYawning Angel2024-08-102-3/+3
|
* core/crypto/_aes/hw_intel: Use a constant for the PSHUFB indiciesYawning Angel2024-08-102-7/+3
|
* core/crypto/ed25519: Rename a member for clarityYawning Angel2024-08-101-4/+4
| | | | This better matches the spec.
* core/crypto/hash: Make the `_to_buffer` routines return the hash sliceYawning Angel2024-08-101-5/+11
| | | | Quality of life improvement.
* Use `union #shared_nil` for `os.Error`gingerBill2024-08-041-2/+2
|
* Begin converting `os.Errno` to be a `nil`-able type as a transition periodgingerBill2024-08-041-1/+1
|
* core/crypto/aes: Support the full range of GCM nonce sizesYawning Angel2024-07-162-43/+67
|
* core/crypto/aes: Add Intel AES-NI supportYawning Angel2024-07-1610-17/+975
| | | | | This supports AES-NI + PCLMUL, and provides optimized key schedule, ECB, CTR, and GCM. Other modes are trivial to add later if required.
* core/crypto/_aes: Remove redundant sanity checksYawning Angel2024-07-161-12/+2
|
* core/crypto: Fix/add some documentation (NFC)Yawning Angel2024-07-162-2/+5
|
* core/crypto: Enforce aliasing restrictionsYawning Angel2024-07-163-6/+17
|
* fix `@(optimization_mode)` usage in builtin collectionsLaytan Laats2024-07-081-1/+1
|
* Fix loads of indentation issues with mixing spaces and tabsgingerBill2024-06-291-2/+2
|
* Check for unneeded `transmute` with `-vet-cast`gingerBill2024-06-2911-42/+42
|
* `to_random_generator` -> `random_generator`gingerBill2024-06-151-1/+1
|
* Add `Reset` modegingerBill2024-06-151-0/+2
|
* Add `runtime.Random_Generator` interfacegingerBill2024-06-151-0/+20
|
* Fix indentationgingerBill2024-06-111-10/+10
|
* Replace `panic(fmt.tprintf(` antipattern with `fmt.panicf`gingerBill2024-06-113-4/+4
|
* core/crypto/aes: Add AES implementationYawning Angel2024-06-017-1/+617
|
* core/crypto/_aes/ct64: Add GHASHYawning Angel2024-06-012-0/+141
|
* core/crypto/_aes: 64-bit portable implementationYawning Angel2024-06-017-0/+867
|
* Merged with masterAndreas T Jonsson2024-05-027-30/+23
|\
| * core/crypto: Add a `HAS_RAND_BYTES` constantYawning Angel2024-04-237-30/+23
| |
* | Merge branch 'master' into netbsdAndreas T Jonsson2024-04-256-11/+13
|\|
| * Core Foundation and Security vendor libraries.Vitalii Kravchenko2024-04-136-11/+13
| |
* | Added missing build tags in coreAndreas T Jonsson2024-04-251-0/+1
| |
* | Added build tagAndreas T Jonsson2024-04-221-1/+1
|/ | | | Added build tag to rand_bsd.odin and fixed build warning.
* core/crypto/ed25519: Initial importYawning Angel2024-04-091-0/+314
|
* core/crypto/ristretto255: Initial importYawning Angel2024-04-093-2/+620
|
* core/crypto/_edwards25519: Initial importYawning Angel2024-04-097-53/+889
|
* core/crypto/_fiat/field_scalar25519: Initial importYawning Angel2024-04-092-0/+684
|
* core/crypto/_fiat/field_poly1305: Mark more functions contextlessYawning Angel2024-04-093-5/+12
|
* core/crypto/_fiat/field_poly1305: Use multiply to calculate the maskYawning Angel2024-04-091-1/+1
|
* core/crypto/_fiat/field_curve25519: Mark more functions contextlessYawning Angel2024-04-093-7/+17
|
* core/crypto/_fiat: odinfmt (NFC)Yawning Angel2024-04-095-31/+84
|
* core/crypto/_fiat/field_poly1305: Move routines (NFC)Yawning Angel2024-04-092-31/+29
|
* core/crypto/_fiat/field_curve25519: Move routines (NFC)Yawning Angel2024-04-092-53/+49
|
* core/crypto/_fiat/field_curve25519: Use multiply to calculate the maskYawning Angel2024-04-091-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 Angel2024-04-097-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 Angel2024-04-091-0/+8
|
* core/crypto/poly1305: The final addition is NOT mod pYawning Angel2024-04-051-9/+17
|
* Merge pull request #3229 from Yawning/feature/moar-cryptogingerBill2024-03-0614-86/+730
|\ | | | | core/crypto: More improvements/additions
| * core/crypto: Misc cleanups and documentation improvementsYawning Angel2024-03-045-39/+108
| |
| * core/crypto/kmac: Initial importYawning Angel2024-03-042-11/+128
| |