[#EVP_PKEY_CTX_set1_scrypt_salt] = EVP_PKEY_CTX_set1_scrypt_salt :mrdocs: Set the scrypt salt on a KDF key context (copies `salt).` == Synopsis Declared in `<openssl/kdf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set1_scrypt_salt( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, unsigned char const* salt, int saltlen); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context configured for the scrypt algorithm. | *salt* | Salt octets to copy. | *saltlen* | Length of `salt` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#