Suggested enhancement
Depends on: #874 and #887
Add correctness unit tests based on sign_verify_message(), verify_hash() and verify_message() test functions for RSA-PKCS1V15-SM3 and RSA-PSS-SM3 signature algorithms. For verify_hash() and verify_message() based tests, compute the expected signature with a third party library. It seems to be doable with the PyCryptodome library.
Justification
TF-PSA-Crypto needs this to tests RSA signatures with the SM3 hash.
Suggested enhancement
Depends on: #874 and #887
Add correctness unit tests based on
sign_verify_message(),verify_hash()andverify_message()test functions for RSA-PKCS1V15-SM3 and RSA-PSS-SM3 signature algorithms. Forverify_hash()andverify_message()based tests, compute the expected signature with a third party library. It seems to be doable with the PyCryptodome library.Justification
TF-PSA-Crypto needs this to tests RSA signatures with the SM3 hash.