[#EVP_PKEY_CTX_set1_hkdf_salt] = EVP_PKEY_CTX_set1_hkdf_salt :mrdocs: Set the HKDF salt, replacing any previously set salt. == Synopsis Declared in `<openssl/kdf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set1_hkdf_salt( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, unsigned char const* salt, int saltlen); ---- == Return Value 1 on success, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context configured for the HKDF KDF. | *salt* | Salt octets (copied), or NULL when `saltlen` is 0. | *saltlen* | Length of `salt` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#