Home | History | Annotate | Download | only in srp

Lines Matching refs:vinfo

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