[#SRP_Calc_client_key]
= SRP&lowbar;Calc&lowbar;client&lowbar;key
:mrdocs:

Compute the client session key K for TLS&hyphen;SRP (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;client&lowbar;key(
    xref:BIGNUM.adoc[BIGNUM] const* N,
    xref:BIGNUM.adoc[BIGNUM] const* B,
    xref:BIGNUM.adoc[BIGNUM] const* g,
    xref:BIGNUM.adoc[BIGNUM] const* x,
    xref:BIGNUM.adoc[BIGNUM] const* a,
    xref:BIGNUM.adoc[BIGNUM] const* u);
----

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

Newly allocated session key, or NULL on error&period; Caller must free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *N*
| SRP group modulus&period;
| *B*
| Server public value&period;
| *g*
| SRP generator&period;
| *x*
| Private exponent from SRP&lowbar;Calc&lowbar;x()&period;
| *a*
| Client ephemeral private exponent&period;
| *u*
| Scrambling parameter from SRP&lowbar;Calc&lowbar;u()&period;
|===


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