| CS318 - Pintos
    Pintos source browser for JHU CS318 course | 
 
 
 
Go to the documentation of this file.
   17   memset (stack_obj, 0, 
sizeof stack_obj);
 
   19   msg (
"cksum: %lu", 
cksum (stack_obj, 
sizeof stack_obj));
 
  
void test_main(void)
Demonstrate that the stack can grow.
Alleged RC4 algorithm encryption state.
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
unsigned long cksum(const void *b_, size_t n)
This is the algorithm used by the Posix ‘cksum’ utility.
void msg(const char *format,...)
void * memset(void *dst_, int value, size_t size)
Sets the SIZE bytes in DST to VALUE.