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

axis_des_hardware_key Struct Reference

#include <des_io.h>

Collaboration diagram for axis_des_hardware_key:

Collaboration graph
[legend]

Detailed Description

defines and controls the use of a key slot in the axis 3DES hardware

The Axis hardware can cache multiple keys at once. To perform an operation a key needs to be loaded and or selected into a key channel. A pending crypto op needs both a key channel and an encryption channel. This structure is used to track the key channels


Data Fields

unsigned lock
unsigned loaded
unsigned long age
unsigned char * address
unsigned char * register_address
unsigned index
axis_des_keysoftware_key


Field Documentation

unsigned char* axis_des_hardware_key::address
 

address of hardware storage for key

unsigned long axis_des_hardware_key::age
 

needed for LRU algorithm

unsigned axis_des_hardware_key::index
 

number of hardware key gets converted into an offset into Axis device

unsigned axis_des_hardware_key::loaded
 

does the hardware match software

unsigned axis_des_hardware_key::lock
 

prevent removal mid operation

unsigned char* axis_des_hardware_key::register_address
 

address of control register for key

struct axis_des_key* axis_des_hardware_key::software_key
 

if the hardware is allocated to a software key we may need need to reclaim the hardware and so deallocate an idle software key


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