SRP_Calc_client_key_ex

Compute the client session key K for TLS-SRP.

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_client_key_ex(
    BIGNUM const* N,
    BIGNUM const* B,
    BIGNUM const* g,
    BIGNUM const* x,
    BIGNUM const* a,
    BIGNUM const* u,
    OSSL_LIB_CTX* libctx,
    char const* propq);

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
NSafe prime modulus.
BServer public value.
gGenerator.
xPrivate exponent from SRP_Calc_x().
aClient secret exponent.
uScrambling parameter from SRP_Calc_u().
libctxLibrary context for algorithm fetching, or NULL for default.
propqProperty query for algorithm fetching, or NULL.