Lines Matching refs:vinfo
207 static void SRP_user_pwd_set_gN(SRP_user_pwd *vinfo, const BIGNUM *g, in SRP_user_pwd_set_gN() argument
210 vinfo->N = N; in SRP_user_pwd_set_gN()
211 vinfo->g = g; in SRP_user_pwd_set_gN()
214 static int SRP_user_pwd_set_ids(SRP_user_pwd *vinfo, const char *id, in SRP_user_pwd_set_ids() argument
217 if (id != NULL && NULL == (vinfo->id = BUF_strdup(id))) in SRP_user_pwd_set_ids()
219 return (info == NULL || NULL != (vinfo->info = BUF_strdup(info))) ; in SRP_user_pwd_set_ids()
222 static int SRP_user_pwd_set_sv(SRP_user_pwd *vinfo, const char *s, in SRP_user_pwd_set_sv() argument
231 if (NULL == (vinfo->v = BN_bin2bn(tmp, len, NULL)) ) in SRP_user_pwd_set_sv()
234 return ((vinfo->s = BN_bin2bn(tmp, len, NULL)) != NULL) ; in SRP_user_pwd_set_sv()
237 static int SRP_user_pwd_set_sv_BN(SRP_user_pwd *vinfo, BIGNUM *s, BIGNUM *v) in SRP_user_pwd_set_sv_BN() argument
239 vinfo->v = v; in SRP_user_pwd_set_sv_BN()
240 vinfo->s = s; in SRP_user_pwd_set_sv_BN()
241 return (vinfo->s != NULL && vinfo->v != NULL) ; in SRP_user_pwd_set_sv_BN()