Class implementing the Rijndael cipher. (For internal use only)
More...
#include <pdfrijndael.h>
|
| enum | Direction { Encrypt
, Decrypt
} |
| |
| enum | Mode { ECB
, CBC
, CFB1
} |
| |
| enum | KeyLength { Key16Bytes
, Key24Bytes
, Key32Bytes
} |
| |
|
|
int | init (Mode mode, Direction dir, const UINT8 *key, KeyLength keyLen, UINT8 *initVector=0) |
| |
|
int | blockEncrypt (const UINT8 *input, int inputLen, UINT8 *outBuffer) |
| |
|
int | padEncrypt (const UINT8 *input, int inputOctets, UINT8 *outBuffer) |
| |
|
int | blockDecrypt (const UINT8 *input, int inputLen, UINT8 *outBuffer) |
| |
|
int | padDecrypt (const UINT8 *input, int inputOctets, UINT8 *outBuffer) |
| |
|
| enum | State { Valid
, Invalid
} |
| |
|
|
void | keySched (UINT8 key[_MAX_KEY_COLUMNS][4]) |
| |
|
void | keyEncToDec () |
| |
|
void | encrypt (const UINT8 a[16], UINT8 b[16]) |
| |
|
void | decrypt (const UINT8 a[16], UINT8 b[16]) |
| |
|
|
State | m_state |
| |
|
Mode | m_mode |
| |
|
Direction | m_direction |
| |
|
UINT8 | m_initVector [MAX_IV_SIZE] |
| |
|
UINT32 | m_uRounds |
| |
|
UINT8 | m_expandedKey [_MAX_ROUNDS+1][4][4] |
| |
Class implementing the Rijndael cipher. (For internal use only)
The documentation for this class was generated from the following files: