update ASN1 sign/verify to use EVP_DigestSign and EVP_DigestVerify