Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
rijndael.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AESContextStr

Defines

#define RIJNDAEL_MIN_BLOCKSIZE   16 /* bytes */
#define RIJNDAEL_MAX_BLOCKSIZE   32 /* bytes */
#define RIJNDAEL_NUM_ROUNDS(Nk, Nb)   (PR_MAX(Nk, Nb) + 6)
#define RIJNDAEL_MAX_STATE_SIZE   32
#define RIJNDAEL_MAX_EXP_KEY_SIZE   (8 * 15)

Typedefs

typedef SECStatus AESFunc (AESContext *cx, unsigned char *output, unsigned int *outputLen, unsigned int maxOutputLen, const unsigned char *input, unsigned int inputLen, unsigned int blocksize)
typedef SECStatus AESBlockFunc (AESContext *cx, unsigned char *output, const unsigned char *input)

Class Documentation

struct AESContextStr

Definition at line 86 of file rijndael.h.

Class Members
PRUint32 expandedKey
unsigned char iv
unsigned int Nb
unsigned int Nr
AESFunc * worker

Define Documentation

Definition at line 42 of file rijndael.h.

Definition at line 74 of file rijndael.h.

Definition at line 67 of file rijndael.h.

Definition at line 41 of file rijndael.h.

#define RIJNDAEL_NUM_ROUNDS (   Nk,
  Nb 
)    (PR_MAX(Nk, Nb) + 6)

Definition at line 59 of file rijndael.h.


Typedef Documentation

typedef SECStatus AESBlockFunc(AESContext *cx, unsigned char *output, const unsigned char *input)

Definition at line 49 of file rijndael.h.

typedef SECStatus AESFunc(AESContext *cx, unsigned char *output, unsigned int *outputLen, unsigned int maxOutputLen, const unsigned char *input, unsigned int inputLen, unsigned int blocksize)

Definition at line 44 of file rijndael.h.