crypto_evp_sign()

 
Syntax
crypto_evp_sign( digestname, privkey, buffer, signature var )
1 on success, 0 on failure
  • digestname = Hash algorithm name, such as "md5" or "sha256". Supported digest algorithms will vary between OpenSSL installations
  • privkey = EVP PKEY structure reference
  • buffer = The data to sign
  • signature = The signed output signature
User Annotations: crypto_evp_sign