[#SRP_create_verifier_BN]
= SRP&lowbar;create&lowbar;verifier&lowbar;BN
:mrdocs:

Create SRP salt and verifier BIGNUMs for a user&sol;password&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
SRP&lowbar;create&lowbar;verifier&lowbar;BN(
    char const* user,
    char const* pass,
    xref:BIGNUM.adoc[BIGNUM]** salt,
    xref:BIGNUM.adoc[BIGNUM]** verifier,
    xref:BIGNUM.adoc[BIGNUM] const* N,
    xref:BIGNUM.adoc[BIGNUM] const* g);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *user*
| User name&period;
| *pass*
| Password&period;
| *salt*
| Address of salt pointer&colon; receives a newly allocated salt when &ast;`salt` is NULL, or uses the supplied value&period;
| *verifier*
| Receives a newly allocated verifier BIGNUM&period;
| *N*
| Safe prime modulus for the SRP group&period;
| *g*
| Generator for the SRP group&period;
|===


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