EVP_MD-common(7ssl)

EVP_MD-common7ssl

The openssl evp_md implementations, common things

Overview

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).

FIPS indicator

Digest implementations in the OpenSSL FIPS provider make the following parameter available with EVP_MD_CTX_get_params(3):

"fips-indicator" (OSSL_DIGEST_PARAM_FIPS_APPROVED_INDICATOR) <integer>

Returns 1 if the operation is FIPS approved, or 0 otherwise. See "FIPS indicators" in fips_module(7) for more information.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.