SRP_create_verifier

Create base64-encoded SRP salt and verifier strings (default library context; deprecated).

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
char*
SRP_create_verifier(
    char const* user,
    char const* pass,
    char** salt,
    char** verifier,
    char const* N,
    char const* g);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

"*" if N was supplied, the selected group id otherwise; do not free. NULL on error.

Parameters

NameDescription
userUser name.
passPassword.
saltAddress of salt pointer: receives a newly allocated base64 salt when *salt is NULL, or uses the supplied value.
verifierReceives a newly allocated base64 verifier string.
NBase64-encoded safe prime, or NULL to select a default group via g.
gBase64-encoded generator when N is set, or a default group id such as "2048" when N is NULL.