Home
last modified time | relevance | path

Searched refs:key_len (Results 1 – 9 of 9) sorted by relevance

/curl/lib/
H A Dhash.c48 e->dtor(e->key, e->key_len, e->ptr); in hash_element_dtor()
54 e->key_len = 0; in hash_element_dtor()
95 key_len); in mk_hash_element()
98 memcpy(he->key, key, key_len); in mk_hash_element()
99 he->key_len = key_len; in mk_hash_element()
127 l = FETCH_LIST(h, key, key_len); in Curl_hash_add2()
131 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_add2()
138 he = mk_hash_element(key, key_len, p, dtor); in Curl_hash_add2()
178 if(h->comp_func(he->key, he->key_len, key, key_len)) { in Curl_hash_delete()
201 l = FETCH_LIST(h, key, key_len); in Curl_hash_pick()
[all …]
H A Dhash.h64 typedef void (*Curl_hash_elem_dtor)(void *key, size_t key_len, void *p);
70 size_t key_len; member
92 void *Curl_hash_add(struct Curl_hash *h, void *key, size_t key_len, void *p);
93 void *Curl_hash_add2(struct Curl_hash *h, void *key, size_t key_len, void *p,
95 int Curl_hash_delete(struct Curl_hash *h, void *key, size_t key_len);
96 void *Curl_hash_pick(struct Curl_hash *, void *key, size_t key_len);
H A Dhttp_aws_sigv4.c342 size_t key_len; in parse_content_sha_hdr() local
346 key_len = msnprintf(key, sizeof(key), "x-%s-content-sha256", provider1); in parse_content_sha_hdr()
348 value = Curl_checkheaders(data, key, key_len); in parse_content_sha_hdr()
/curl/tests/unit/
H A Dunit1305.c116 size_t key_len; variable
122 key_len = strlen(data_key);
125 nodep = Curl_hash_add(&hp, data_key, key_len + 1, data_node);
H A Dunit1603.c43 static void my_elem_dtor(void *key, size_t key_len, void *p) in my_elem_dtor() argument
47 (void)key_len; /* unused */ in my_elem_dtor()
/curl/lib/vtls/
H A Dwolfssl.c608 static void wssl_x509_share_free(void *key, size_t key_len, void *p) in wssl_x509_share_free() argument
611 DEBUGASSERT(key_len == (sizeof(MPROTO_WSSL_X509_KEY)-1)); in wssl_x509_share_free()
612 DEBUGASSERT(!memcmp(MPROTO_WSSL_X509_KEY, key, key_len)); in wssl_x509_share_free()
614 (void)key_len; in wssl_x509_share_free()
H A Dgtls.c627 static void gtls_shared_creds_hash_free(void *key, size_t key_len, void *p) in gtls_shared_creds_hash_free() argument
630 DEBUGASSERT(key_len == (sizeof(MPROTO_GTLS_X509_KEY)-1)); in gtls_shared_creds_hash_free()
631 DEBUGASSERT(!memcmp(MPROTO_GTLS_X509_KEY, key, key_len)); in gtls_shared_creds_hash_free()
633 (void)key_len; in gtls_shared_creds_hash_free()
H A Dschannel.c2705 static void schannel_cert_share_free(void *key, size_t key_len, void *p) in schannel_cert_share_free() argument
2708 DEBUGASSERT(key_len == (sizeof(MPROTO_SCHANNEL_CERT_SHARE_KEY)-1)); in schannel_cert_share_free()
2709 DEBUGASSERT(!memcmp(MPROTO_SCHANNEL_CERT_SHARE_KEY, key, key_len)); in schannel_cert_share_free()
2711 (void)key_len; in schannel_cert_share_free()
H A Dopenssl.c3318 static void oss_x509_share_free(void *key, size_t key_len, void *p) in oss_x509_share_free() argument
3321 DEBUGASSERT(key_len == (sizeof(MPROTO_OSSL_X509_KEY)-1)); in oss_x509_share_free()
3322 DEBUGASSERT(!memcmp(MPROTO_OSSL_X509_KEY, key, key_len)); in oss_x509_share_free()
3324 (void)key_len; in oss_x509_share_free()

Completed in 35 milliseconds