Skip to content

crypto: add sign/verify support for RSASSA-PSS#11705

Closed
tniessen wants to merge 17 commits intonodejs:masterfrom
tniessen:rsassa-pss
Closed

crypto: add sign/verify support for RSASSA-PSS#11705
tniessen wants to merge 17 commits intonodejs:masterfrom
tniessen:rsassa-pss

Conversation

@tniessen
Copy link
Member

@tniessen tniessen commented Mar 6, 2017

Adds support for the PSS padding scheme. Until now, the sign/verify functions used the old EVP_Sign*/EVP_Verify* OpenSSL API, making it impossible to change the padding scheme. Fixed by first computing the message digest and then signing/verifying with a custom EVP_PKEY_CTX, allowing us to specify options such as the padding scheme and the PSS salt length.

Fixes: #1127

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

crypto, src, doc, test

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crypto: sign/verify support for RSASSA-PSS

10 participants