Create SRP salt and verifier BIGNUMs for a user/password.

Synopsis

Declared in <openssl/srp.h>

[[deprecated]]
int
SRP_create_verifier_BN(
    char const* user,
    char const* pass,
    BIGNUM** salt,
    BIGNUM** verifier,
    BIGNUM const* N,
    BIGNUM const* g);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, 0 on error.

Parameters

Name

Description

user

User name.

pass

Password.

salt

Address of salt pointer: receives a newly allocated salt when *`salt` is NULL, or uses the supplied value.

verifier

Receives a newly allocated verifier BIGNUM.

N

Safe prime modulus for the SRP group.

g

Generator for the SRP group.

Created with MrDocs