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

Name

Description

N

Safe prime modulus.

B

Server public value.

g

Generator.

x

Private exponent from SRP_Calc_x().

a

Client secret exponent.

u

Scrambling parameter from SRP_Calc_u().

libctx

Library context for algorithm fetching, or NULL for default.

propq

Property query for algorithm fetching, or NULL.

Created with MrDocs