[#SRP_create_verifier_ex] = SRP_create_verifier_ex :mrdocs: Create base64‐encoded SRP salt and verifier strings for a user/password. == Synopsis Declared in `<openssl/srp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] char* SRP_create_verifier_ex( char const* user, char const* pass, char** salt, char** verifier, char const* N, char const* g, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value "*" if `N` was supplied, the selected group id otherwise; do not free. NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *user* | User name. | *pass* | Password. | *salt* | Address of salt pointer: receives a newly allocated base64 salt when *`salt` is NULL, or uses the supplied value. | *verifier* | Receives a newly allocated base64 verifier string. | *N* | Base64‐encoded safe prime, or NULL to select a default group via `g.` | *g* | Base64‐encoded generator when `N` is set, or a default group id such as "2048" when `N` is NULL. | *libctx* | Library context for algorithm fetching, or NULL for default. | *propq* | Property query for algorithm fetching, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#