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

Name

Description

A

Client public value.

B

Server public value.

N

Safe prime modulus (used when hashing A and B as padded fields).

Created with MrDocs