Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
zcrypt_pcicc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/err.h>
#include <linux/atomic.h>
#include <asm/uaccess.h>
#include "ap_bus.h"
#include "zcrypt_api.h"
#include "zcrypt_error.h"
#include "zcrypt_pcicc.h"
#include "zcrypt_cca_key.h"

Go to the source code of this file.

Data Structures

struct  type86_reply
 

Macros

#define PCICC_MIN_MOD_SIZE   64 /* 512 bits */
 
#define PCICC_MAX_MOD_SIZE_OLD   128 /* 1024 bits */
 
#define PCICC_MAX_MOD_SIZE   256 /* 2048 bits */
 
#define PCICC_SPEED_RATING   0
 
#define PCICC_MAX_MESSAGE_SIZE   0x710 /* max size type6 v1 crt message */
 
#define PCICC_MAX_RESPONSE_SIZE   0x710 /* max size type86 v1 reply */
 
#define PCICC_CLEANUP_TIME   (15*HZ)
 

Functions

 MODULE_DEVICE_TABLE (ap, zcrypt_pcicc_ids)
 
 MODULE_AUTHOR ("IBM Corporation")
 
 MODULE_DESCRIPTION ("PCICC Cryptographic Coprocessor device driver, ""Copyright IBM Corp. 2001, 2006")
 
 MODULE_LICENSE ("GPL")
 
struct type86_reply __attribute__ ((packed))
 
int __init zcrypt_pcicc_init (void)
 
void zcrypt_pcicc_exit (void)
 
 module_init (zcrypt_pcicc_init)
 
 module_exit (zcrypt_pcicc_exit)
 

Variables

struct type86_hdr hdr
 
struct type86_fmt2_ext fmt2
 
struct CPRB cprb
 
unsigned char pad [4]
 
unsigned short length
 
char text [0]
 

Macro Definition Documentation

#define PCICC_CLEANUP_TIME   (15*HZ)

Definition at line 59 of file zcrypt_pcicc.c.

#define PCICC_MAX_MESSAGE_SIZE   0x710 /* max size type6 v1 crt message */

Definition at line 56 of file zcrypt_pcicc.c.

#define PCICC_MAX_MOD_SIZE   256 /* 2048 bits */

Definition at line 42 of file zcrypt_pcicc.c.

#define PCICC_MAX_MOD_SIZE_OLD   128 /* 1024 bits */

Definition at line 41 of file zcrypt_pcicc.c.

#define PCICC_MAX_RESPONSE_SIZE   0x710 /* max size type86 v1 reply */

Definition at line 57 of file zcrypt_pcicc.c.

#define PCICC_MIN_MOD_SIZE   64 /* 512 bits */

Definition at line 40 of file zcrypt_pcicc.c.

#define PCICC_SPEED_RATING   0

Definition at line 54 of file zcrypt_pcicc.c.

Function Documentation

struct type86_reply __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

MODULE_AUTHOR ( "IBM Corporation"  )
MODULE_DESCRIPTION ( "PCICC Cryptographic Coprocessor device  driver,
""Copyright IBM Corp.  2001,
2006"   
)
MODULE_DEVICE_TABLE ( ap  ,
zcrypt_pcicc_ids   
)
module_exit ( zcrypt_pcicc_exit  )
module_init ( zcrypt_pcicc_init  )
MODULE_LICENSE ( "GPL"  )
void zcrypt_pcicc_exit ( void  )

Definition at line 609 of file zcrypt_pcicc.c.

int __init zcrypt_pcicc_init ( void  )

Definition at line 604 of file zcrypt_pcicc.c.

Variable Documentation

struct CPRB cprb

Definition at line 313 of file zcrypt_pcicc.c.

Definition at line 312 of file zcrypt_pcicc.c.

Definition at line 311 of file zcrypt_pcicc.c.

unsigned short length

Definition at line 315 of file zcrypt_pcicc.c.

unsigned char pad[4]

Definition at line 314 of file zcrypt_pcicc.c.

char text[0]

Definition at line 316 of file zcrypt_pcicc.c.