Skip to content

Conversation

@embhorn
Copy link
Member

@embhorn embhorn commented Dec 18, 2025

Description

static int Pkcs11ECDH(Pkcs11Session* session, wc_CryptoInfo* info) in the file wc_pkcs11.c attempts to access the field info->pk.ecdh.private_key->dp->size . However, the dp field is a null pointer for a private key from PKCS#11, which creates the hard fault.

Fixes zd20964

Testing

Customer confirmed

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@embhorn embhorn self-assigned this Dec 18, 2025
@embhorn embhorn assigned wolfSSL-Bot and unassigned embhorn Dec 18, 2025
@JacobBarthelmeh JacobBarthelmeh merged commit 4162f24 into wolfSSL:master Dec 18, 2025
489 of 497 checks passed
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.

3 participants