OSSL_CRMF_pbmp_new

Create a PBMParameter for password-based MAC POPO (RFC 4211 section 4.4).

Synopsis

Declared in <openssl/crmf.h>

OSSL_CRMF_PBMPARAMETER*
OSSL_CRMF_pbmp_new(
    OSSL_LIB_CTX* libctx,
    size_t slen,
    int owfnid,
    size_t itercnt,
    int macnid);

Return Value

New PBMParameter, or NULL on error.

Parameters

NameDescription
libctxLibrary context for algorithm fetching, or NULL for the default.
slenLength of the random salt in bytes.
owfnidNID of the one-way function digest.
itercntOWF iteration count.
macnidNID of the MAC algorithm.