$manlookup

EVP_MD-common

(7ssl)

The OpenSSL EVP_MD implementations, common things

Overview, conventions, miscellanyopenssl 3.5.6-1~deb13u2

DESCRIPTION

All the OpenSSL EVP_MD implementations understand the following OSSL_PARAM(3) entries that are gettable with EVP_MD_get_params(3), as well as these:

"blocksize" (OSSL_DIGEST_PARAM_BLOCK_SIZE) <unsigned integer>
The digest block size. The length of the "blocksize" parameter should not exceed that of a size_t.

This value can also be retrieved with EVP_MD_get_block_size(3).

"size" (OSSL_DIGEST_PARAM_SIZE) <unsigned integer>
The digest output size. The length of the "size" parameter should not exceed that of a size_t.

This value can also be retrieved with EVP_MD_get_size(3).

"flags" (OSSL_DIGEST_PARAM_FLAGS) <unsigned integer>
Diverse flags that describe exceptional behaviour for the digest. These flags are described in "DESCRIPTION" in EVP_MD_meth_set_flags(3).

The length of the "flags" parameter should equal that of an unsigned long int.

This value can also be retrieved with EVP_MD_get_flags(3).

See also

EVP_DigestInit(3)EVP_MD_get_params(3)provider-digest(7ssl)