Searched refs:pubkeylen (Results 1 – 4 of 4) sorted by relevance
/external/curl/lib/vtls/ |
D | vtls.c | 807 const unsigned char *pubkey, size_t pubkeylen) in Curl_pin_peer_pubkey() argument 823 if(!pubkey || !pubkeylen) in Curl_pin_peer_pubkey() 837 encode = Curl_ssl->sha256sum(pubkey, pubkeylen, in Curl_pin_peer_pubkey() 912 if(pubkeylen > size) in Curl_pin_peer_pubkey() 928 if(pubkeylen == size) { in Curl_pin_peer_pubkey() 929 if(!memcmp(pubkey, buf, pubkeylen)) in Curl_pin_peer_pubkey() 948 if(pubkeylen == pem_len && !memcmp(pubkey, pem_ptr, pubkeylen)) in Curl_pin_peer_pubkey()
|
D | sectransp.c | 2242 size_t pubkeylen, realpubkeylen, spkiHeaderLength = 24; local 2286 pubkeylen = CFDataGetLength(publicKeyBits); 2289 switch(pubkeylen) { 2310 infof(data, "SSL: unhandled public key length: %d\n", pubkeylen); 2318 pubkeylen); 2323 realpubkeylen = pubkeylen + spkiHeaderLength; 2329 memcpy(realpubkey + spkiHeaderLength, pubkey, pubkeylen);
|
D | vtls.h | 243 const unsigned char *pubkey, size_t pubkeylen);
|
/external/openssh/ |
D | sshkey.c | 3045 size_t i, pubkeylen, keylen, ivlen, blocksize, authlen; in sshkey_private_to_blob2() local 3107 (r = sshkey_to_blob(prv, &pubkeyblob, &pubkeylen)) != 0 || in sshkey_private_to_blob2() 3108 (r = sshbuf_put_string(encoded, pubkeyblob, pubkeylen)) != 0) in sshkey_private_to_blob2() 3178 explicit_bzero(pubkeyblob, pubkeylen); in sshkey_private_to_blob2()
|