SRP_Calc_server_key

Compute the SRP server shared secret S = (A*v^u)^b mod N (deprecated).

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_server_key(
    BIGNUM const* A,
    BIGNUM const* v,
    BIGNUM const* u,
    BIGNUM const* b,
    BIGNUM const* N);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated shared secret, or NULL on error. Caller must free.

Parameters

NameDescription
AClient public value.
vUser password verifier.
uScrambling parameter from SRP_Calc_u().
bServer secret exponent.
NSafe prime modulus.