Initialize a cipher context for password‐based encryption using a library context.
Synopsis
Declared in <openssl/evp.h>
int
EVP_PBE_CipherInit_ex(
ASN1_OBJECT* pbe_obj,
char const* pass,
int passlen,
ASN1_TYPE* param,
EVP_CIPHER_CTX* ctx,
int en_de,
OSSL_LIB_CTX* libctx,
char const* propq);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
pbe_obj |
OID identifying the PBE algorithm. |
pass |
Password bytes. |
passlen |
Length of |
param |
Algorithm parameters associated with |
ctx |
Cipher context to initialize. |
en_de |
1 to encrypt, or 0 to decrypt. |
libctx |
Library context for fetching algorithms, or NULL for the default. |
propq |
Property query string, or NULL. |
Created with MrDocs