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

Name

Description

libctx

Library context for algorithm fetching, or NULL for the default.

slen

Length of the random salt in bytes.

owfnid

NID of the one‐way function digest.

itercnt

OWF iteration count.

macnid

NID of the MAC algorithm.

Created with MrDocs