pintos/src/tests/arc4.h File Reference

#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  arc4

Functions

void arc4_init (struct arc4 *, const void *, size_t)
void arc4_crypt (struct arc4 *, void *, size_t)


Function Documentation

void arc4_crypt ( struct arc4 ,
void *  ,
size_t   
)

Definition at line 36 of file arc4.c.

References buf, arc4::i, arc4::j, arc4::s, s, and swap_byte().

Referenced by init(), main(), and test_main().

void arc4_init ( struct arc4 ,
const void *  ,
size_t   
)

Definition at line 15 of file arc4.c.

References arc4::i, arc4::j, arc4::s, s, and swap_byte().

Referenced by init(), main(), and test_main().


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6