DEVICE DRIVERS
isAttacked()
88 M
X
800 SERIES PROGRAMMERS GUIDE
isAttacked()
This function indicates if an attack occurred, causing the loss of the transaction
keys and/or encrypted files. It returns 0 if no attack occurred since the last key
loading or file encryption, otherwise, a value of 1 is returned. It also returns 1 if the
unit has never been loaded with a key and no encrypted file has been written.
Prototype
int isAttacked (void)
Return Values
0 No attack has occurred since keys have been loaded.
1 An attack has occurred. Keys and encrypted file have been lost.