[#SRP_Verify_B_mod_N]
= SRP&lowbar;Verify&lowbar;B&lowbar;mod&lowbar;N
:mrdocs:

Verify that the server public value B is non&hyphen;zero modulo N&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;Verify&lowbar;B&lowbar;mod&lowbar;N(
    xref:BIGNUM.adoc[BIGNUM] const* B,
    xref:BIGNUM.adoc[BIGNUM] const* N);
----

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

1 if B mod N is non&hyphen;zero, 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *B*
| Server public value&period;
| *N*
| Safe prime modulus&period;
|===


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