Ips_Loadsysenckey() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

iPS_LoadSysEncKey()

This function loads the system keys. The new values must be presented
encrypted under the current value of VSS_KLK.
Contrary to the clear text loading, this encrypted loading does not erase all other
secrets in the unit.
An error code will be returned if the VSS_KLK is not present.
Prototype
int
iPS_LoadSysEncKey(unsigned char ucKeyID, unsigned char *
pucINKeyValue)
Parameters
The key identifier.
ucKeyID
0x00
16-byte buffer containing the clear-text key
pucINKeyValue
Return Values
0
E_KM_NO_KEY_LOADED
E_KM_KEY_INTEGRITY_ERROR
E_KM_SYSTEM_ERROR
VSS_KLK (16 bytes)
Successful execution
VSS_KLK is absent. No encrypted loading
possible
VSS_KLK is corrupted
X
M
800 S
ERIES
D
D
EVICE
RIVERS
iPS_LoadSysEncKey()
61
P
G
ROGRAMMERS
UIDE

Advertisement

Table of Contents
loading

Table of Contents