[#OSSL_CRMF_pbmp_new]
= OSSL&lowbar;CRMF&lowbar;pbmp&lowbar;new
:mrdocs:

Create a PBMParameter for password&hyphen;based MAC POPO (RFC 4211 section 4&period;4)&period;

== Synopsis

Declared in `&lt;openssl&sol;crmf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_CRMF_PBMPARAMETER.adoc[OSSL&lowbar;CRMF&lowbar;PBMPARAMETER]*
OSSL&lowbar;CRMF&lowbar;pbmp&lowbar;new(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    size&lowbar;t slen,
    int owfnid,
    size&lowbar;t itercnt,
    int macnid);
----

== Return Value

New PBMParameter, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context for algorithm fetching, or NULL for the default&period;
| *slen*
| Length of the random salt in bytes&period;
| *owfnid*
| NID of the one&hyphen;way function digest&period;
| *itercnt*
| OWF iteration count&period;
| *macnid*
| NID of the MAC algorithm&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
