[#SRP_Calc_x]
= SRP&lowbar;Calc&lowbar;x
:mrdocs:

Compute x &equals; H(s, H(user&colon;pass)) using the default library context (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:BIGNUM.adoc[BIGNUM]*
SRP&lowbar;Calc&lowbar;x(
    xref:BIGNUM.adoc[BIGNUM] const* s,
    char const* user,
    char const* pass);
----

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

Newly allocated private exponent x, or NULL on error&semi; free with BN&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Salt value&period;
| *user*
| User name&period;
| *pass*
| Password&period;
|===


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