mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Document CREATE_FAST better in the code. Move our key expansion algorithm into a separate function in crypto.c
svn:r5530
This commit is contained in:
@@ -211,6 +211,8 @@ command_process_create_cell(cell_t *cell, connection_t *conn)
|
||||
}
|
||||
debug(LD_OR,"success: handed off onionskin.");
|
||||
} else {
|
||||
/* This is a CREATE_FAST cell; we can handle it immediately without using
|
||||
* a CPU worker.*/
|
||||
char keys[CPATH_KEY_MATERIAL_LEN];
|
||||
char reply[DIGEST_LEN*2];
|
||||
tor_assert(cell->command == CELL_CREATE_FAST);
|
||||
|
||||
Reference in New Issue
Block a user