rijndael-alg.h File Reference

#include "word_i386.h"

Include dependency graph for rijndael-alg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAXKC   (256/32)
#define MAXROUNDS   14

Functions

int rijndael_KeySched (word8 k[MAXKC][4], word8 rk[MAXROUNDS+1][4][4], int ROUNDS)
int rijndael_KeyEncToDec (word8 W[MAXROUNDS+1][4][4], int ROUNDS)
int rijndael_Encrypt (const void *a, void *b, word8 rk[MAXROUNDS+1][4][4], int ROUNDS)
int rijndael_Decrypt (const void *a, void *b, word8 rk[MAXROUNDS+1][4][4], int ROUNDS)


Define Documentation

#define MAXKC   (256/32)
 

Definition at line 10 of file rijndael-alg.h.

Referenced by rijndael_makekey().

#define MAXROUNDS   14
 

Definition at line 11 of file rijndael-alg.h.


Function Documentation

int rijndael_Decrypt const void *  va,
void *  vb,
word8  rk[MAXROUNDS+1][4][4],
int  ROUNDS
 

Decrypt a single block.

Definition at line 272 of file rijndael_alg.c.

References b.

Referenced by rijndael_cbc_decrypt(), and rijndael_ecb_decrypt().

int rijndael_Encrypt const void *  va,
void *  vb,
word8  rk[MAXROUNDS+1][4][4],
int  ROUNDS
 

Encrypt a single block.

Definition at line 122 of file rijndael_alg.c.

References a, b, and r.

Referenced by rijndael_cbc_encrypt(), rijndael_cfb1_decrypt(), rijndael_cfb1_encrypt(), rijndael_cfb8_decrypt(), rijndael_cfb8_encrypt(), and rijndael_ecb_encrypt().

int rijndael_KeyEncToDec word8  W[MAXROUNDS+1][4][4],
int  ROUNDS
 

Definition at line 83 of file rijndael_alg.c.

References r, and W.

int rijndael_KeySched word8  k[MAXKC][4],
word8  rk[MAXROUNDS+1][4][4],
int  ROUNDS
 

Definition at line 21 of file rijndael_alg.c.

References j, k, r, and t.


Generated on Fri Apr 14 23:09:13 2006 for minix by  doxygen 1.4.6