Searched refs:authtoken (Results 1 – 4 of 4) sorted by relevance
/external/iperf3/src/ |
D | iperf_auth.h | 38 …e_auth_setting(const char *username, const char *password, EVP_PKEY *public_key, char **authtoken); 39 int decode_auth_setting(int enable_debug, const char *authtoken, EVP_PKEY *private_key, char **user…
|
D | iperf_auth.c | 281 …e_auth_setting(const char *username, const char *password, EVP_PKEY *public_key, char **authtoken){ in encode_auth_setting() argument 303 Base64Encode(encrypted, encrypted_len, authtoken); in encode_auth_setting() 309 int decode_auth_setting(int enable_debug, const char *authtoken, EVP_PKEY *private_key, char **user… in decode_auth_setting() argument 312 Base64Decode(authtoken, &encrypted_b64, &encrypted_len_b64); in decode_auth_setting()
|
D | iperf.h | 156 char *authtoken; /* Authentication token */ member
|
D | iperf_api.c | 1718 if (test->settings->authtoken){ in test_is_authorized() 1721 …int rc = decode_auth_setting(test->debug, test->settings->authtoken, test->server_rsa_private_key,… in test_is_authorized() 1898 …e, test->settings->client_password, test->settings->client_rsa_pubkey, &test->settings->authtoken); in send_parameters() 1906 cJSON_AddStringToObject(j, "authtoken", test->settings->authtoken); in send_parameters() 2005 test->settings->authtoken = strdup(j_p->valuestring); in get_parameters() 2621 free(test->settings->authtoken); in iperf_free_test() 2622 test->settings->authtoken = NULL; in iperf_free_test() 2798 if (test->settings->authtoken) { in iperf_reset_test() 2799 free(test->settings->authtoken); in iperf_reset_test() 2800 test->settings->authtoken = NULL; in iperf_reset_test()
|