Lines Matching refs:user
519 SRP_user_pwd *user; in find_user() local
525 user = sk_SRP_user_pwd_value(vb->users_pwd, i); in find_user()
526 if (strcmp(user->id, username) == 0) in find_user()
527 return user; in find_user()
559 SRP_user_pwd *user; in SRP_VBASE_get1_by_user() local
568 if ((user = find_user(vb, username)) != NULL) in SRP_VBASE_get1_by_user()
569 return srp_user_pwd_dup(user); in SRP_VBASE_get1_by_user()
577 if ((user = SRP_user_pwd_new()) == NULL) in SRP_VBASE_get1_by_user()
580 SRP_user_pwd_set_gN(user, vb->default_g, vb->default_N); in SRP_VBASE_get1_by_user()
582 if (!SRP_user_pwd_set1_ids(user, username, NULL)) in SRP_VBASE_get1_by_user()
601 if (SRP_user_pwd_set0_sv(user, in SRP_VBASE_get1_by_user()
604 return user; in SRP_VBASE_get1_by_user()
609 SRP_user_pwd_free(user); in SRP_VBASE_get1_by_user()
616 char *SRP_create_verifier_ex(const char *user, const char *pass, char **salt, in SRP_create_verifier_ex() argument
629 if ((user == NULL) || in SRP_create_verifier_ex()
669 if (!SRP_create_verifier_BN_ex(user, pass, &s, &v, N_bn, g_bn, libctx, in SRP_create_verifier_ex()
707 char *SRP_create_verifier(const char *user, const char *pass, char **salt, in SRP_create_verifier() argument
710 return SRP_create_verifier_ex(user, pass, salt, verifier, N, g, NULL, NULL); in SRP_create_verifier()
722 int SRP_create_verifier_BN_ex(const char *user, const char *pass, BIGNUM **salt, in SRP_create_verifier_BN_ex() argument
733 if ((user == NULL) || in SRP_create_verifier_BN_ex()
750 x = SRP_Calc_x_ex(salttmp, user, pass, libctx, propq); in SRP_create_verifier_BN_ex()
775 int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, in SRP_create_verifier_BN() argument
779 return SRP_create_verifier_BN_ex(user, pass, salt, verifier, N, g, NULL, in SRP_create_verifier_BN()