Home  Supporto  Documentation of the APIs

SpringProx API

sprox_crc.c

[Modules] CRC

NAME

   SpringProxAPI :: CRC computation

DESCRIPTION

   Provides CRC computation according to ISO 14443

[Functions] SPROX_ComputeIso14443ACrc

NAME

   SPROX_ComputeIso14443ACrc

DESCRIPTION

   Compute a CRC according to ISO/IEC 14443-A (layer 3)

INPUTS

   BYTE crc[2]         : 2-byte buffers to receive the CRC
                         (can be set to NULL since the CRC is also returned as
                         function result)
   const BYTE buffer[] : data to be checksumed
   WORD size           : length of the data

RETURNS

   The computed CRC.

[Functions] SPROX_ComputeIso14443BCrc

NAME

   SPROX_ComputeIso14443BCrc

DESCRIPTION

   Compute a CRC according to ISO/IEC 14443-B (layer 3)

INPUTS

   BYTE crc[2]         : 2-byte buffers to receive the CRC
                         (can be set to NULL since the CRC is also returned as
                         function result)
   const BYTE buffer[] : data to be checksumed
   WORD size           : length of the data

RETURNS

   The computed CRC.

Generated from sprox_crc.c on Tue Jan 24 12:33:35 2012