Home
last modified time | relevance | path

Searched refs:Curl_rand (Results 1 - 10 of 10) sorted by relevance

/third_party/curl/lib/
H A Drand.c185 * Curl_rand() stores 'num' number of random unsigned characters in the buffer
200 CURLcode Curl_rand(struct Curl_easy *data, unsigned char *rnd, size_t num) in Curl_rand() function
252 result = Curl_rand(data, buffer, num/2); in Curl_rand_hex()
H A Drand.h27 CURLcode Curl_rand(struct Curl_easy *data, unsigned char *rnd, size_t num);
45 /* Random generator shared between the Schannel vtls and Curl_rand*()
H A Dsocketpair.c133 if(Curl_rand(NULL, (unsigned char *)rnd, sizeof(rnd))) in Curl_socketpair()
H A Dws.c713 result = Curl_rand(data, (unsigned char *)rand, sizeof(rand)); in Curl_ws_request()
794 result = Curl_rand(data, (unsigned char *)&ws->enc.mask, in Curl_ws_accept()
H A Dhostip.c433 if(Curl_rand(data, (unsigned char *)rnd, rnd_size) == CURLE_OK) { in Curl_shuffle_addr()
H A Dcf-socket.c1290 Curl_rand(data, &c, 1); in cf_socket_send()
1368 Curl_rand(data, &c, 1); in cf_socket_recv()
/third_party/curl/lib/vquic/
H A Dcurl_ngtcp2.c597 result = Curl_rand(NULL, dest, destlen); in cb_rand()
599 /* cb_rand is only used for non-cryptographic context. If Curl_rand in cb_rand()
613 result = Curl_rand(NULL, cid->data, cidlen); in cb_get_new_connection_id()
618 result = Curl_rand(NULL, token, NGTCP2_STATELESS_RESET_TOKENLEN); in cb_get_new_connection_id()
2056 result = Curl_rand(data, ctx->dcid.data, NGTCP2_MAX_CIDLEN); in cf_connect_start()
2061 result = Curl_rand(data, ctx->scid.data, NGTCP2_MAX_CIDLEN); in cf_connect_start()
H A Dvquic.c259 Curl_rand(data, &c, 1); in vquic_send_packets()
H A Dcurl_quiche.c1242 result = Curl_rand(data, ctx->scid, sizeof(ctx->scid)); in cf_connect_start()
/third_party/curl/lib/vauth/
H A Dntlm.c543 result = Curl_rand(data, entropy, 8); in Curl_auth_create_ntlm_type3_message()

Completed in 14 milliseconds