Searched refs:user_pwd (Results 1 – 6 of 6) sorted by relevance
/openssl/doc/man3/ |
H A D | SRP_user_pwd_new.pod | 21 void SRP_user_pwd_free(SRP_user_pwd *user_pwd); 23 int SRP_user_pwd_set1_ids(SRP_user_pwd *user_pwd, const char *id, const char *info); 24 void SRP_user_pwd_set_gN(SRP_user_pwd *user_pwd, const BIGNUM *g, const BIGNUM *N); 25 int SRP_user_pwd_set0_sv(SRP_user_pwd *user_pwd, BIGNUM *s, BIGNUM *v); 35 The SRP_user_pwd_free() function frees up the B<user_pwd> structure. 36 If B<user_pwd> is NULL, nothing is done. 39 user info to B<info> for B<user_pwd>. 44 to B<v> for B<user_pwd>. 47 The SRP_user_pwd_set_gN() function sets the SRP group parameters for B<user_pwd>.
|
H A D | SSL_CTX_set_srp_password.pod | 174 SRP_user_pwd *user_pwd = SRP_VBASE_get1_by_user(srpData, username); 175 if (!user_pwd) 179 if (SSL_set_srp_server_param(s, user_pwd->N, user_pwd->g, 180 user_pwd->s, user_pwd->v, user_pwd->info) < 0) 183 SRP_user_pwd_free(user_pwd);
|
H A D | SRP_VBASE_new.pod | 26 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd); 55 The SRP_VBASE_add0_user() function adds the B<user_pwd> verifier information 58 The library takes ownership of B<user_pwd>, it should not be freed by the caller.
|
/openssl/crypto/srp/ |
H A D | srp_vfy.c | 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() 505 SRP_user_pwd_free(user_pwd); in SRP_VBASE_init() [all …]
|
/openssl/include/openssl/ |
H A D | srp.h.in | 71 void SRP_user_pwd_free(SRP_user_pwd *user_pwd); 74 void SRP_user_pwd_set_gN(SRP_user_pwd *user_pwd, const BIGNUM *g, 77 int SRP_user_pwd_set1_ids(SRP_user_pwd *user_pwd, const char *id, 80 int SRP_user_pwd_set0_sv(SRP_user_pwd *user_pwd, BIGNUM *s, BIGNUM *v); 112 int SRP_VBASE_add0_user(SRP_VBASE *vb, SRP_user_pwd *user_pwd);
|
/openssl/test/ |
H A D | sslapitest.c | 7530 SRP_user_pwd *user_pwd = NULL; in create_new_vbase() local 7541 user_pwd = OPENSSL_zalloc(sizeof(*user_pwd)); in create_new_vbase() 7542 if (!TEST_ptr(user_pwd)) in create_new_vbase() 7545 user_pwd->N = lgN->N; in create_new_vbase() 7546 user_pwd->g = lgN->g; in create_new_vbase() 7547 user_pwd->id = OPENSSL_strdup(userid); in create_new_vbase() 7548 if (!TEST_ptr(user_pwd->id)) in create_new_vbase() 7551 user_pwd->v = verifier; in create_new_vbase() 7552 user_pwd->s = salt; in create_new_vbase() 7557 user_pwd = NULL; in create_new_vbase() [all …]
|
Completed in 38 milliseconds