Searched refs:user_pwd (Results 1 – 4 of 4) sorted by relevance
176 void SRP_user_pwd_free(SRP_user_pwd *user_pwd) in SRP_user_pwd_free() argument178 if (user_pwd == NULL) in SRP_user_pwd_free()180 BN_free(user_pwd->s); in SRP_user_pwd_free()181 BN_clear_free(user_pwd->v); in SRP_user_pwd_free()182 OPENSSL_free(user_pwd->id); in SRP_user_pwd_free()183 OPENSSL_free(user_pwd->info); in SRP_user_pwd_free()184 OPENSSL_free(user_pwd); in SRP_user_pwd_free()391 SRP_user_pwd *user_pwd = NULL; in SRP_VBASE_init() local440 if ((user_pwd = SRP_user_pwd_new()) == NULL) in SRP_VBASE_init()443 SRP_user_pwd_set_gN(user_pwd, lgN->g, lgN->N); in SRP_VBASE_init()[all …]
153 const char *user_pwd; /* password to use for authentication */ member421 opt.user_pwd = DFL_USER_PWD; in main()461 opt.user_pwd = q; in main()755 mbedtls_printf( " > Write password to server: %s", opt.user_pwd ); in main()758 ret = mbedtls_base64_encode( base, sizeof( base ), &n, (const unsigned char *) opt.user_pwd, in main()759 strlen( opt.user_pwd ) ); in main()
50 void SRP_user_pwd_free(SRP_user_pwd *user_pwd);
5107 SRP_user_pwd *user_pwd = NULL; in create_new_vbase() local5118 user_pwd = OPENSSL_zalloc(sizeof(*user_pwd)); in create_new_vbase()5119 if (!TEST_ptr(user_pwd)) in create_new_vbase()5122 user_pwd->N = lgN->N; in create_new_vbase()5123 user_pwd->g = lgN->g; in create_new_vbase()5124 user_pwd->id = OPENSSL_strdup(userid); in create_new_vbase()5125 if (!TEST_ptr(user_pwd->id)) in create_new_vbase()5128 user_pwd->v = verifier; in create_new_vbase()5129 user_pwd->s = salt; in create_new_vbase()5132 if (sk_SRP_user_pwd_insert(vbase->users_pwd, user_pwd, 0) == 0) in create_new_vbase()[all …]