Skip to content

update to latest release of wolfssl (5.9.1)#29

Draft
gasbytes wants to merge 2 commits into
wolfSSL:mainfrom
gasbytes:update-wolfssl-version
Draft

update to latest release of wolfssl (5.9.1)#29
gasbytes wants to merge 2 commits into
wolfSSL:mainfrom
gasbytes:update-wolfssl-version

Conversation

@gasbytes
Copy link
Copy Markdown
Contributor

  • updated build.rs to build the bindings to the latest release;
  • updated the wc_sha_* shas to use the update wc_HashType_Wc_hash_*;
  • updated ecc ids;

@gasbytes gasbytes self-assigned this May 12, 2026
@gasbytes gasbytes marked this pull request as draft May 12, 2026 07:45
@gasbytes gasbytes force-pushed the update-wolfssl-version branch 3 times, most recently from 2ab5e6a to f649f70 Compare May 26, 2026 12:23
- updated build.rs to build the bindings to the latest release;
- updated the wc_sha_* shas to use the update wc_HashType_Wc_hash_*;
- updated ecc ids;
- per wolfSSL#24 (comment)
refactored the eddsa.rs file in order to import the key using the asn
parsing directly from wolfcrypt, with proper slicing since the private
key gets imported full size (64) instead of 32.
@gasbytes gasbytes force-pushed the update-wolfssl-version branch 5 times, most recently from 175c87e to f5699f5 Compare May 27, 2026 12:51
- Also removed --enable-all since it was pretty much useless;
- If blinding is enabled, set the rng and associate it with the private key;

This was necessary since starting from 5.9.1 curve blinding is enabled
by default on pure-c builds (no asm is selected). This change prevents a
-173 failure when deriving a secret with curve25519.
@gasbytes gasbytes force-pushed the update-wolfssl-version branch from f5699f5 to b3ec7ca Compare May 27, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant