1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00
Commit Graph

549 Commits

Author SHA1 Message Date
Josh Holtrop
dba52cf55b Rust wrapper: mldsa: use cfg gates for level constants
Fixes F-12237.
2026-10-07 12:31:29 -04:00
philljj
84fa109943 Merge pull request #11556 from holtrop-wolfssl/f-10085
Rust wrapper: validate minimum PBKDF2/scrypt output length before KDF
2026-10-07 10:03:39 -05:00
philljj
00e6291105 Merge pull request #11485 from holtrop-wolfssl/f-11271
Rust wrapper: fix ed25519/ed448 Keypair possibly panicking without public component
2026-10-07 08:37:00 -05:00
philljj
6f96db9bf7 Merge pull request #11638 from holtrop-wolfssl/f-8289
Rust wrapper: scrypt/pbkdf2: zeroize local temporary password hash
2026-10-06 01:29:39 -05:00
philljj
90de9ffabb Merge pull request #11568 from holtrop-wolfssl/f-11274
Rust wrapper: check for wrapping for extremely large key sizes
2026-10-04 21:52:45 -05:00
JacobBarthelmeh
9173cf7baa Merge pull request #11514 from holtrop-wolfssl/f-12236
Rust wrapper: fix rsa_oaep cfg probe for FIPS
2026-10-03 21:13:28 -06:00
philljj
8f81b78579 Merge pull request #11634 from holtrop-wolfssl/f-13052
Fix KDF key buffer comments for SRTCP labels
2026-10-03 15:13:33 -05:00
philljj
0f403f8f40 Merge pull request #11635 from holtrop-wolfssl/f-8288
Rust wrapper: mlkem_kem: zeroize local private key and shared secret variables
2026-10-03 15:08:41 -05:00
JacobBarthelmeh
2411aae3f7 Merge pull request #11560 from jackctj117/C#-FIPS
C# FIPS wrapper
2026-10-03 00:12:53 -06:00
Josh Holtrop
c073103cd8 Rust wrapper: scrypt/pbkdf2: zeroize local temporary password hash
Fixes F-8289.
2026-10-02 15:19:48 -04:00
jackctj117
fb67a7ebab Move C# FIPS wrapper ignores to the root .gitignore 2026-10-02 11:25:35 -06:00
philljj
30cf62ac67 Merge pull request #11633 from holtrop-wolfssl/f-11278
Rust wrapper: kdf: fix comments about output buffer size
2026-10-02 12:03:38 -05:00
Josh Holtrop
3e422945ff Rust wrapper: fix ed25519/ed448 Keypair possibly panicking without public component
Fixes F-11271, F-11272.
2026-10-02 12:40:30 -04:00
Reda Chouk
3374c6f9f6 Merge pull request #11511 from holtrop-wolfssl/f-8307
Rust wrapper: random: implement fallible rand_core traits
2026-10-02 18:15:28 +02:00
Josh Holtrop
8ae68eb4b1 Rust wrapper: mlkem_kem: zeroize local private key and shared secret variables
Fixes F-8288.
2026-10-02 11:51:18 -04:00
jackctj117
aa4b743e19 Remove ACVP vector tests from the C# wrapper suite 2026-10-02 09:32:25 -06:00
philljj
d7950e20e9 Merge pull request #11631 from holtrop-wolfssl/f-11277
Rust wrapper: hkdf: fix comments about output buffer size
2026-10-02 09:51:58 -05:00
Josh Holtrop
35e58f35bf Fix KDF key buffer comments for SRTCP labels
Fixes F-13052.
2026-10-02 10:33:09 -04:00
philljj
6764ed1f4c Merge pull request #11527 from holtrop-wolfssl/f-8285
Rust wrapper: fix unsound HMAC::clone()
2026-10-02 09:31:56 -05:00
philljj
36720795d3 Merge pull request #11622 from holtrop-wolfssl/f-10079
Rust wrapper: ed25519/ed448: fix public parameter comment for import_private_key_ex()
2026-10-02 09:19:26 -05:00
Josh Holtrop
49df3ed007 Rust wrapper: kdf: fix comments about output buffer size
Fixes F-11278.
2026-10-02 10:12:03 -04:00
Josh Holtrop
beabee767c Rust wrapper: hkdf: fix comments about output buffer size
Fixes F-11277.
2026-10-02 09:15:03 -04:00
philljj
5a963bbe68 Merge pull request #11620 from holtrop-wolfssl/f-10077
Rust wrapper: aes: fix GCMStream.decrypt_update comment
2026-10-01 16:24:02 -05:00
Josh Holtrop
cd639a125b Rust wrapper: ed25519/ed448: fix public parameter comment for import_private_key_ex()
Fixes F-10079, F-10080.
2026-10-01 11:58:05 -04:00
Josh Holtrop
7289200655 Rust wrapper: aes: fix XTS key size comments
Fixes F-10078.
2026-10-01 11:54:01 -04:00
Josh Holtrop
ee67256986 Rust wrapper: aes: fix GCMStream.decrypt_update comment
Fixes F-10077.
2026-10-01 11:47:07 -04:00
Josh Holtrop
641ddc673c Rust wrapper: fix rsa_oaep cfg probe for FIPS
Fixes F-12236.
2026-10-01 11:43:55 -04:00
Josh Holtrop
92c618b3fb Rust wrapper: test_hmac: refactor common logic 2026-10-01 07:32:38 -04:00
Josh Holtrop
5db357b175 Rust wrapper: fix unsound HMAC::clone()
wc_HmacCopy() takes src by non-const pointer and may write through it
(wc_MAXQ10XX_Sha256Copy(), WOLF_CRYPTO_CB_COPY device callbacks), but
HMAC::clone() cast that pointer from a shared reference. Hold the wolfSSL
context in an UnsafeCell so the write is sound, and add the fallible
HMAC::copy() alongside it, mirroring SHA256::copy()/SHA384::copy().

