SRP_create_verifier_ex

Create base64-encoded SRP salt and verifier strings for a user/password.

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
char*
SRP_create_verifier_ex(
    char const* user,
    char const* pass,
    char** salt,
    char** verifier,
    char const* N,
    char const* g,
    OSSL_LIB_CTX* libctx,
    char const* propq);

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.
libctxLibrary context for algorithm fetching, or NULL for default.
propqProperty query for algorithm fetching, or NULL.