# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: EVP_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: EVP_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: EVP_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: EVP_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "EVP_DIGESTINIT 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DIGESTINIT" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "EVP_MD_fetch, EVP_MD_up_ref, EVP_MD_free, EVP_MD_get_params, " "EVP_MD_gettable_params, EVP_MD_CTX_new, EVP_MD_CTX_reset, EVP_MD_CTX_free, " "EVP_MD_CTX_dup, EVP_MD_CTX_copy, EVP_MD_CTX_copy_ex, EVP_MD_CTX_ctrl, " "EVP_MD_CTX_set_params, EVP_MD_CTX_get_params, EVP_MD_settable_ctx_params, " "EVP_MD_gettable_ctx_params, EVP_MD_CTX_settable_params, " "EVP_MD_CTX_gettable_params, EVP_MD_CTX_set_flags, EVP_MD_CTX_clear_flags, " "EVP_MD_CTX_test_flags, EVP_Q_digest, EVP_Digest, EVP_DigestInit_ex2, " "EVP_DigestInit_ex, EVP_DigestInit, EVP_DigestUpdate, EVP_DigestFinal_ex, " "EVP_DigestFinalXOF, EVP_DigestFinal, EVP_DigestSqueeze, EVP_MD_is_a, " "EVP_MD_get0_name, EVP_MD_get0_description, EVP_MD_names_do_all, " "EVP_MD_get0_provider, EVP_MD_get_type, EVP_MD_get_pkey_type, " "EVP_MD_get_size, EVP_MD_get_block_size, EVP_MD_get_flags, " "EVP_MD_CTX_get0_name, EVP_MD_CTX_md, EVP_MD_CTX_get0_md, EVP_MD_CTX_get1_md, " "EVP_MD_CTX_get_type, EVP_MD_CTX_get_size_ex, EVP_MD_CTX_get_block_size, " "EVP_MD_CTX_get0_md_data, EVP_MD_CTX_update_fn, EVP_MD_CTX_set_update_fn, " "EVP_md_null, EVP_get_digestbyname, EVP_get_digestbynid, EVP_get_digestbyobj, " "EVP_MD_CTX_get_pkey_ctx, EVP_MD_CTX_set_pkey_ctx, EVP_MD_do_all_provided, " "EVP_MD_type, EVP_MD_nid, EVP_MD_name, EVP_MD_pkey_type, EVP_MD_size, " "EVP_MD_block_size, EVP_MD_flags, EVP_MD_xof, EVP_MD_CTX_size, " "EVP_MD_CTX_get_size, EVP_MD_CTX_block_size, EVP_MD_CTX_type, " "EVP_MD_CTX_pkey_ctx, EVP_MD_CTX_md_data \\&- EVP digest routines" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,\n" "\\& const char *properties);\n" "\\& int EVP_MD_up_ref(EVP_MD *md);\n" "\\& void EVP_MD_free(EVP_MD *md);\n" "\\& int EVP_MD_get_params(const EVP_MD *digest, OSSL_PARAM params[]);\n" "\\& const OSSL_PARAM *EVP_MD_gettable_params(const EVP_MD *digest);\n" "\\& EVP_MD_CTX *EVP_MD_CTX_new(void);\n" "\\& int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);\n" "\\& void EVP_MD_CTX_free(EVP_MD_CTX *ctx);\n" "\\& void EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void* p2);\n" "\\& int EVP_MD_CTX_get_params(EVP_MD_CTX *ctx, OSSL_PARAM params[]);\n" "\\& int EVP_MD_CTX_set_params(EVP_MD_CTX *ctx, const OSSL_PARAM params[]);\n" "\\& const OSSL_PARAM *EVP_MD_settable_ctx_params(const EVP_MD *md);\n" "\\& const OSSL_PARAM *EVP_MD_gettable_ctx_params(const EVP_MD *md);\n" "\\& const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx);\n" "\\& const OSSL_PARAM *EVP_MD_CTX_gettable_params(EVP_MD_CTX *ctx);\n" "\\& void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags);\n" "\\& void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags);\n" "\\& int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags);\n" "\\&\n" "\\& int EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name, const char *propq,\n" "\\& const void *data, size_t datalen,\n" "\\& unsigned char *md, size_t *mdlen);\n" "\\& int EVP_Digest(const void *data, size_t count, unsigned char *md,\n" "\\& unsigned int *size, const EVP_MD *type, ENGINE *impl);\n" "\\& int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type,\n" "\\& const OSSL_PARAM params[]);\n" "\\& int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl);\n" "\\& int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, size_t cnt);\n" "\\& int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);\n" "\\& int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *out, size_t outlen);\n" "\\& int EVP_DigestSqueeze(EVP_MD_CTX *ctx, unsigned char *out, size_t outlen);\n" "\\&\n" "\\& EVP_MD_CTX *EVP_MD_CTX_dup(const EVP_MD_CTX *in);\n" "\\& int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in);\n" "\\&\n" "\\& int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);\n" "\\& int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);\n" "\\&\n" "\\& int EVP_MD_CTX_copy(EVP_MD_CTX *out, EVP_MD_CTX *in);\n" "\\&\n" "\\& const char *EVP_MD_get0_name(const EVP_MD *md);\n" "\\& const char *EVP_MD_get0_description(const EVP_MD *md);\n" "\\& int EVP_MD_is_a(const EVP_MD *md, const char *name);\n" "\\& int EVP_MD_names_do_all(const EVP_MD *md,\n" "\\& void (*fn)(const char *name, void *data),\n" "\\& void *data);\n" "\\& const OSSL_PROVIDER *EVP_MD_get0_provider(const EVP_MD *md);\n" "\\& int EVP_MD_get_type(const EVP_MD *md);\n" "\\& int EVP_MD_get_pkey_type(const EVP_MD *md);\n" "\\& int EVP_MD_get_size(const EVP_MD *md);\n" "\\& int EVP_MD_get_block_size(const EVP_MD *md);\n" "\\& unsigned long EVP_MD_get_flags(const EVP_MD *md);\n" "\\& int EVP_MD_xof(const EVP_MD *md);\n" "\\&\n" "\\& const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx);\n" "\\& EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx);\n" "\\& const char *EVP_MD_CTX_get0_name(const EVP_MD_CTX *ctx);\n" "\\& int EVP_MD_CTX_get_size_ex(const EVP_MD_CTX *ctx);\n" "\\& int EVP_MD_CTX_get_block_size(const EVP_MD_CTX *ctx);\n" "\\& int EVP_MD_CTX_get_type(const EVP_MD_CTX *ctx);\n" "\\& void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx);\n" "\\&\n" "\\& const EVP_MD *EVP_md_null(void);\n" "\\&\n" "\\& const EVP_MD *EVP_get_digestbyname(const char *name);\n" "\\& const EVP_MD *EVP_get_digestbynid(int type);\n" "\\& const EVP_MD *EVP_get_digestbyobj(const ASN1_OBJECT *o);\n" "\\&\n" "\\& EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx);\n" "\\& void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx);\n" "\\&\n" "\\& void EVP_MD_do_all_provided(OSSL_LIB_CTX *libctx,\n" "\\& void (*fn)(EVP_MD *mac, void *arg),\n" "\\& void *arg);\n" "\\&\n" "\\& #define EVP_MD_type EVP_MD_get_type\n" "\\& #define EVP_MD_nid EVP_MD_get_type\n" "\\& #define EVP_MD_name EVP_MD_get0_name\n" "\\& #define EVP_MD_pkey_type EVP_MD_get_pkey_type\n" "\\& #define EVP_MD_size EVP_MD_get_size\n" "\\& #define EVP_MD_block_size EVP_MD_get_block_size\n" "\\& #define EVP_MD_flags EVP_MD_get_flags\n" "\\& #define EVP_MD_CTX_get_size EVP_MD_CTX_get_size_ex\n" "\\& #define EVP_MD_CTX_size EVP_MD_CTX_get_size_ex\n" "\\& #define EVP_MD_CTX_block_size EVP_MD_CTX_get_block_size\n" "\\& #define EVP_MD_CTX_type EVP_MD_CTX_get_type\n" "\\& #define EVP_MD_CTX_pkey_ctx EVP_MD_CTX_get_pkey_ctx\n" "\\& #define EVP_MD_CTX_md_data EVP_MD_CTX_get0_md_data\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The following functions have been deprecated since OpenSSL 3.0, and can be " "hidden entirely by defining B with a suitable version " "value, see B\\|(7):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);\n" "\\&\n" "\\& int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx,\n" "\\& const void *data, size_t count);\n" "\\&\n" "\\& void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx,\n" "\\& int (*update)(EVP_MD_CTX *ctx,\n" "\\& const void *data, size_t count));\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The EVP digest routines are a high-level interface to message digests, and " "Extendable Output Functions (XOF)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B type is a structure for digest method implementation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Each Message digest algorithm (such as SHA256) produces a fixed size output " "length which is returned when B is called. Extendable " "Output Functions (XOF) such as SHAKE256 have a variable sized output length " "I which can be used with either B or " "\\&B. B may also be used for an " "XOF, but the \"xoflen\" must be set beforehand (See \"PARAMETERS\"). Note " "that B and B behave differently " "for an XOF." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Item" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_fetch()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Fetches the digest implementation for the given I from any " "provider offering it, within the criteria given by the I. See " "\"ALGORITHM FETCHING\" in B\\|(7) for further information." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The returned value must eventually be freed with B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Fetched B structures are reference counted." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_up_ref()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Increments the reference count for an B structure." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_free()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Decrements the reference count for the fetched B structure. If the " "reference count drops to 0 then the structure is freed. If the argument is " "NULL, nothing is done." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_new()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Allocates and returns a digest context." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_reset()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Resets the digest context I. This can be used to reuse an already " "existing context." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_free()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Cleans up digest context I and frees up the space allocated to it. If " "the argument is NULL, nothing is done." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_ctrl()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&I\\f(BIEVP_MD_CTX_set_params()I< and " ">\\f(BIEVP_MD_CTX_get_params()I< is the mechanism that should be used to set " "and get parameters that are used by providers.>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Performs digest-specific control actions on context I. The control " "command is indicated in I and any additional arguments in I and " "I. \\&B must be called after " "B. Other restrictions may apply depending on the " "control type and digest implementation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If this function happens to be used with a fetched B, it will " "translate the controls that are known to OpenSSL into B\\|(3) " "parameters with keys defined by OpenSSL and call B " "or \\&B as is appropriate for each control command." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "See \"CONTROLS\" below for more information, including what translations are " "being done." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_params()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Retrieves the requested list of I from a MD I. See " "\"PARAMETERS\" below for more information." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_get_params()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Retrieves the requested list of I from a MD context I. See " "\"PARAMETERS\" below for more information." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_set_params()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets the list of I into a MD context I. See \"PARAMETERS\" " "below for more information." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_gettable_params()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Get a constant B\\|(3) array that describes the retrievable " "parameters that can be used with B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_gettable_ctx_params(), EVP_MD_CTX_gettable_params()" msgstr "" #. type: Plain text #: archlinux msgid "" "Get a constant B\\|(3) array that describes the retrievable " "parameters that can be used with B. " "B returns the parameters that can be retrieved " "from the algorithm, whereas \\&B returns the " "parameters that can be retrieved in the context\\*(Aqs current state." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_settable_ctx_params(), EVP_MD_CTX_settable_params()" msgstr "" #. type: Plain text #: archlinux msgid "" "Get a constant B\\|(3) array that describes the settable " "parameters that can be used with B. " "B returns the parameters that can be set from " "the algorithm, whereas \\&B returns the " "parameters that can be set in the context\\*(Aqs current state." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_set_flags(), EVP_MD_CTX_clear_flags(), EVP_MD_CTX_test_flags()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets, clears and tests I flags. See \"FLAGS\" below for more " "information." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B is a quick one-shot digest function." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_Q_digest() is a quick one-shot digest function." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "It hashes I bytes of data at I using the digest algorithm " "\\&I, which is fetched using the optional I and I " "parameters. The digest value is placed in I and its length is written " "at I if the pointer is not NULL. At most B bytes " "will be written." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_Digest()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "A wrapper around the Digest Init_ex, Update and Final_ex functions. Hashes " "I bytes of data at I using a digest I from ENGINE " "\\&I. The digest value is placed in I and its length is written at " "I if the pointer is not NULL. At most B bytes will be " "written. If I is NULL the default implementation of digest I is " "used." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestInit_ex2()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets up digest context I to use a digest I. \\&I is " "typically supplied by a function such as B, or a value " "explicitly fetched with B. I B be NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The parameters B are set on the context after initialisation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The I parameter can be NULL if I has been already initialized " "with another B call and has not been reset with " "\\&B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestInit_ex()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets up digest context I to use a digest I. \\&I is " "typically supplied by a function such as B, or a value " "explicitly fetched with B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If I is non-NULL, its implementation of the digest I is used if " "there is one, and if not, the default implementation is used." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestUpdate()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Hashes I bytes of data at I into the digest context I. This " "function can be called several times on the same I to hash additional " "data." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestFinal_ex()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Retrieves the digest value from I and places it in I. If the I " "parameter is not NULL then the number of bytes of data written (i.e. the " "length of the digest) will be written to the integer at I, at most " "\\&B bytes will be written unless the digest implementation " "allows changing the digest size and it is set to a larger value by the " "application. After calling B no additional calls to " "\\&B can be made, but B can be " "called to initialize a new digest operation. I B be NULL." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestFinalXOF()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Interfaces to extendable-output functions, XOFs, such as SHAKE128 and " "SHAKE256. It retrieves the digest value from I and places it in " "I-sized I. After calling this function no additional calls to " "B can be made, but B can be called " "to initialize a new operation. \\&B may only be " "called once" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestSqueeze()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Similar to B but allows multiple calls to be made to " "squeeze variable length output data. \\&B should not " "be called after this." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_dup()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Can be used to duplicate the message digest state from I. This is " "useful to avoid multiple B calls or if large amounts of data " "are to be hashed which only differ in the last few bytes." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_copy_ex()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Can be used to copy the message digest state from I to I. This is " "useful if large amounts of data are to be hashed which only differ in the " "last few bytes." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestInit()" msgstr "" #. type: Plain text #: archlinux msgid "" "Behaves in the same way as B except it doesn\\*(Aqt " "set any parameters and calls B so it cannot be used with " "an I of NULL." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_DigestFinal()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Similar to B except after computing the digest the " "digest context I is automatically cleaned up with B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_copy()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Similar to B except the destination I does not " "have to be initialized." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_is_a()" msgstr "" #. type: Plain text #: archlinux msgid "" "Returns 1 if I is an implementation of an algorithm that\\*(Aqs " "identifiable with I, otherwise 0." msgstr "" #. type: Plain text #: archlinux msgid "" "If I is a legacy digest (it\\*(Aqs the return value from the likes of " "\\&B rather than the result of an B), only " "cipher names registered with the default library context (see " "\\&B\\|(3)) will be considered." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_xof()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns 1 if I is an Extendable-output Function (XOF) otherwise it " "returns 0. SHAKE128 and SHAKE256 are XOF functions. It returns 0 for " "BLAKE2B algorithms." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get0_name(), EVP_MD_CTX_get0_name()" msgstr "" #. type: Plain text #: archlinux msgid "" "Return the name of the given message digest. For fetched message digests " "with multiple names, only one of them is returned; it\\*(Aqs recommended to " "use B instead." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_names_do_all()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Traverses all names for the I, and calls I with each name and " "\\&I. This is only useful with fetched Bs." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get0_description()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns a description of the digest, meant for display and human " "consumption. The description is at the discretion of the digest " "implementation." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get0_provider()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns an B pointer to the provider that implements the " "given \\&B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_size()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Return the size of the message digest when passed an B, i.e. the " "size of the hash. A negative value or 0 can occur for invalid size. For an " "XOF with no default size this returns 0." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_get_size_ex(), EVP_MD_CTX_get_size()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For a normal digest this is the same as B. For an XOF " "this returns the \"xoflen\" if it has been set, otherwise it returns 0." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_block_size(), EVP_MD_CTX_get_block_size()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Return the block size of the message digest when passed an B or an " "\\&B structure." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_type(), EVP_MD_CTX_get_type()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Return the NID of the OBJECT IDENTIFIER representing the given message " "digest when passed an B structure. For example, " "CW<\\*(C`EVP_MD_get_type(EVP_sha1())\\*(C'> returns B. This " "function is normally used when setting ASN1 OIDs." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_get0_md_data()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Return the digest method private data for the passed B. The " "space is allocated by OpenSSL and has the size originally set with " "\\&B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_get0_md(), EVP_MD_CTX_get1_md()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the B structure corresponding to " "the passed B. This will be the same B object originally " "passed to B (or other similar function) when the " "EVP_MD_CTX was first initialised. Note that where explicit fetch is in use " "(see B\\|(3)) the value returned from this function will not " "have its reference count incremented and therefore it should not be used " "after the EVP_MD_CTX is freed. \\&B is the same " "except the ownership is passed to the caller and is from the passed " "B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_set_update_fn()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets the update function for I to I. This is the function that " "is called by B. If not set, the update function from the " "B type specified at initialization is used." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_update_fn()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns the update function for I." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_flags()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns the I flags. Note that these are different from the " "B ones. See B\\|(3) for more information." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_pkey_type()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns the NID of the public key signing algorithm associated with this " "digest. For example B is associated with RSA so this will return " "\\&B. Since digests and signature algorithms are " "no longer linked this function is only retained for compatibility reasons." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_md_null()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "A \"null\" message digest that does nothing: i.e. the hash it returns is of " "zero length." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_get_digestbyname(), EVP_get_digestbynid(), EVP_get_digestbyobj()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns an B structure when passed a digest name, a digest B or " "an \\&B structure respectively." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B function is present for backwards " "compatibility with OpenSSL prior to version 3 and is different to the " "B function since it does not attempt to \"fetch\" an " "implementation of the cipher. Additionally, it only knows about digests " "that are built-in to OpenSSL and have an associated NID. Similarly " "B and B also return objects " "without an associated implementation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When the digest objects returned by these functions are used (such as in a " "call to B) an implementation of the digest will be " "implicitly fetched from the loaded providers. This fetch could fail if no " "suitable implementation is available. Use B instead to " "explicitly fetch the algorithm and an associated implementation from a " "provider." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "See \"ALGORITHM FETCHING\" in B\\|(7) for more information about " "fetching." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The digest objects returned from these functions do not need to be freed " "with \\&B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_get_pkey_ctx()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns the B assigned to I. The returned pointer should " "not be freed by the caller." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_set_pkey_ctx()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Assigns an B to B. This is usually used to provide " "a customized B to B\\|(3) or " "\\&B\\|(3). The I passed to this function should " "be freed by the caller. A NULL I pointer is also allowed to clear the " "B assigned to I. In such case, freeing the cleared " "B or not depends on how the B is created." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_do_all_provided()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Traverses all messages digests implemented by all activated providers in the " "given library context I, and for each of the implementations, calls " "the given function I with the implementation method and the given " "\\&I as argument." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "PARAMETERS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "See B\\|(3) for information about passing parameters." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B can be used " "with the following OSSL_PARAM keys:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"xoflen\" (B) Eunsigned integerE" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"xoflen\" (OSSL_DIGEST_PARAM_XOFLEN) Eunsigned integerE" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets or gets the digest length for extendable output functions. The value " "should not exceed what can be given using a B. It may be used by " "SHAKE-128 and SHAKE-256 to set the output length used by " "B and B." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"size\" (B) Eunsigned integerE" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"size\" (OSSL_DIGEST_PARAM_SIZE) Eunsigned integerE" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Sets or gets a fixed digest length. The value should not exceed what can be " "given using a B. It may be used by BLAKE2B-512 to set the output " "length used by \\&B and B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B can be used with the following OSSL_PARAM keys:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"pad-type\" (B) Eunsigned integerE" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"pad-type\" (OSSL_DIGEST_PARAM_PAD_TYPE) Eunsigned integerE" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Sets the padding type. It is used by the MDC2 algorithm." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B can be used with the following OSSL_PARAM keys:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"micalg\" (B) EUTF8 stringE." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "\"micalg\" (OSSL_DIGEST_PARAM_MICALG) EUTF8 stringE." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Gets the digest Message Integrity Check algorithm string. This is used when " "creating S/MIME multipart/signed messages, as specified in RFC 3851. It may " "be used by external engines or providers." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "CONTROLS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B can be used to send the following standard controls:" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTRL_MICALG" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Gets the digest Message Integrity Check algorithm string. This is used when " "creating S/MIME multipart/signed messages, as specified in RFC 3851. The " "string value is written to I." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When used with a fetched B, B gets called " "with an B\\|(3) item with the key \"micalg\" " "(B)." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTRL_XOF_LEN" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This control sets the digest length for extendable output functions to " "I. Sending this control directly should not be necessary, the use of " "\\&B is preferred. Currently used by SHAKE algorithms." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When used with a fetched B, B gets called " "with an B\\|(3) item with the key \"xoflen\" " "(B)." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "FLAGS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B and " "B can be used the manipulate and test these " "B flags:" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_FLAG_ONESHOT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This flag instructs the digest to optimize for one update only, if possible." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_FLAG_CLEANED" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This flag is for internal use only and I be used in user code." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_FLAG_REUSE" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_FLAG_NO_INIT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This flag instructs B and similar not to initialise the " "implementation specific data." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_FLAG_FINALISE" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Some functions such as EVP_DigestSign only finalise copies of internal " "contexts so additional data can be included after the finalisation call. " "This is inefficient if this functionality is not required, and can be " "disabled with this flag." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns a pointer to a B for success or NULL for failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns 1 for success or 0 for failure." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B, B, B, B, B, B, B, and B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_Q_digest(), EVP_Digest(), EVP_DigestInit_ex2(), EVP_DigestInit_ex(), EVP_DigestInit(), EVP_DigestUpdate(), EVP_DigestFinal_ex(), EVP_DigestFinalXOF(), and EVP_DigestFinal()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "return 1 for success and 0 for failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns 1 if successful or 0 for failure." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_set_params(), EVP_MD_CTX_get_params()" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_CTX_settable_params(), EVP_MD_CTX_gettable_params()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Return an array of constant B\\|(3)s, or NULL if there is none " "to get." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns a new EVP_MD_CTX if successful or NULL on failure." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_type(), EVP_MD_get_pkey_type()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns the NID of the corresponding OBJECT IDENTIFIER or NID_undef if none " "exists." msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable #, no-wrap msgid "B, B, B, B" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_MD_get_size(), EVP_MD_get_block_size(), EVP_MD_CTX_get_size(), EVP_MD_CTX_get_block_size()" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns the digest or block size in bytes or -1 for failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns a pointer to the B structure of the \"null\" message digest." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Returns either an B structure or NULL if an error occurs." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "This function has no return value." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Returns 1 if the callback was called for all names. A return value of 0 " "means that the callback was not called for any names." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B interface to message digests should almost always be used in " "preference to the low-level interfaces. This is because the code then " "becomes transparent to the digest used and much more flexible." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "New applications should use the SHA-2 (such as B\\|(3)) or the " "SHA-3 digest algorithms (such as B\\|(3)). The other digest " "algorithms are still in common use." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "For most applications the I parameter to B will " "be set to NULL to use the default digest implementation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Ignoring failure returns of B, B, " "or \\&B can lead to undefined behavior on subsequent calls " "updating or finalizing the B such as the B " "or \\&B functions. The only valid calls on the " "B when initialization fails are calls that attempt another " "initialization of the context or release the context." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The functions B, B and " "B are obsolete but are retained to maintain compatibility " "with existing code. New applications should use B, " "B and \\&B because they can " "efficiently reuse a digest context instead of initializing and cleaning it " "up on each call and allow non default implementations of digests to be " "specified." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If digest contexts are not cleaned up after use, memory leaks will occur." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, " "B, \\&B, " "B and B are defined as macros." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sends commands to message digests for additional " "configuration or control." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "This example digests the data \"Test Message\\en\" and \"Hello World\\en\", " "using the digest name passed on the command line." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Estdio.hE\n" "\\& #include Estring.hE\n" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& int main(int argc, char *argv[])\n" "\\& {\n" "\\& EVP_MD_CTX *mdctx;\n" "\\& const EVP_MD *md;\n" "\\& char mess1[] = \"Test Message\\en\";\n" "\\& char mess2[] = \"Hello World\\en\";\n" "\\& unsigned char md_value[EVP_MAX_MD_SIZE];\n" "\\& unsigned int md_len, i;\n" "\\&\n" "\\& if (argv[1] == NULL) {\n" "\\& printf(\"Usage: mdtest digestname\\en\");\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& md = EVP_get_digestbyname(argv[1]);\n" "\\& if (md == NULL) {\n" "\\& printf(\"Unknown message digest %s\\en\", argv[1]);\n" "\\& exit(1);\n" "\\& }\n" "\\&\n" "\\& mdctx = EVP_MD_CTX_new();\n" "\\& if (mdctx == NULL) {\n" "\\& printf(\"Message digest create failed.\\en\");\n" "\\& exit(1);\n" "\\& }\n" "\\& if (!EVP_DigestInit_ex2(mdctx, md, NULL)) {\n" "\\& printf(\"Message digest initialization failed.\\en\");\n" "\\& EVP_MD_CTX_free(mdctx);\n" "\\& exit(1);\n" "\\& }\n" "\\& if (!EVP_DigestUpdate(mdctx, mess1, strlen(mess1))) {\n" "\\& printf(\"Message digest update failed.\\en\");\n" "\\& EVP_MD_CTX_free(mdctx);\n" "\\& exit(1);\n" "\\& }\n" "\\& if (!EVP_DigestUpdate(mdctx, mess2, strlen(mess2))) {\n" "\\& printf(\"Message digest update failed.\\en\");\n" "\\& EVP_MD_CTX_free(mdctx);\n" "\\& exit(1);\n" "\\& }\n" "\\& if (!EVP_DigestFinal_ex(mdctx, md_value, &md_len)) {\n" "\\& printf(\"Message digest finalization failed.\\en\");\n" "\\& EVP_MD_CTX_free(mdctx);\n" "\\& exit(1);\n" "\\& }\n" "\\& EVP_MD_CTX_free(mdctx);\n" "\\&\n" "\\& printf(\"Digest is: \");\n" "\\& for (i = 0; i E md_len; i++)\n" "\\& printf(\"%02x\", md_value[i]);\n" "\\& printf(\"\\en\");\n" "\\&\n" "\\& exit(0);\n" "\\& }\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(3), \\&B\\|(1), \\&B\\|(7), " "\\&B\\|(3), \\&B\\|(3), \\&B\\|(7), " "\"ALGORITHM FETCHING\" in B\\|(7), \\&B\\|(7), " "\\&B\\|(7)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The full list of digest algorithms are provided below." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(3), \\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B and B functions were " "renamed to \\&B and B in OpenSSL 1.1.0, " "respectively." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The link between digests and signing algorithms was fixed in OpenSSL 1.0 and " "later, so now B can be used with RSA and DSA." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was removed in OpenSSL 1.1.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 1.1.1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B, B, \\&B, " "B, B, \\&B, " "B, B, " "\\&B, B, " "\\&B, B and " "\\&B functions were added in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B, B, B, " "B, \\&B, B, " "B, B, \\&B, " "B, and B functions were renamed to " "include CW<\\*(C`get\\*(C'> or CW<\\*(C`get0\\*(C'> in their names in " "OpenSSL 3.0, respectively. The old names are kept as non-deprecated alias " "macros." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B function was deprecated in OpenSSL 3.0; use " "\\&B instead. \\&B and " "B were deprecated in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 3.1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "The B function was added in OpenSSL 3.3." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B and B functions were added in " "OpenSSL 3.4. The macros B and EVP_MD_CTX_size were " "changed in OpenSSL 3.4 to be aliases for B, " "previously they were aliases for EVP_MD_get_size which returned a constant " "value. This is required for XOF digests since they do not have a fixed size." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "EVP_DIGESTINIT 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Get a constant B\\|(3) array that describes the retrievable " "parameters that can be used with B. " "B returns the parameters that can be retrieved " "from the algorithm, whereas \\&B returns the " "parameters that can be retrieved in the context's current state." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Get a constant B\\|(3) array that describes the settable " "parameters that can be used with B. " "B returns the parameters that can be set from " "the algorithm, whereas \\&B returns the " "parameters that can be set in the context's current state." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Behaves in the same way as B except it doesn't set any " "parameters and calls B so it cannot be used with an " "I of NULL." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Returns 1 if I is an implementation of an algorithm that's identifiable " "with I, otherwise 0." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "If I is a legacy digest (it's the return value from the likes of " "\\&B rather than the result of an B), only " "cipher names registered with the default library context (see " "\\&B\\|(3)) will be considered." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "Return the name of the given message digest. For fetched message digests " "with multiple names, only one of them is returned; it's recommended to use " "B instead." msgstr ""