Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/atomic.h>
#include <linux/uaccess.h>
#include "ap_bus.h"
#include "zcrypt_api.h"
#include "zcrypt_msgtype6.h"
#include "zcrypt_msgtype50.h"
#include "zcrypt_error.h"
#include "zcrypt_cex4.h"
Go to the source code of this file.
Macros | |
#define | CEX4A_MIN_MOD_SIZE 1 /* 8 bits */ |
#define | CEX4A_MAX_MOD_SIZE_2K 256 /* 2048 bits */ |
#define | CEX4A_MAX_MOD_SIZE_4K 512 /* 4096 bits */ |
#define | CEX4C_MIN_MOD_SIZE 16 /* 256 bits */ |
#define | CEX4C_MAX_MOD_SIZE 512 /* 4096 bits */ |
#define | CEX4A_SPEED_RATING 900 /* TODO new card, new speed rating */ |
#define | CEX4C_SPEED_RATING 6500 /* TODO new card, new speed rating */ |
#define | CEX4A_MAX_MESSAGE_SIZE MSGTYPE50_CRB3_MAX_MSG_SIZE |
#define | CEX4C_MAX_MESSAGE_SIZE MSGTYPE06_MAX_MSG_SIZE |
#define | CEX4_CLEANUP_TIME (15*HZ) |
Functions | |
MODULE_DEVICE_TABLE (ap, zcrypt_cex4_ids) | |
MODULE_AUTHOR ("IBM Corporation") | |
MODULE_DESCRIPTION ("CEX4 Cryptographic Card device driver, ""Copyright IBM Corp. 2012") | |
MODULE_LICENSE ("GPL") | |
int __init | zcrypt_cex4_init (void) |
void __exit | zcrypt_cex4_exit (void) |
module_init (zcrypt_cex4_init) | |
module_exit (zcrypt_cex4_exit) | |
#define CEX4_CLEANUP_TIME (15*HZ) |
Definition at line 33 of file zcrypt_cex4.c.
#define CEX4A_MAX_MESSAGE_SIZE MSGTYPE50_CRB3_MAX_MSG_SIZE |
Definition at line 30 of file zcrypt_cex4.c.
#define CEX4A_MAX_MOD_SIZE_2K 256 /* 2048 bits */ |
Definition at line 21 of file zcrypt_cex4.c.
#define CEX4A_MAX_MOD_SIZE_4K 512 /* 4096 bits */ |
Definition at line 22 of file zcrypt_cex4.c.
#define CEX4A_MIN_MOD_SIZE 1 /* 8 bits */ |
Definition at line 20 of file zcrypt_cex4.c.
Definition at line 27 of file zcrypt_cex4.c.
#define CEX4C_MAX_MESSAGE_SIZE MSGTYPE06_MAX_MSG_SIZE |
Definition at line 31 of file zcrypt_cex4.c.
#define CEX4C_MAX_MOD_SIZE 512 /* 4096 bits */ |
Definition at line 25 of file zcrypt_cex4.c.
#define CEX4C_MIN_MOD_SIZE 16 /* 256 bits */ |
Definition at line 24 of file zcrypt_cex4.c.
Definition at line 28 of file zcrypt_cex4.c.
MODULE_AUTHOR | ( | "IBM Corporation" | ) |
MODULE_DEVICE_TABLE | ( | ap | , |
zcrypt_cex4_ids | |||
) |
module_exit | ( | zcrypt_cex4_exit | ) |
module_init | ( | zcrypt_cex4_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
Definition at line 143 of file zcrypt_cex4.c.
Definition at line 138 of file zcrypt_cex4.c.