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

Name

Description

s

Salt value.

user

User name.

pass

Password.

libctx

Library context for algorithm fetching, or NULL for default.

propq

Property query for algorithm fetching, or NULL.

Created with MrDocs