Create SRP salt and verifier BIGNUMs for a user/password.
Declared in <openssl/srp.h>
[[deprecated]]
int
SRP_create_verifier_BN_ex(
char const* user,
char const* pass,
BIGNUM** salt,
BIGNUM** verifier,
BIGNUM const* N,
BIGNUM const* g,
OSSL_LIB_CTX* libctx,
char const* propq);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, 0 on error.
| 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. |
| libctx | Library context for algorithm fetching, or NULL for default. |
| propq | Property query for algorithm fetching, or NULL. |