Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | ica_z90_status |
struct | zcrypt_ops |
struct | zcrypt_device |
Macros | |
#define | ICAZ90STATUS _IOR(ZCRYPT_IOCTL_MAGIC, 0x10, struct ica_z90_status) |
#define | Z90STAT_PCIXCCCOUNT _IOR(ZCRYPT_IOCTL_MAGIC, 0x43, int) |
#define | ZCRYPT_PCICA 1 |
#define | ZCRYPT_PCICC 2 |
#define | ZCRYPT_PCIXCC_MCL2 3 |
#define | ZCRYPT_PCIXCC_MCL3 4 |
#define | ZCRYPT_CEX2C 5 |
#define | ZCRYPT_CEX2A 6 |
#define | ZCRYPT_CEX3C 7 |
#define | ZCRYPT_CEX3A 8 |
#define | ZCRYPT_RNG_BUFFER_SIZE 4096 |
Variables | |
atomic_t | zcrypt_rescan_req |
#define ICAZ90STATUS _IOR(ZCRYPT_IOCTL_MAGIC, 0x10, struct ica_z90_status) |
Definition at line 38 of file zcrypt_api.h.
#define Z90STAT_PCIXCCCOUNT _IOR(ZCRYPT_IOCTL_MAGIC, 0x43, int) |
Definition at line 39 of file zcrypt_api.h.
#define ZCRYPT_CEX2A 6 |
Definition at line 74 of file zcrypt_api.h.
#define ZCRYPT_CEX2C 5 |
Definition at line 73 of file zcrypt_api.h.
#define ZCRYPT_CEX3A 8 |
Definition at line 76 of file zcrypt_api.h.
#define ZCRYPT_CEX3C 7 |
Definition at line 75 of file zcrypt_api.h.
#define ZCRYPT_PCICA 1 |
device type for an actual device is either PCICA, PCICC, PCIXCC_MCL2, PCIXCC_MCL3, CEX2C, or CEX2A
NOTE: PCIXCC_MCL3 refers to a PCIXCC with May 2004 version of Licensed Internal Code (LIC) (EC J12220 level 29). PCIXCC_MCL2 refers to any LIC before this level.
Definition at line 69 of file zcrypt_api.h.
#define ZCRYPT_PCICC 2 |
Definition at line 70 of file zcrypt_api.h.
#define ZCRYPT_PCIXCC_MCL2 3 |
Definition at line 71 of file zcrypt_api.h.
#define ZCRYPT_PCIXCC_MCL3 4 |
Definition at line 72 of file zcrypt_api.h.
#define ZCRYPT_RNG_BUFFER_SIZE 4096 |
Large random numbers are pulled in 4096 byte chunks from the crypto cards and stored in a page. Be careful when increasing this buffer due to size limitations for AP requests.
Definition at line 83 of file zcrypt_api.h.
zcrypt_api_exit(): Module termination.
The module termination code.
Definition at line 1379 of file zcrypt_api.c.
zcrypt_api_init(): Module initialization.
The module initialization code.
Definition at line 1344 of file zcrypt_api.c.
|
read |
Definition at line 215 of file zcrypt_api.c.
void zcrypt_device_free | ( | struct zcrypt_device * | ) |
Definition at line 237 of file zcrypt_api.c.
void zcrypt_device_get | ( | struct zcrypt_device * | ) |
Definition at line 203 of file zcrypt_api.c.
int zcrypt_device_put | ( | struct zcrypt_device * | ) |
Definition at line 209 of file zcrypt_api.c.
int zcrypt_device_register | ( | struct zcrypt_device * | zdev | ) |
zcrypt_device_register() - Register a crypto device. : Pointer to a crypto device
Register a crypto device. Returns 0 if successful.
Definition at line 250 of file zcrypt_api.c.
void zcrypt_device_unregister | ( | struct zcrypt_device * | zdev | ) |
zcrypt_device_unregister(): Unregister a crypto device. : Pointer to crypto device
Unregister a crypto device.
Definition at line 297 of file zcrypt_api.c.
void zcrypt_msgtype_register | ( | struct zcrypt_ops * | ) |
Definition at line 312 of file zcrypt_api.c.
void zcrypt_msgtype_release | ( | struct zcrypt_ops * | ) |
Definition at line 366 of file zcrypt_api.c.
|
read |
Definition at line 351 of file zcrypt_api.c.
void zcrypt_msgtype_unregister | ( | struct zcrypt_ops * | ) |
Definition at line 322 of file zcrypt_api.c.
atomic_t zcrypt_rescan_req |
Definition at line 61 of file zcrypt_api.c.