mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Document a requirement for cells to be encrypted.
This commit is contained in:
parent
7db4d0c55f
commit
a9fa483004
@ -170,6 +170,9 @@ relay_decrypt_cell(circuit_t *circ, cell_t *cell,
|
|||||||
/**
|
/**
|
||||||
* Encrypt a cell <b>cell</b> that we are creating, and sending outbound on
|
* Encrypt a cell <b>cell</b> that we are creating, and sending outbound on
|
||||||
* <b>circ</b> until the hop corresponding to <b>layer_hint</b>.
|
* <b>circ</b> until the hop corresponding to <b>layer_hint</b>.
|
||||||
|
*
|
||||||
|
* The integrity field and recognized field of <b>cell</b>'s relay headers
|
||||||
|
* must be set to zero.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
relay_encrypt_cell_outbound(cell_t *cell,
|
relay_encrypt_cell_outbound(cell_t *cell,
|
||||||
@ -193,6 +196,9 @@ relay_encrypt_cell_outbound(cell_t *cell,
|
|||||||
/**
|
/**
|
||||||
* Encrypt a cell <b>cell</b> that we are creating, and sending on
|
* Encrypt a cell <b>cell</b> that we are creating, and sending on
|
||||||
* <b>circuit</b> to the origin.
|
* <b>circuit</b> to the origin.
|
||||||
|
*
|
||||||
|
* The integrity field and recognized field of <b>cell</b>'s relay headers
|
||||||
|
* must be set to zero.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
relay_encrypt_cell_inbound(cell_t *cell,
|
relay_encrypt_cell_inbound(cell_t *cell,
|
||||||
|
Loading…
Reference in New Issue
Block a user