One‐shot digest of data using a fetched algorithm name.
Synopsis
Declared in <openssl/evp.h>
int
EVP_Q_digest(
OSSL_LIB_CTX* libctx,
char const* name,
char const* propq,
void const* data,
size_t datalen,
unsigned char* md,
size_t* mdlen);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
libctx |
Library context for the fetch, or NULL for the default. |
name |
Digest algorithm name (for example "SHA256"). |
propq |
Property query for the fetch, or NULL. |
data |
Bytes to hash. |
datalen |
Number of bytes at |
md |
Output buffer for the digest (at least the algorithm size). |
mdlen |
Optional in/out length of |
Created with MrDocs