Lines Matching refs:user_pwd
179 void SRP_user_pwd_free(SRP_user_pwd *user_pwd) in SRP_user_pwd_free() argument
181 if (user_pwd == NULL) in SRP_user_pwd_free()
183 BN_free(user_pwd->s); in SRP_user_pwd_free()
184 BN_clear_free(user_pwd->v); in SRP_user_pwd_free()
185 OPENSSL_free(user_pwd->id); in SRP_user_pwd_free()
186 OPENSSL_free(user_pwd->info); in SRP_user_pwd_free()
187 OPENSSL_free(user_pwd); in SRP_user_pwd_free()
404 SRP_user_pwd *user_pwd = NULL; in SRP_VBASE_init() local
461 if ((user_pwd = SRP_user_pwd_new()) == NULL) in SRP_VBASE_init()
464 SRP_user_pwd_set_gN(user_pwd, lgN->g, lgN->N); in SRP_VBASE_init()
466 (user_pwd, pp[DB_srpid], pp[DB_srpinfo])) in SRP_VBASE_init()
471 (user_pwd, pp[DB_srpsalt], pp[DB_srpverifier])) in SRP_VBASE_init()
474 if (sk_SRP_user_pwd_insert(vb->users_pwd, user_pwd, 0) == 0) in SRP_VBASE_init()
476 user_pwd = NULL; /* abandon responsibility */ in SRP_VBASE_init()
505 SRP_user_pwd_free(user_pwd); in SRP_VBASE_init()
533 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd) in SRP_VBASE_add0_user() argument
535 if (sk_SRP_user_pwd_push(vb->users_pwd, user_pwd) <= 0) in SRP_VBASE_add0_user()