[#PKCS5_v2_scrypt_keyivgen_ex] = PKCS5_v2_scrypt_keyivgen_ex :mrdocs: Initialize `ctx` for scrypt‐based PBE using a library context. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS5_v2_scrypt_keyivgen_ex( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* ctx, char const* pass, int passlen, xref:ASN1_TYPE.adoc[ASN1_TYPE]* param, xref:EVP_CIPHER-07.adoc[EVP_CIPHER] const* c, xref:EVP_MD.adoc[EVP_MD] const* md, int en_de, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Cipher context to initialize. | *pass* | Password bytes. | *passlen* | Length of `pass,` or ‐1 if NUL‐terminated. | *param* | ASN.1 parameters describing salt and scrypt settings. | *c* | Content cipher to initialize. | *md* | Unused for scrypt (may be NULL). | *en_de* | 1 to encrypt, or 0 to decrypt. | *libctx* | Library context for algorithm fetches, or NULL for the default. | *propq* | Property query for algorithm fetches, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#