src/emv_init.c File Reference

#include <ccid.h>
#include <list.h>
#include <emv.h>
#include <ber.h>
#include "emv-internal.h"
Include dependency graph for emv_init.c:

Go to the source code of this file.

Functions

static int bop_po (const uint8_t *ptr, size_t len, void *priv)
static int get_aip (emv_t e)
int emv_app_init (emv_t e)
int emv_app_aip (emv_t e, emv_aip_t aip)

Function Documentation

static int bop_po ( const uint8_t *  ptr,
size_t  len,
void *  priv 
) [static]

Definition at line 13 of file emv_init.c.

References _emv::e_afl, _emv::e_afl_len, and _emv::e_aip.

Referenced by get_aip().

Here is the caller graph for this function:

int emv_app_aip ( emv_t  e,
emv_aip_t  aip 
)

Definition at line 75 of file emv_init.c.

References _emv_error(), _emv::e_aip, _emv::e_app, and EMV_ERR_APP_NOT_SELECTED.

Referenced by cp_init().

Here is the call graph for this function:

Here is the caller graph for this function:

int emv_app_init ( emv_t  e  ) 

Definition at line 51 of file emv_init.c.

References _emv_success(), _emv::e_aip, EMV_AIP_CDA, EMV_AIP_CVM, EMV_AIP_DDA, EMV_AIP_ISS, EMV_AIP_SDA, EMV_AIP_TRM, and get_aip().

Referenced by cp_init(), and do_emv_stuff().

Here is the call graph for this function:

Here is the caller graph for this function:

static int get_aip ( emv_t  e  )  [static]

Definition at line 32 of file emv_init.c.

References _emv_get_proc_opts(), ber_decode(), bop_po(), _emv::e_xfr, ber_tag::tag, and xfr_rx_data().

Referenced by emv_app_init().

Here is the call graph for this function:

Here is the caller graph for this function:

Generated on Sun Jan 2 08:35:35 2011 for ccid-utils by  doxygen 1.6.3