Switch from EVP_[Sign|Verify] to EVP_Digest[Sign|Verify].

This switches Conscrypt's Signature implementations from the older
EVP_Sign/EVP_Verify API to the newer EVP_DigestSign/EVP_DigestVerify
API. The main factor driving this switch is to expose RSASSA-PSS
which does not work via the old API.

In particular, this change:
* adds EVP_DigestSign* and EVP_DigestVerify* to NativeCrypto. Some of
  these NativeCrypto functions were already there but weren't used.
  This made it easier to adjust their signatures to best results.
* switches Signature implementation from EVP_Sign/EVP_Verify to
  EVP_DigestSign/EVP_DigestVerify.
* removes EVP_Sign* and EVP_Verify* from NativeCrypto because they are
  no longer used.
* inlines NativeCrypto's evpInit into its EVP_DigestInit_ex because
  the latter became the only user of evpInit after the cleanup.

Change-Id: Id29ea4fc2bc5b1cd81daaee8b475fd147616de51
4 files changed