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:
Nick Mathewson
2005-12-08 17:38:32 +00:00
parent 25303172b8
commit e9b66ec906
6 changed files with 104 additions and 47 deletions
+2
View File
@@ -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);