SRP_Calc_x_ex

Compute the private exponent x = H(s, H(user:pass)) for TLS-SRP.

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_x_ex(
    BIGNUM const* s,
    char const* user,
    char const* pass,
    OSSL_LIB_CTX* libctx,
    char const* propq);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated x value, or NULL on error. Caller must free.

Parameters

NameDescription
sSalt value.
userUser name.
passPassword.
libctxLibrary context for algorithm fetching, or NULL for default.
propqProperty query for algorithm fetching, or NULL.