keyInstance Struct Reference

#include <thig_aes.h>


Detailed Description

The structure for key information.

Definition at line 90 of file thig_aes.h.

Data Fields

BYTE direction
 Key used for encrypting or decrypting?
BYTE dummyAlign [3]
 keep 32-bit alignment
int keyLen
 Length of the key.
char keyMaterial [MAX_KEY_SIZE+4]
 Raw key data in ASCII.
DWORD keySig
 Twofish-specific parameters: set to VALID_SIG by makeKey().
int numRounds
 number of rounds in cipher
DWORD key32 [MAX_KEY_BITS/32]
 actual key bits, in dwords
DWORD sboxKeys [MAX_KEY_BITS/64]
 key bits used for S-boxes
DWORD subKeys [TOTAL_SUBKEYS]
 round subkeys, input/output whitening bits
fullSbox sBox8x32
 fully expanded S-box


Field Documentation

BYTE keyInstance::direction

Key used for encrypting or decrypting?

Definition at line 92 of file thig_aes.h.

BYTE keyInstance::dummyAlign[3]

keep 32-bit alignment

Definition at line 94 of file thig_aes.h.

int keyInstance::keyLen

Length of the key.

Definition at line 96 of file thig_aes.h.

Referenced by reKey().

char keyInstance::keyMaterial[MAX_KEY_SIZE+4]

Raw key data in ASCII.

Definition at line 97 of file thig_aes.h.

DWORD keyInstance::keySig

Twofish-specific parameters: set to VALID_SIG by makeKey().

Definition at line 100 of file thig_aes.h.

Referenced by blockDecrypt(), blockEncrypt(), and makeKey().

int keyInstance::numRounds

number of rounds in cipher

Definition at line 101 of file thig_aes.h.

Referenced by blockDecrypt(), blockEncrypt(), and reKey().

DWORD keyInstance::key32[MAX_KEY_BITS/32]

actual key bits, in dwords

Definition at line 102 of file thig_aes.h.

DWORD keyInstance::sboxKeys[MAX_KEY_BITS/64]

key bits used for S-boxes

Definition at line 103 of file thig_aes.h.

DWORD keyInstance::subKeys[TOTAL_SUBKEYS]

round subkeys, input/output whitening bits

Definition at line 104 of file thig_aes.h.

fullSbox keyInstance::sBox8x32

fully expanded S-box

Definition at line 106 of file thig_aes.h.


The documentation for this struct was generated from the following file:
Generated on Sat Sep 6 04:17:56 2008 for Open IMS Core CSCFs by  doxygen 1.5.2