M
X
800 SERIES PROGRAMMERS GUIDE 215
CHAPTER 10
IPP Legacy Library
IPP Support for
the M
x
800 series
of Terminals
This chapter describes the IPP support functions ported from the TXO platforms
(Omni 7xxx):
• ipp_getpin()
• ipp_read()
• ipp_abort()
• ipp_diag()
• ipp_mac()
• select_key_mgmnt()
• get_key_mgmnt()
These functions are actually a front-end to the IPP functions described in Chapter
4. All the limitations of the IPP emulation listed in Chapter 4 also apply to this set
of functions.
In addition, there are several differences between the Omni 7xxx functions and
the M
x
800 series of terminals functions due to the underlying architecture:
• The PIN exhaustion protection is implemented differently (See Note on the
PIN session timeout). On the M
x
800 series of terminals, a token must be
available when starting the PIN session. If no token is available the
ipp_getpin() function returns -2. In the Omni 7xxx, a token must be
available when returning the encrypted PIN block. The ipp_read() function
returns -5 until one gets available.
• On the M
x
800 series terminal, some of the parameter checking is done
beforehand. For instance ipp_getpin() returns -3 for an invalid minimum
PIN length, invalid maximum PIN length, invalid master key number or invalid
working key string. On the Omni 7xxx, those errors are reported by the
ipp_read() function.
• The M
x
800 series of terminals’ ipp_read() return value does not go through
all the intermediate states than the Omni 7xxx’s does. For instance, value -3, -
4 and -5 are never returned by ipp_read() on the M
x
800 series of terminals.