SRP_Calc_client_key

Compute the client session key K for TLS-SRP (deprecated).

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_client_key(
    BIGNUM const* N,
    BIGNUM const* B,
    BIGNUM const* g,
    BIGNUM const* x,
    BIGNUM const* a,
    BIGNUM const* u);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated session key, or NULL on error. Caller must free.

Parameters

NameDescription
NSRP group modulus.
BServer public value.
gSRP generator.
xPrivate exponent from SRP_Calc_x().
aClient ephemeral private exponent.
uScrambling parameter from SRP_Calc_u().