#include <ccid.h>
#include <list.h>
#include <emv.h>
#include <ber.h>
#include "emv-internal.h"
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) |
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().
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().
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().
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().