EVP_PBE_find

Look up a registered password-based encryption (PBE) algorithm by NID.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PBE_find(
    int type,
    int pbe_nid,
    int* pcnid,
    int* pmnid,
    EVP_PBE_KEYGEN** pkeygen);

Return Value

1 if found, or 0 otherwise.

Parameters

NameDescription
typePBE application type such as EVP_PBE_TYPE_OUTER or EVP_PBE_TYPE_PRF.
pbe_nidNID of the PBE AlgorithmIdentifier.
pcnidOptional destination for the cipher NID, or NULL.
pmnidOptional destination for the digest/PRF NID, or NULL.
pkeygenOptional destination for the keygen function pointer, or NULL.