Add EVP_DigestSign and EVP_DigesVerify
authorDr. Stephen Henson <steve@openssl.org>
Mon, 8 May 2017 11:50:13 +0000 (12:50 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 11 May 2017 11:59:25 +0000 (12:59 +0100)
commit7539418981c140648a620d72edd7398564878b5c
tree6c0266e49b56fa20ed3cbf0cb5ccbaec9cd80ca9
parent4f2a569535953b43f7d55ac6df60458dce326221
Add EVP_DigestSign and EVP_DigesVerify

Add "single part" digest sign and verify functions. These sign and verify
a message in one function. This simplifies some operations and it will later
be used as the API for algorithms which do not support the update/final
mechanism (e.g. PureEdDSA).

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3409)
crypto/asn1/a_sign.c
crypto/asn1/a_verify.c
crypto/evp/m_sigver.c
doc/man3/EVP_DigestSignInit.pod
doc/man3/EVP_DigestVerifyInit.pod
include/openssl/evp.h
ssl/statem/statem_lib.c