SRP_check_known_gN_param

Test whether g and N match a built-in RFC 5054 SRP group.

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
char*
SRP_check_known_gN_param(
    BIGNUM const* g,
    BIGNUM const* N);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Text group id (for example "2048") when recognized; do not free. NULL if unknown or on error.

Parameters

NameDescription
gGenerator to test.
NSafe prime modulus to test.