ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Fields
Twofish_key Struct Reference

Structure that contains a prepared Twofish key. More...

#include <twofish.h>

Collaboration diagram for Twofish_key:
Collaboration graph

Data Fields

Twofish_UInt32 s [4][256]
Twofish_UInt32 K [40]

Detailed Description

Structure that contains a prepared Twofish key.

A cipher key is used in two stages. In the first stage it is converted form the original form to an internal representation. This internal form is then used to encrypt and decrypt data. This structure contains the internal form. It is rather large: 4256 bytes on a platform with 32-bit unsigned values.

Treat this as an opague structure, and don't try to manipulate the elements in it. I wish I could hide the inside of the structure, but C doesn't allow that.

Definition at line 95 of file twofish.h.

Field Documentation

Twofish_UInt32 Twofish_key::K[40]

Definition at line 99 of file twofish.h.

Twofish_UInt32 Twofish_key::s[4][256]

Definition at line 98 of file twofish.h.

The documentation for this struct was generated from the following file: