#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/list.h>
#include <linux/ioport.h>
#include <linux/serial.h>
#include <linux/interrupt.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/mtd/mtd.h>
#include <linux/crypto.h>
#include <asm/uaccess.h>
#include "axis_hardware.h"
Include dependency graph for des_io.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | axis_des_hardware_key |
| defines and controls the use of a key slot in the axis 3DES hardware More... | |
| struct | axis_des_hardware_channel |
| defines and controls one 3DES hardware channel More... | |
| struct | axis_des_key |
| Struct tracks a key and its properties. More... | |
| struct | crypto_state |
| associates a key (crypto session) and a hardware device More... | |
| struct | axis_des_op |
| Structure to contain a DES operation. More... | |
Defines | |
| #define | DES_A_REG (0x50+CONTROL_OFFSET) |
| #define | DES_B_REG (0x54+CONTROL_OFFSET) |
| #define | DES_C_REG (0x58+CONTROL_OFFSET) |
| #define | DES_D_REG (0x5C+CONTROL_OFFSET) |
| #define | DES_A_BUFFER (0) |
| #define | DES_B_BUFFER (0x200) |
| #define | DES_C_BUFFER (0x400) |
| #define | DES_D_BUFFER (0x600) |
| #define | DES_START_BIT (1<<0) |
| #define | DES_ENCRYPT_BIT (1<<1) |
| #define | DES_MASTER_BIT (1<<2) |
| #define | HEBER_DES3_BLOCK_SIZE 8 |
| #define | HEBER_DES3_KEY_SIZE 24 |
| #define | NUMBER_OF_KEY_STORES 16 |
| #define | NUMBER_OF_DES_CHANNELS 3 |
| #define | MAX_DES_OPS 512 |
| #define | KEY_SIZE 192 |
| #define | INTERNAL_KEY_SIZE 0x20 |
Functions | |
| void | init_axis_des_hardware_key (struct axis_des_hardware_key *ptr, unsigned char *addr, unsigned char *reg, int index) |
| Function to initalise hardware key structure prior to use. | |
| void | init_axis_des_hardware_channel (struct axis_des_hardware_channel *ptr, unsigned char *reg, unsigned char *buffer, unsigned index) |
| Initalise a DES hardware channel structure. | |
| void | init_axis_des_core (struct axis_pci_device_entry *device) |
| Performs initalisation of DES structures. | |
Variables | |
| file_operations | crypto_file_operations |
| Define a file operations structure for cryptographic devices. | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Performs initalisation of DES structures.
Performs initalisation of the DES structures in the master structure |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Initalise a DES hardware channel structure.
Initalise a DES hardware channel structure, called as part of the initialisation of a new instance of Axis hardware |
|
||||||||||||||||||||
|
Function to initalise hardware key structure prior to use.
Function to initalise hardware key structure prior to use, called as part of the initialisation of a new instance of Axis hardware |
|
|
Define a file operations structure for cryptographic devices.
|
1.3.6