Main Page | Data Structures | File List | Data Fields | Globals

axis_des_key Struct Reference

#include <des_io.h>

Collaboration diagram for axis_des_key:

Collaboration graph
[legend]

Detailed Description

Struct tracks a key and its properties.

Each open instance of the crypto device has a des_key_structure associated with it not only does it remember the key used for that session but other details that need tracking over a DES session


Data Fields

unsigned char Key0 [8]
unsigned char Key1 [8]
unsigned char Key2 [8]
int encrypt
int master
int raw
axis_des_hardware_keyhardware_key


Field Documentation

int axis_des_key::encrypt
 

Is this an encrypt or decrypt op

struct axis_des_hardware_key* axis_des_key::hardware_key
 

If a hardware key has been allocated this is it

unsigned char axis_des_key::Key0[8]
 

3DES so 3 64 bit keys key 1

unsigned char axis_des_key::Key1[8]
 

3DES so 3 64 bit keys key 2

unsigned char axis_des_key::Key2[8]
 

3DES so 3 64 bit keys key 3

int axis_des_key::master
 

Flag use master key

int axis_des_key::raw
 

Raw keys are used straigh otherwise key is decrypted prior to use


The documentation for this struct was generated from the following file:
Generated on Fri Jan 28 12:37:37 2005 for Axis Kernel Driver by doxygen 1.3.6