SRP_Calc_B

Compute the server public value B = g^b + k*v (mod N) for TLS-SRP (default library context; deprecated).

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_B(
    BIGNUM const* b,
    BIGNUM const* N,
    BIGNUM const* g,
    BIGNUM const* v);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Newly allocated B value, or NULL on error. Caller must free.

Parameters

NameDescription
bServer secret exponent.
NSafe prime modulus.
gGenerator.
vUser password verifier.