aboutsummaryrefslogtreecommitdiff
path: root/core/crypto
Commit message (Collapse)AuthorAgeFilesLines
* crypto/hash: hash_bytes_to_buffer slice result to digest sizeLaytan2025-07-191-3/+2
|
* Rename `SIMD_IS_EMULATED` to capability-affirmative `HAS_HARDWARE_SIMD`Feoramund2025-05-291-1/+1
|
* Add core/hyperthread count for Windows and Linux (#5216)Jeroen van Rijn2025-05-254-4/+4
| | | | | Add core/hyperthread count to `core:sys/info` for Windows and Linux. TODO: Linux RISCV, Linux ARM, Darwin, and the BSDs.
* core/crypto/_aes/ct64: Disable bounds checkingYawning Angel2025-03-231-2/+2
|
* core/crypto: Switch to using `ensure`Yawning Angel2025-03-2336-363/+188
|
* core/crypto/blake2: Add the ability to easily alter digest sizeYawning Angel2025-03-232-6/+12
|
* core/crypto/sha2: Clean up the portable code slightlyYawning Angel2025-03-231-14/+21
|
* core/crypto/sha2: Use hardware SHA224/256 when available (AMD64)Yawning Angel2025-03-233-2/+282
|
* core:crypto/deoxysii: Initial importYawning Angel2025-03-235-0/+1166
|
* core/crypto/aegis: Initial importYawning Angel2025-03-238-86/+1177
|
* core/crypto/x448: Initial importYawning Angel2025-03-233-0/+1456
|
* core/crypto: Add `rodata` annotations (NFC)Yawning Angel2025-03-2314-23/+29
|
* core/crypto/chacha20poly1305: Add missing assertionsYawning Angel2025-03-231-0/+4
|
* core/crypto/chacha20: Misc Simd128 improvementsYawning Angel2025-03-231-6/+32
| | | | | - Detect the RISC-V `v` profile - Don't bother trying to process 4 blocks at a time if emulated
* core/crypto: Use `panic_contextless` instead of `intrinsics.trap`Yawning Angel2025-03-2313-33/+21
|
* core/crypto/_aes/hw_intel: Fix comment (NFC)Yawning Angel2025-03-231-1/+1
|
* os/os2: wasi target supportLaytan Laats2025-01-182-0/+14
|
* core/crypto/_sha3: Fix edge case in cSHAKE bytepadYawning Angel2024-09-301-6/+8
| | | | | If the domain separator happens to be exactly the rate, we would previously incorrectly add another rate-bytes of 0s.
* Add missing package qualifier to ContextAntonino Simone Di Stefano2024-09-221-1/+1
|
* Use `#+` tagsgingerBill2024-09-192-2/+2
|
* Merge pull request #4203 from karl-zylinski/file-tags-without-commentsgingerBill2024-09-1912-18/+18
|\ | | | | Make tags use #+ syntax instead of //+
| * Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-1412-18/+18
| | | | | | | | file tag syntax.
* | Add missing import that was accidentally deleted before commitgingerBill2024-09-191-0/+1
| |
* | Move os stuff to OS specific filesgingerBill2024-09-193-38/+51
|/
* core: improve package doc comments for the documentation generatorLaytan Laats2024-09-0323-111/+113
|
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-201-1/+1
|
* core/crypto/aead: Initial importYawning Angel2024-08-1010-6/+295
|
* core/crypto/aes,chacha20poly1305: Add require_results to openYawning Angel2024-08-102-0/+2
|
* core/crypto/chacha20: Change API terminology to be consistent with AESYawning Angel2024-08-108-61/+61
|
* 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
|