Skip to content

Conversation

@dgarske
Copy link
Contributor

@dgarske dgarske commented Jan 20, 2026

Description

Fixes for RSA with no RNG
Broken in #9576

Testing

./configure --disable-rng --disable-ecc --disable-dh --disable-asm --enable-rsavfy --disable-examples --disable-tls --enable-cryptonly --enable-debug --disable-shared --disable-pkcs12 CFLAGS="-DWC_RSA_BLINDING" && make

wolfcrypt/src/rsa.c: In function 'wc_RsaSSL_VerifyInline':
wolfcrypt/src/rsa.c:3893:14: error: 'RsaKey' has no member named 'rng'
 3893 |     rng = key->rng;
      |              ^~
wolfcrypt/src/rsa.c: In function 'wc_RsaPSS_VerifyInline_ex':
wolfcrypt/src/rsa.c:4004:14: error: 'RsaKey' has no member named 'rng'
 4004 |     rng = key->rng;
      |              ^~
wolfcrypt/src/rsa.c: In function 'wc_RsaPSS_Verify_ex':
wolfcrypt/src/rsa.c:4062:14: error: 'RsaKey' has no member named 'rng'
 4062 |     rng = key->rng;
      |              ^~

Checklist

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

@dgarske
Copy link
Contributor Author

dgarske commented Jan 20, 2026

Jenkins retest this please "aarch64 silicon test"

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