262 Commits

Author SHA1 Message Date
kalsprite
2d8502a1fa pr comment fixes 2026-07-13 22:56:01 -07:00
kalsprite
4aa30314c9 add limbo 2026-07-12 15:05:36 -07:00
kalsprite
df044411d9 attach nc 2026-07-12 12:58:45 -07:00
kalsprite
e4fc7a3a9e rsa, x509 write path 2026-07-12 12:14:32 -07:00
kalsprite
2fd11467c8 Merge branch 'master' into x.508 2026-07-12 10:51:44 -07:00
Yawning Angel
e1d32cb19f core/cryto/rsa: Initial import 2026-07-12 06:17:08 +09:00
Yawning Angel
483221ef97 core/crypto/_bigint: Initial import 2026-07-12 06:17:08 +09:00
Yawning Angel
f259b416e3 core/crypto/_subtle: Cleanups, dedup from RSA code 2026-07-12 03:28:20 +09:00
Yawning Angel
98e22205af core/crypto/ed25519: Add missing require_results annotations 2026-07-12 03:28:20 +09:00
gingerBill
3b56706439 Merge pull request #6471 from Carlyle-Foster/master
rename DEFAULT_PAGE_SIZE to PAGE_SIZE
2026-06-23 12:08:37 +01:00
kalsprite
04b614e1ad update ecdsa to use asn1 2026-06-22 22:41:42 -07:00
kalsprite
ef0e991437 relax roots 2026-06-14 00:16:41 -07:00
kalsprite
4876cf03bf asn1 DER reader/writer and X.509 reader 2026-06-13 23:40:08 -07:00
Yawning Angel
ccc17780b4 core/crypto/mldsa: Initial import 2026-05-19 19:32:50 +09:00
Yawning Angel
0c1c0372c7 core/crypto/mlkem: Minor cleanups 2026-05-19 19:32:50 +09:00
Yawning Angel
d5903be4e5 core/crypto/noise: Stop cheating and reaching into "opaque" structs 2026-05-19 19:32:50 +09:00
Yawning Angel
104da7d54b core/crypto/ecdh: Add private_key_public_bytes 2026-05-19 19:32:50 +09:00
Yawning Angel
c3e7a9026b core/crypto/ed25519: Add private_key_public_bytes 2026-05-19 19:32:50 +09:00
Yawning Angel
675389aeab core/crypto/ecdsa: Minor additions and cleanups 2026-05-19 19:32:50 +09:00
Yawning Angel
d2c29c025e core/crypto/mlkem: Initial import 2026-05-06 09:53:02 +09:00
Yawning Angel
a3d7300e55 core/crypto/ecdh,ecdsa: Add require_results annotations 2026-05-06 09:53:02 +09:00
Yawning Angel
e3504c94ad core/crypto: Get rid of set (only used by legacy) 2026-05-06 09:53:02 +09:00
Yawning Angel
4e8c80f80b core/crypto/noise: Move the smoke tests to the standard location 2026-04-20 21:34:24 +09:00
Yawning Angel
81011ec361 core/crypto/noise: Add support for deferred patterns 2026-04-20 21:34:24 +09:00
Yawning Angel
81c89a6094 core/crypto/noise: Rename things to match convention 2026-04-20 21:34:24 +09:00
Yawning Angel
2a61f0920d core/crypto/noise: Fix HandshakeState_[Read,Write]Message
Per the specification EncryptAndHash/DecryptAndHash are always called.
2026-04-20 19:25:30 +09:00
Lord_Hellgrim
2623a8fa9f Added noise package to core:crypto
Special thanks to Yawning for review, guidance, and massive updates.
2026-04-20 19:25:30 +09:00
Yawning Angel
19f249b475 core/crypto/ecdh: Add private_key_set and public_key_set 2026-04-20 19:25:30 +09:00
Yawning Angel
64868089a6 core/crypto/ed25519: Add private_key_set, public_key_(set,clear) 2026-04-20 19:25:30 +09:00
Yawning Angel
bd7b67317d core/crypto/ecdsa: Add private_key_set and public_key_set 2026-04-20 19:25:30 +09:00
Yawning Angel
0af538c70a core/crypto: Fix doc comment (No functional changes) 2026-04-20 15:16:46 +09:00
Stefan Stefanov
b52cc45053 core/crypto/aes: Fix src size check
Fixed a faulty check that would check the `dst` twice instead of
checking the `src` and `dst` input parameters in `encrypt_ecb()` &
`decrypt_ecb()`.
2026-04-01 23:05:29 +03:00
Carlyle
b169c048fe made PAGE_SIZE more consistent 2026-03-24 17:58:11 -07:00
Yawning Angel
36a3f691c1 core/crypto/sha2: Add Aarch64 SHA512 acceleration 2026-03-17 04:39:15 +09:00
Yawning Angel
ccb56de19a core/crypto/sha2: Add scaffolding for SHA512 acceleration 2026-03-16 16:05:21 +09:00
Yawning Angel
a030fb6596 core/crypto/sha2: Remove the broken Intel intrinsic kludge 2026-03-16 15:52:59 +09:00
Yawning Angel
9194b599ec core/crypto/sha2: Add ARMv8 SHA256 acceleration 2026-03-15 18:44:29 +09:00
Yawning Angel
3139b7e755 core/crypto/aes: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
e09923f585 core/crypto/deoxysii: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
df1a966100 core/crypto/aegis: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
6aeed0e20e core/crypto/_aes/hw: Initial import 2026-03-13 22:01:16 +09:00
Yawning Angel
004a65e382 core/crypto/_aes/hw_intel: Remove a copy of zero_explicit 2026-03-13 21:00:42 +09:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
Yawning Angel
86b629ba84 core/crypto/argon2id: Initial import 2026-03-04 21:29:55 +09:00
Yawning Angel
058bd9a914 core:crypto/_blake2: Cleanups and fixes
The fixes apply to "use it as a MAC" which was not part of the
documented/exposed API.  It now is, and is covered by the self-test
routines from the RFC.
2026-03-04 21:22:56 +09:00
Yawning Angel
47ad434d1a core:crypto/_blake2: Fix final blocks call with partial block 2026-03-03 20:54:13 +09:00
Jeroen van Rijn
af43e6851b [core:sys/info] Remove , ok 2026-02-23 23:55:36 +01:00
Jeroen van Rijn
ea80eab75a [core:sys/info] Remove @(init) where practical 2026-02-23 23:09:37 +01:00
Yawning Angel
4ef6300eb3 core/crypto/ed25519: Add private_key_generate 2026-02-20 04:10:54 +09:00
Yawning Angel
7e7515d7d9 core/crypto/ecdsa: Add ECDSA support 2026-02-20 04:10:54 +09:00