Extended password‐based encryption key‐setup callback with library context support.
Synopsis
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*);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Cipher context that receives the derived key and IV. |
pass |
Password bytes (may contain embedded NULs when |
passlen |
Length of |
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. |
Created with MrDocs