src/emv_cvm.c File Reference

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

Go to the source code of this file.

Functions

static int bop_ptc (const uint8_t *ptr, size_t len, void *priv)
static int ptc (struct _emv *e)
int emv_pin_try_counter (struct _emv *e)
int emv_cvm_pin (emv_t e, const char *pin)

Function Documentation

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

Definition at line 13 of file emv_cvm.c.

Referenced by ptc().

Here is the caller graph for this function:

int emv_cvm_pin ( emv_t  e,
const char *  pin 
)

Definition at line 47 of file emv_cvm.c.

References _emv_error(), _emv_pin2pb(), _emv_sw1(), _emv_verify(), EMV_ERR_BAD_PIN, EMV_ERR_BAD_PIN_FORMAT, and ptc().

Referenced by cp_cvm_pin(), and do_emv_stuff().

Here is the call graph for this function:

Here is the caller graph for this function:

int emv_pin_try_counter ( struct _emv e  ) 

Definition at line 42 of file emv_cvm.c.

References ptc().

Referenced by cp_pin_try_counter().

Here is the call graph for this function:

Here is the caller graph for this function:

static int ptc ( struct _emv e  )  [static]

Definition at line 21 of file emv_cvm.c.

References _emv_error(), _emv_get_data(), ber_decode(), bop_ptc(), _emv::e_xfr, EMV_ERR_DATA_ELEMENT_NOT_FOUND, ber_tag::tag, and xfr_rx_data().

Referenced by emv_cvm_pin(), and emv_pin_try_counter().

Here is the call graph for this function:

Here is the caller graph for this function:

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