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

Go to the source code of this file.

Data Structures

struct  response_type
 
struct  CPRB
 
struct  function_and_rules_block
 
struct  type86_fmt2_msg
 
struct  type86x_reply
 

Macros

#define PCIXCC_MIN_MOD_SIZE_OLD   64 /* 512 bits */
 
#define PCIXCC_MAX_ICA_RESPONSE_SIZE   0x77c /* max size type86 v2 reply */
 
#define CEIL4(x)   ((((x)+3)/4)*4)
 
#define PCIXCC_RESPONSE_TYPE_ICA   0
 
#define PCIXCC_RESPONSE_TYPE_XCRB   1
 

Functions

 MODULE_AUTHOR ("IBM Corporation")
 
 MODULE_DESCRIPTION ("Cryptographic Coprocessor (message type 6), ""Copyright IBM Corp. 2001, 2012")
 
 MODULE_LICENSE ("GPL")
 
int __init zcrypt_msgtype6_init (void)
 
void __exit zcrypt_msgtype6_exit (void)
 
 module_init (zcrypt_msgtype6_init)
 
 module_exit (zcrypt_msgtype6_exit)
 

Variables

struct CPRB __packed
 

Macro Definition Documentation

#define CEIL4 (   x)    ((((x)+3)/4)*4)

Definition at line 45 of file zcrypt_msgtype6.c.

#define PCIXCC_MAX_ICA_RESPONSE_SIZE   0x77c /* max size type86 v2 reply */

Definition at line 43 of file zcrypt_msgtype6.c.

#define PCIXCC_MIN_MOD_SIZE_OLD   64 /* 512 bits */

Definition at line 42 of file zcrypt_msgtype6.c.

#define PCIXCC_RESPONSE_TYPE_ICA   0

Definition at line 51 of file zcrypt_msgtype6.c.

#define PCIXCC_RESPONSE_TYPE_XCRB   1

Definition at line 52 of file zcrypt_msgtype6.c.

Function Documentation

MODULE_AUTHOR ( "IBM Corporation"  )
MODULE_DESCRIPTION ( "Cryptographic Coprocessor   message type 6,
""Copyright IBM Corp.  2001,
2012"   
)
module_exit ( zcrypt_msgtype6_exit  )
module_init ( zcrypt_msgtype6_init  )
MODULE_LICENSE ( "GPL"  )
void __exit zcrypt_msgtype6_exit ( void  )

Definition at line 849 of file zcrypt_msgtype6.c.

int __init zcrypt_msgtype6_init ( void  )

Definition at line 842 of file zcrypt_msgtype6.c.

Variable Documentation