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

Name

Description

type

PBE application type such as EVP_PBE_TYPE_OUTER or EVP_PBE_TYPE_PRF.

pbe_nid

NID of the PBE AlgorithmIdentifier.

pcnid

Optional destination for the cipher NID, or NULL.

pmnid

Optional destination for the digest/PRF NID, or NULL.

pkeygen

Optional destination for the keygen function pointer, or NULL.

Created with MrDocs