Skip to content

Conversation

@SparkiDev
Copy link
Contributor

Description

Code to verify with SM2/SM3 was not able to be reached. The check of hsType (which was ECC for both ECC and SM2/SM3) was replaced with a check of peerSigAlgo for ecc_dsa_sa_algo which is different for ECDSA and SM2/SM3.

Fixes #9169

Testing

Built with SM code installed and tests now pass.

Checklist

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

Code to verify with SM2/SM3 was not able to be reached.
The check of hsType (which was ECC for both ECC and SM2/SM3) was
replaced with a check of peerSigAlgo for ecc_dsa_sa_algo which is
different for ECDSA and SM2/SM3.
@SparkiDev SparkiDev self-assigned this Sep 9, 2025
@gojimmypi
Copy link
Contributor

I can confirm this is working for me on:

gojimmypi added a commit to gojimmypi/wolfssl that referenced this pull request Sep 12, 2025
@gojimmypi
Copy link
Contributor

Heads up I have some GitHub workflows in progress for both wolfssl and wolfsm repos to test SM Ciphers.

See initial example results from sm-cipher.yml

@JacobBarthelmeh
Copy link
Contributor

Retest this please Jenkins

@JacobBarthelmeh
Copy link
Contributor

@SparkiDev there is an RSA PSS test suite failure. Could be a flaky test.

@gojimmypi
Copy link
Contributor

Jenkins retest this please

For gentOfflineException: Unable to create live FilePath for wolf-linux-cloud-node-[n]; wolf-linux-cloud-node-[n]was marked offline: Connection was broken in PRB-generic-config-parser/10361

@JacobBarthelmeh JacobBarthelmeh merged commit 5b86465 into wolfSSL:master Sep 17, 2025
329 of 331 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.

wolfSSL 1 FAIL at Raspberry Pi 4 Model B

4 participants