Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
zcrypt_pcica.h File Reference

Go to the source code of this file.

Data Structures

struct  type4_hdr
 
struct  type4_sme
 
struct  type4_lme
 
struct  type4_scr
 
struct  type4_lcr
 
struct  type84_hdr
 

Macros

#define TYPE4_TYPE_CODE   0x04
 
#define TYPE4_REQU_CODE   0x40
 
#define TYPE4_SME_FMT   0x00
 
#define TYPE4_LME_FMT   0x10
 
#define TYPE4_SCR_FMT   0x40
 
#define TYPE4_LCR_FMT   0x50
 
#define TYPE84_RSP_CODE   0x84
 

Functions

struct type4_hdr __attribute__ ((packed))
 
int zcrypt_pcica_init (void)
 
void zcrypt_pcica_exit (void)
 

Variables

unsigned char reserved1
 
unsigned char msg_type_code
 
unsigned short msg_len
 
unsigned char request_code
 
unsigned char msg_fmt
 
unsigned short reserved2
 
struct type4_hdr header
 
unsigned char message [128]
 
unsigned char exponent [128]
 
unsigned char modulus [128]
 
unsigned char dp [72]
 
unsigned char dq [64]
 
unsigned char p [72]
 
unsigned char q [64]
 
unsigned char u [72]
 
unsigned char code
 
unsigned short len
 

Macro Definition Documentation

#define TYPE4_LCR_FMT   0x50

Definition at line 54 of file zcrypt_pcica.h.

#define TYPE4_LME_FMT   0x10

Definition at line 52 of file zcrypt_pcica.h.

#define TYPE4_REQU_CODE   0x40

Definition at line 49 of file zcrypt_pcica.h.

#define TYPE4_SCR_FMT   0x40

Definition at line 53 of file zcrypt_pcica.h.

#define TYPE4_SME_FMT   0x00

Definition at line 51 of file zcrypt_pcica.h.

#define TYPE4_TYPE_CODE   0x04

Definition at line 48 of file zcrypt_pcica.h.

#define TYPE84_RSP_CODE   0x84

Definition at line 110 of file zcrypt_pcica.h.

Function Documentation

struct type4_hdr __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

void zcrypt_pcica_exit ( void  )

Definition at line 403 of file zcrypt_pcica.c.

int zcrypt_pcica_init ( void  )

Definition at line 398 of file zcrypt_pcica.c.

Variable Documentation

unsigned char code

Definition at line 110 of file zcrypt_pcica.h.

unsigned char dp[136]

Definition at line 84 of file zcrypt_pcica.h.

unsigned char dq[128]

Definition at line 85 of file zcrypt_pcica.h.

unsigned char exponent[256]

Definition at line 65 of file zcrypt_pcica.h.

Definition at line 63 of file zcrypt_pcica.h.

unsigned short len

Definition at line 111 of file zcrypt_pcica.h.

unsigned char message[256]

Definition at line 64 of file zcrypt_pcica.h.

unsigned char modulus[256]

Definition at line 66 of file zcrypt_pcica.h.

unsigned char msg_fmt

Definition at line 51 of file zcrypt_pcica.h.

unsigned short msg_len

Definition at line 49 of file zcrypt_pcica.h.

unsigned char msg_type_code

Definition at line 48 of file zcrypt_pcica.h.

unsigned char p[136]

Definition at line 86 of file zcrypt_pcica.h.

unsigned char q[128]

Definition at line 87 of file zcrypt_pcica.h.

unsigned char request_code

Definition at line 50 of file zcrypt_pcica.h.

unsigned char reserved1

Definition at line 47 of file zcrypt_pcica.h.

unsigned char reserved2[4]

Definition at line 52 of file zcrypt_pcica.h.

unsigned char u[136]

Definition at line 88 of file zcrypt_pcica.h.