[#SRP_check_known_gN_param]
= SRP&lowbar;check&lowbar;known&lowbar;gN&lowbar;param
:mrdocs:

Test whether `g` and `N` match a built&hyphen;in RFC 5054 SRP group&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
char*
SRP&lowbar;check&lowbar;known&lowbar;gN&lowbar;param(
    xref:BIGNUM.adoc[BIGNUM] const* g,
    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

Text group id (for example &quot;2048&quot;) when recognized&semi; do not free&period; NULL if unknown or on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *g*
| Generator to test&period;
| *N*
| Safe prime modulus to test&period;
|===


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