PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
Go to the source code of this file.
Functions | |
static void | swap_byte (uint8_t *a, uint8_t *b) |
Swap bytes. More... | |
void | arc4_init (struct arc4 *arc4, const void *key_, size_t size) |
void | arc4_crypt (struct arc4 *arc4, void *buf_, size_t size) |
tests/arc4.h More... | |
Definition at line 14 of file arc4.c.
References arc4::i, arc4::j, s, arc4::s, and swap_byte().
Referenced by init(), main(), and test_main().
Swap bytes.
Definition at line 6 of file arc4.c.
Referenced by arc4_crypt(), and arc4_init().