Extended password-based encryption key-setup callback with library context support.
Declared in <openssl/evp.h>
typedef int EVP_PBE_KEYGEN_EX(EVP_CIPHER_CTX*, char const*, int, ASN1_TYPE*, EVP_CIPHER const*, EVP_MD const*, int, OSSL_LIB_CTX*, char const*);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Cipher context that receives the derived key and IV. |
| pass | Password bytes (may contain embedded NULs when passlen is set). |
| passlen | Length of pass in bytes, or -1 if pass is a NUL-terminated string. |
| param | Algorithm-specific PBE parameters (for example PBKDF2PARAM). |
| cipher | Cipher to initialize. |
| md | Digest used by the PBE scheme when applicable. |
| en_de | 1 to encrypt, 0 to decrypt. |
| libctx | Library context used when fetching algorithms, or NULL for the default. |
| propq | Property query for algorithm fetches, or NULL. |