diff options
author | Hans Nilsson <[email protected]> | 2017-07-03 18:27:50 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-07-07 14:31:48 +0200 |
commit | 03f3ec41f5468413235e3923a542a11cfd631089 (patch) | |
tree | af58a4d101d95edb254242ccff67cdc5602e2c85 /lib/crypto/priv | |
parent | d7dee753bb81a03ea8eb9071ad19a2b53341bceb (diff) | |
download | otp-03f3ec41f5468413235e3923a542a11cfd631089.tar.gz otp-03f3ec41f5468413235e3923a542a11cfd631089.tar.bz2 otp-03f3ec41f5468413235e3923a542a11cfd631089.zip |
crypto: pk sign with new function from PR838
The function pkey_verify_nif handles pk signing with a general approach that is enabled by EVP api in OpenSSL 1.0.0
The rejected PR838 introduced that function and lots of other stuff so far neglected. It also made some different rsa padding methods possible (included).
Since the crypto code base has changed significantly, it was an overhelming work to try a git merge. Therefore this commit is a manual move of the source code from the PR into current maint.
This commit concentrates to use the new function compatible with the old functions. This includes some #if:s for different versions, compatibility code for 0.9.8.
Lacking: test cases, exporting the more general erlang api, documentation...
Diffstat (limited to 'lib/crypto/priv')
0 files changed, 0 insertions, 0 deletions