sc-hsm-embedded
src/ctccid/scr.h File Reference
#include "usb_device.h"

Data Structures

struct  scr

Defines

#define MAX_READER   8
#define MAX_ATR   34
#define HBSIZE   15

Typedefs

typedef struct scr scr_t
typedef int(* CTModFunc_t )(scr_t *, unsigned int, unsigned char *, unsigned int *, unsigned char *)

Define Documentation

#define HBSIZE   15

Maximum number of historical bytes

#define MAX_ATR   34

Maximum size of ATR

#define MAX_READER   8

Maximum number of readers


Typedef Documentation

typedef int(* CTModFunc_t)(scr_t *,unsigned int,unsigned char *,unsigned int *,unsigned char *)
typedef struct scr scr_t

Data structure encapsulating all necessary data elements of the reader interface and the communication protocol