Searched refs:SIZE_IPPORT (Results 1 – 4 of 4) sorted by relevance
175 VLA(uint8_t, step1, SIZE_IPPORT + length); in create_onion_packet()359 uint8_t ip_port[SIZE_IPPORT]; in onion_send_1()365 memcpy(data + 1 + CRYPTO_NONCE_SIZE, plain + SIZE_IPPORT, len - SIZE_IPPORT); in onion_send_1()419 memcpy(data + 1 + CRYPTO_NONCE_SIZE, plain + SIZE_IPPORT, len - SIZE_IPPORT); in handle_send_1()467 if (len <= SIZE_IPPORT) { in handle_send_2()483 memcpy(data, plain + SIZE_IPPORT, len - SIZE_IPPORT); in handle_send_2()484 uint16_t data_len = (len - SIZE_IPPORT); in handle_send_2()526 uint8_t plain[SIZE_IPPORT + RETURN_2]; in handle_recv_3()572 uint8_t plain[SIZE_IPPORT + RETURN_1]; in handle_recv_2()618 uint8_t plain[SIZE_IPPORT]; in handle_recv_1()[all …]
34 #define ONION_RETURN_1 (CRYPTO_NONCE_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE)35 #define ONION_RETURN_2 (CRYPTO_NONCE_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE + ONION_RETURN_1)36 #define ONION_RETURN_3 (CRYPTO_NONCE_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE + ONION_RETURN_2)38 #define ONION_SEND_BASE (CRYPTO_PUBLIC_KEY_SIZE + SIZE_IPPORT + CRYPTO_MAC_SIZE)
199 #define SIZE_IPPORT (SIZE_IP + SIZE_PORT) macro
768 #define PACKED_NODES_SIZE (SIZE_IPPORT + CRYPTO_PUBLIC_KEY_SIZE)