SRP_create_verifier_BN

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

NameDescription
userUser name.
passPassword.
saltAddress of salt pointer: receives a newly allocated salt when *salt is NULL, or uses the supplied value.
verifierReceives a newly allocated verifier BIGNUM.
NSafe prime modulus for the SRP group.
gGenerator for the SRP group.