Lines Matching refs:PEER_ID_LEN
233 memcpy( walk, peer_id, PEER_ID_LEN );
234 walk += PEER_ID_LEN;
259 uint8_t peer_id[PEER_ID_LEN];
292 dbgmsg( handshake, "peer-id is [%*.*s]", PEER_ID_LEN, PEER_ID_LEN, peer_id );
296 if( !memcmp( peer_id, tor_peer_id, PEER_ID_LEN ) )
716 uint8_t peer_id[PEER_ID_LEN];
718 if( evbuffer_get_length( inbuf ) < PEER_ID_LEN )
722 tr_peerIoReadBytes( handshake->io, inbuf, peer_id, PEER_ID_LEN );
732 peerIsGood = memcmp( peer_id, tor_peer_id, PEER_ID_LEN ) != 0;