Skip to content

added some rsa-pss tests and bug fixes in test/#302

Closed
sebastian-carpenter wants to merge 1 commit into
wolfSSL:masterfrom
sebastian-carpenter:code-coverage
Closed

added some rsa-pss tests and bug fixes in test/#302
sebastian-carpenter wants to merge 1 commit into
wolfSSL:masterfrom
sebastian-carpenter:code-coverage

Conversation

@sebastian-carpenter

Copy link
Copy Markdown
Contributor

Right now the two tests I added are broken. The failures are on wolfProviders side though not ossl.

## FAIL: 63: test_rsa_pss_salt (err: 1)
## FAIL: 64: test_rsa_pss_restrictions (err: 1)

It looks like RSA-PSS salting is broken with RSA_PSS_SALTLEN_AUTO and RSA_PSS_SALTLEN_AUTO_DIGEST_MAX as the length.

Additionally, in the restrictions test wolfProvider fails to get past EVP_DigestSignInit_ex but openssl does. However, wolfProvider succeeds at doing this in various functions in test_pkey.c so there's something I did in test_rsa_pss_restrictions that makes it stop working. It is probably related to keygen.

@ColtonWilley

Copy link
Copy Markdown
Contributor

Reworked into #308

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.

2 participants