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

Name

Description

g

Generator to test.

N

Safe prime modulus to test.

Created with MrDocs