Lines Matching defs:salt
389 * V base64(verifier) base64(salt) username gNid userinfo(optional)
607 * create a verifier (*salt,*verifier,g and N are in base64)
609 char *SRP_create_verifier_ex(const char *user, const char *pass, char **salt,
623 (pass == NULL) || (salt == NULL) || (verifier == NULL))
649 if (*salt == NULL) {
655 if ((len = t_fromb64(tmp2, sizeof(tmp2), *salt)) <= 0)
674 if (*salt == NULL) {
684 *salt = tmp_salt;
700 char *SRP_create_verifier(const char *user, const char *pass, char **salt,
703 return SRP_create_verifier_ex(user, pass, salt, verifier, N, g, NULL, NULL);
707 * create a verifier (*salt,*verifier,g and N are BIGNUMs). If *salt != NULL
708 * then the provided salt will be used. On successful exit *verifier will point
709 * to a newly allocated BIGNUM containing the verifier and (if a salt was not
710 * provided) *salt will be populated with a newly allocated BIGNUM containing a
711 * random salt.
712 * The caller is responsible for freeing the allocated *salt and *verifier
715 int SRP_create_verifier_BN_ex(const char *user, const char *pass, BIGNUM **salt,
728 (salt == NULL) ||
732 if (*salt == NULL) {
740 salttmp = *salt;
757 *salt = salttmp;
761 if (salt != NULL && *salt != salttmp)
768 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt,
772 return SRP_create_verifier_BN_ex(user, pass, salt, verifier, N, g, NULL,