Commit Graph

475 Commits (master)

Author SHA1 Message Date
JeremiahM37 476f6858bf Fix verify_pss returning raw C code instead of boolean 2026-03-18 18:27:11 +00:00
JeremiahM37 f8f96983e2 Fix Sha3.copy() losing digest_size for non-384 variants 2026-03-18 18:27:11 +00:00
David Garske f68ac285e0
Merge pull request #84 from embhorn/gh83
Fix ChaCha20Poly1305 to be singleshot
2026-03-17 12:35:38 -07:00
lealem47 f0e91d021a
Merge pull request #86 from sebastian-carpenter/ecc-bad-sig-padding
small ecc signatures have bad padding
2026-03-09 09:27:04 -06:00
sebastian-carpenter 9172130c8e fixed 'small' ecc signatures so they do not have trailing 0x00 padding bytes 2026-03-06 14:26:44 -07:00
Eric Blankenhorn 3ab80ac113 Fix test vectors 2026-03-02 14:15:54 -06:00
Eric Blankenhorn 6e9f2ba1dc Fixes from review 2026-03-02 11:54:06 -06:00
Eric Blankenhorn 01219a4659 Fix ChaCha20Poly1305 to be singleshot 2026-03-02 11:40:10 -06:00
Daniel Pouzzner a6779c2e30
Merge pull request #82 from embhorn/gh81
Fix t2b to support other types
2026-02-05 14:52:27 -06:00
Eric Blankenhorn e8b9da167b Fix t2b to support other types 2026-01-14 08:26:39 -06:00
lealem47 3c9cfeda7e
Merge pull request #80 from kareem-wolfssl/v5.8.4
Prepare for v5.8.4 release
2026-01-08 11:02:13 -07:00
Kareem 03a8a75888 Prepare for v5.8.4 release 2026-01-07 17:00:04 -07:00
lealem47 427a1a33ce
Merge pull request #78 from mjdemilliano/move-rsa-only-cdefs
Move some cdef declarations for RSA to separate section
2025-12-11 11:06:25 -07:00
Martijn de Milliano f9f73550bd Make wc_PemToDer|wc_DerToPemEx depend only on ASN not KEYGEN
These functions are actually not tied to the KEYGEN feature.
2025-12-08 23:07:12 +01:00
Martijn de Milliano 4f37e78d2b Include wc_GetPkcs8TraditionalOffset also when RSA feature is selected
It's part of the ASN feature but since it's also used by the RSA
binding this function must also be part of the library when only
the RSA feature is selected.
2025-12-08 22:30:48 +01:00
lealem47 82fe64343e
Merge pull request #79 from mjdemilliano/update-aessiv-key-size-check
AES-SIV: correct error in key size check
2025-12-03 16:31:41 -07:00
lealem47 f67b5af97c
Merge pull request #77 from mjdemilliano/fix-defines-parsing
build_ffi.py: Fix header parsing in feature detection logic
2025-12-03 16:13:23 -07:00
Martijn de Milliano cf9540d18f AES-SIV: correct error in key size check
Adjust the code to match the key sizes in the RFC.
Update test to cover this.
2025-12-01 16:21:50 +01:00
Martijn de Milliano 6b241ca696 Move some cdef declarations for RSA to separate section
The definitions for the following functions are not always available
when wolfSSL is configured to only contain a minimum of functionality:
- wc_GetPkcs8TraditionalOffset (only with ASN, which is required for
      RSA)
- wc_PemToDer (only when KEYGEN is enabled)
- wc_DerToPemEx (only when KEYGEN is enabled)

