Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

commands.c File Reference

Commands. More...

#include <auth.h>
#include <hal.h>
#include <commands.h>
#include <config.h>
#include <crypt.h>
#include <fs.h>
#include <log.h>
#include <stddef.h>
#include <string.h>
#include <sw.h>
#include <t0.h>
#include <tools.h>
#include <types.h>

Defines

#define pinssize   (PIN_LEN+PIN_LEN)
#define pin1len   PIN_LEN

Functions

void cmd_write (void)
 Write EEPROM. (Test command). More...

void cmd_read (void)
 Read EEPROM. (Test command). More...

void cmd_changeUnblockPIN (void)
 Change or Unblock PIN. More...

void cmd_create (void)
 Create File. More...

void cmd_delete (void)
 Delete File. More...

void cmd_extAuth (void)
 External Authentication. More...

void cmd_getChallenge (void)
 Get Challenge. More...

void cmd_intAuth (void)
 Internal Authentication. More...

void cmd_readBinary (void)
 Read Binary. More...

void cmd_select (void)
 Select File. More...

void cmd_updateBinary (void)
 Update Binary. More...

void cmd_verifyKeyPIN (void)
 Verify Key/Verify PIN. More...


Detailed Description

Commands.

The documentation of the commands is on the main page of the doxygen documentation.

Id:
commands.c,v 1.30 2003/05/10 17:26:58 m Exp


Define Documentation

#define pin1len   PIN_LEN
 

#define pinssize   (PIN_LEN+PIN_LEN)
 


Function Documentation

void cmd_changeUnblockPIN void   
 

Change or Unblock PIN.

void cmd_create void   
 

Create File.

void cmd_delete void   
 

Delete File.

void cmd_extAuth void   
 

External Authentication.

void cmd_getChallenge void   
 

Get Challenge.

void cmd_intAuth void   
 

Internal Authentication.

void cmd_read void   
 

Read EEPROM. (Test command).

void cmd_readBinary void   
 

Read Binary.

void cmd_select void   
 

Select File.

void cmd_updateBinary void   
 

Update Binary.

void cmd_verifyKeyPIN void   
 

Verify Key/Verify PIN.

This function is a combined implementation of Verify Key and Verify PIN. This is done to save code size.

void cmd_write void   
 

Write EEPROM. (Test command).


Copyright 2002 by Matthias Bruestle. This is licensed under the GNU General Public License.