Home
last modified time | relevance | path

Searched refs:pubkeylen (Results 1 – 3 of 3) sorted by relevance

/curl/lib/vtls/
H A Dvtls.h183 const unsigned char *pubkey, size_t pubkeylen);
H A Dvtls.c1029 const unsigned char *pubkey, size_t pubkeylen) in Curl_pin_peer_pubkey() argument
1039 if(!pubkey || !pubkeylen) in Curl_pin_peer_pubkey()
1058 encode = Curl_ssl->sha256sum(pubkey, pubkeylen, in Curl_pin_peer_pubkey()
1135 if(pubkeylen > size) in Curl_pin_peer_pubkey()
1153 if(pubkeylen == size) { in Curl_pin_peer_pubkey()
1154 if(!memcmp(pubkey, Curl_dyn_ptr(&buf), pubkeylen)) in Curl_pin_peer_pubkey()
1172 if(pubkeylen == pem_len && !memcmp(pubkey, pem_ptr, pubkeylen)) in Curl_pin_peer_pubkey()
H A Dsectransp.c1689 size_t pubkeylen, realpubkeylen, spkiHeaderLength = 24; local
1739 pubkeylen = (size_t)CFDataGetLength(publicKeyBits);
1742 switch(pubkeylen) {
1763 infof(data, "SSL: unhandled public key length: %zu", pubkeylen);
1771 pubkeylen);
1776 realpubkeylen = pubkeylen + spkiHeaderLength;
1782 memcpy(realpubkey + spkiHeaderLength, pubkey, pubkeylen);

Completed in 40 milliseconds