[#SRP_Calc_A]
= SRP&lowbar;Calc&lowbar;A
:mrdocs:

Compute the client public value A &equals; g&circ;a mod N&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;A(
    xref:BIGNUM.adoc[BIGNUM] const* a,
    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

Newly allocated A value, or NULL on error&period; Caller must free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| Client secret exponent&period;
| *N*
| Safe prime modulus&period;
| *g*
| Generator&period;
|===


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