VeriFone MX800 series Programmer's Manual page 145

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

5
CRC32, lsb-first, reflected input and output
Model: width=32,poly=0x04C11DB7,init=0,refin=1,refot=1,xorot=0,
check=0x2DFD2D88
6
CRC32, lsb-first, reflected input & output, inverted result
Model: width=32,poly=0x04C11DB7,init=-1,refin=1,refot=1,xorot=-1,
check=0xCBF43926
7
CRC16, msb-first, reflected input and output
Model: width=16,poly=0x8005,init=0,refin=1,refot=1,xorot=0,check=0xBB3D
8
CCITT16, msb-first, reflected input and output
Model: width=16,poly=0x1021,init=0,refin=1,refot=1,xorot=0,check=0x6F91
For both CRC16 computations, the initial value used for the checksum will be
NOTE
reset to all zeros (0x0000). For both CCITT computations, the initial value used
for the checksum will be set to all ones (0xFFFF).
Please note that the programmer has to decide in each application whether to
swap the bytes of the final CRC result to comply with little or big end requirements
of any earlier code that is being ported. Little versus big end is not part of the CRC
model spec.
Algorithms 6, 7, and 8 were added during driver and application development to
try and ensure that existing porting needs were met. The model code was
downloaded, compiled and run against each of the algorithms to produce the
above check results.
S
ERVICE
X
M
800 S
P
ERIES
ROGRAMMERS
F
UNCTIONS
svcCrcCalc()
145
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents