[#SRP_user_pwd_set0_sv]
= SRP&lowbar;user&lowbar;pwd&lowbar;set0&lowbar;sv
:mrdocs:

Assign salt and verifier BIGNUMs to an SRP&lowbar;user&lowbar;pwd (ownership transfers on success)&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;user&lowbar;pwd&lowbar;set0&lowbar;sv(
    xref:SRP_user_pwd.adoc[SRP&lowbar;user&lowbar;pwd]* user&lowbar;pwd,
    xref:BIGNUM.adoc[BIGNUM]* s,
    xref:BIGNUM.adoc[BIGNUM]* v);
----

[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 failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *user&lowbar;pwd*
| Entry to update&period;
| *s*
| Salt value, or NULL to clear&period;
| *v*
| Verifier value, or NULL to clear&period;
|===


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