SRP_Calc_u

Compute the SRP scrambling parameter u = H(A, B) using the default library context (deprecated).

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_u(
    BIGNUM const* A,
    BIGNUM const* B,
    BIGNUM const* N);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated u value, or NULL on error; free with BN_free().

Parameters

NameDescription
AClient public value.
BServer public value.
NSafe prime modulus (used when hashing A and B as padded fields).