This change allows for building the Python wrapper when ASN and RSA
are both disabled.
2025-11-24 12:32:59 +01:00
Martijn de Milliano e62464362b build_ffi.py: Fix header parsing of feature detection logic
`defines` was a string instead of a list of strings. This made it
impossible to build a wrapper with a configuration in which AES-CBC
is disabled, because `'#define NO_AES' in defines` matched also
when the header contains `#define NO_AES_CBC`. With `defines` being
a list the code actually does what you think it does.
2025-11-24 12:02:33 +01:00
lealem47 e9ebda0619
Merge pull request #73 from mjdemilliano/hdkf
Add HKDF support
2025-11-19 13:37:49 -07:00
lealem47 99aed59ef5
Merge pull request #74 from mjdemilliano/aessiv-full
Add AES-SIV support
2025-11-19 13:37:04 -07:00
Martijn de Milliano 523b36bf97 Add support for multiple associated data blocks 2025-11-12 14:39:48 +01:00
Martijn de Milliano 56e7814c6e Add AES-SIV support (single block only) 2025-11-12 14:39:05 +01:00
Martijn de Milliano d7041ea176 Add HKDF support 2025-11-12 11:37:18 +01:00
Zackery 0f2ceea12c
Merge pull request #72 from lealem47/kem_detect
Detect availability of ML-KEM for USE_LOCAL_WOLFSSL
2025-11-06 15:31:47 -07:00
Lealem Amedie 5c7e1ee15f Detect availability of ML-KEM for USE_LOCAL_WOLFSSL 2025-11-06 13:28:21 -07:00
David Garske 59b04650dd
Merge pull request #71 from mattia-moffa/20251007-windows-fix
Fix Windows build (ML-KEM, Dilithium, Shake)
2025-10-07 06:47:10 -07:00
Mattia Moffa e2fd2be1f5 Fix Windows build 2025-10-07 14:51:32 +02:00
David Garske bb89ab707f
Merge pull request #69 from wolfSSL/v5.8.2
Prepare for v5.8.2 release
2025-07-24 11:45:07 -07:00
Lealem Amedie c6dd1eaf21 Prepare for v5.8.2 release 2025-07-24 12:31:54 -06:00
David Garske 2668e81abb
Merge pull request #68 from wolfSSL/devin/support_mldsa
Support ML-DSA
2025-03-06 15:18:32 -08:00
Koji Takeda 24993ad370 Use HAVE_DILITHIUM flag to judge ML-DSA enablement 2025-03-07 08:03:32 +09:00
Koji Takeda 428b6edc10 Update example 2025-03-06 10:00:18 +09:00
Koji Takeda b618d59e09 Update example for ML-DSA 2025-03-04 07:55:41 +09:00
Koji Takeda c59e5910d1 Fix details by hand 2025-03-03 16:14:07 +09:00
Devin AI b501989317 Support ML-DSA
Co-Authored-By: Koji Takeda <takeda@wolfssl.com>
2025-03-03 16:11:37 +09:00
JacobBarthelmeh fa4142d447
Merge pull request #67 from kojiws/koji/support_mlkem
Support ML-KEM
2025-02-21 16:07:12 -07:00
Koji Takeda 2e2d9cd338 Remove the --enable-experimental configure option 2025-02-22 07:42:29 +09:00
Koji Takeda db90b836a2 Support ML-KEM 2025-02-21 17:04:40 +09:00
Daniel Pouzzner 0d345aa279
Merge pull request #66 from lealem47/v5.7.4
Prepare for v5.7.4
2024-11-13 15:17:58 -06:00
Lealem Amedie ef582adb39 Prepare for v5.7.4 2024-11-13 13:57:51 -07:00
András Fekete 35e0b1b373
Merge pull request #65 from jackctj117/chacha20poly1305
Chacha20poly1305
2024-10-01 15:34:51 -04:00
jackctj117 3923d7b075
Merge branch 'master' into chacha20poly1305 2024-10-01 13:16:59 -06:00
Jack Tjaden fd704f59dd Fix for jenkins test 2024-10-01 12:24:13 -06:00
Jack Tjaden 59b3356e36 Added working test for chacha20poly1305 2024-09-27 14:11:32 +02:00
Jack Tjaden 18a8609c86 Rough adding of chacha20poly1305 2024-09-27 14:11:32 +02:00
Jack Tjaden b1a1dffbcf Added working test for chacha20poly1305 2024-09-26 13:22:12 -06:00
Jack Tjaden 6cbf8db220 Rough adding of chacha20poly1305 2024-09-13 14:23:14 -06:00
Reda Chouk 822e5654fd update submodule 2024-09-12 10:35:46 +02:00