Fixes F-8285.
2026-10-01 07:32:37 -04:00
philljj
77a34ebf96 Merge pull request #11503 from holtrop-wolfssl/f-8306
Rust wrapper: sha: free before re-initializing SHA structs
2026-09-30 15:59:21 -05:00
philljj
9aaaaec244 Merge pull request #11534 from holtrop-wolfssl/f-8292
Rust wrapper: RNG::health_test_ex: document that seed_b must be non-empty
2026-09-30 14:42:31 -05:00
philljj
d42c7c86ea Merge pull request #11486 from holtrop-wolfssl/f-13035
Rust wrapper: mldsa: fix cfg detection for public and private build options
2026-09-30 11:20:37 -05:00
philljj
190169ab0e Merge pull request #11523 from holtrop-wolfssl/f-12244
Rust wrapper: random: fix wrapped C function names in comments
2026-09-29 14:23:46 -05:00
philljj
a4ec561a7e Merge pull request #11520 from holtrop-wolfssl/f-9342
Rust wrapper: curve25519: fix comments about RNG usage
2026-09-29 14:22:22 -05:00
Reda Chouk
fa267fdfea Merge pull request #11412 from holtrop-wolfssl/f-13033
Rust wrapper: rsa: add rsa_private, rsa_sign, rsa_ssl_verify cfgs
2026-09-29 20:04:40 +02:00
philljj
0d25a145ea Merge pull request #11409 from holtrop-wolfssl/f-13031
Rust wrapper: curve25519: add cfgs for shared_secret, import, and export
2026-09-29 10:13:08 -05:00
philljj
a8ddd737c6 Merge pull request #11531 from holtrop-wolfssl/f-8308
Rust wrapper: ssh_kdf(): validate `typ` is within `u8` range
2026-09-29 08:02:53 -05:00
philljj
0a07cf1cbd Merge pull request #11529 from holtrop-wolfssl/f-10098
Rust wrapper: wolfcrypt_cleanup(): document caller preconditions
2026-09-29 07:52:21 -05:00
philljj
09bc4fe497 Merge pull request #11402 from holtrop-wolfssl/f-8294
Rust wrapper: Remove unused aes_cts cfg detection
2026-09-28 23:09:19 -05:00
philljj
2e1a9bdc11 Merge pull request #11302 from holtrop-wolfssl/rust-mlkem-fenrir-fixes
Rust mlkem Fenrir fixes 2026-08-27
2026-09-28 21:05:25 -05:00
Josh Holtrop
711fd772f8 Rust wrapper: rsa: add rsa_private, rsa_sign, rsa_ssl_verify cfgs
Fixes F-13033.
2026-09-28 16:38:54 -04:00
jackctj117
acd900bcb8 Tighten argument checks and zero secrets when the read gate fails 2026-09-28 13:54:40 -06:00
Reda Chouk
e9c5a7db53 Merge pull request #11540 from holtrop-wolfssl/f-8309
Rust wrapper: aes: avoid panic on StreamCipher buffers >= 4GB
2026-09-28 19:16:11 +02:00
Reda Chouk
a037ebd35e Merge pull request #11358 from holtrop-wolfssl/f-10088
Rust wrapper: rsa: fix sha224/sha384 cfg guards for hash type constants
2026-09-28 18:45:41 +02:00
jackctj117
7e94a2e6b7 Build test hooks only into the test project's copy of the wrapper 2026-09-28 10:07:01 -06:00
jackctj117
a67667cf86 Return false from verify and key checks only for invalid input 2026-09-28 10:07:01 -06:00
jackctj117
af2275c278 Zero AES output on failure and warn one message per DRBG-IV encryptor 2026-09-28 10:06:51 -06:00
Josh Holtrop
6bc91c32b2 Rust wrapper: check for wrapping for extremely large key sizes
Fixes F-11274.
2026-09-28 09:14:19 -04:00
jackctj117
1a442b00f1 Rename TLS 1.3 test variables flagged by codespell 2026-09-25 14:17:37 -06:00
jackctj117
7548f5b404 End a FipsCmac on any Final result 2026-09-25 12:39:03 -06:00