SRP_Calc_B_ex

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

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
BIGNUM*
SRP_Calc_B_ex(
    BIGNUM const* b,
    BIGNUM const* N,
    BIGNUM const* g,
    BIGNUM const* v,
    OSSL_LIB_CTX* libctx,
    char const* propq);

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.
libctxLibrary context for algorithm fetching, or NULL for default.
propqProperty query for algorithm fetching, or NULL.