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

Name

Description

b

Server secret exponent.

N

Safe prime modulus.

g

Generator.

v

User password verifier.

libctx

Library context for algorithm fetching, or NULL for default.

propq

Property query for algorithm fetching, or NULL.

Created with MrDocs