Cryptoread() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

D
D
EVICE
RIVERS

cryptoRead()

cryptoRead()
82
M
X
800 S
P
ERIES
ROGRAMMERS
crypto_read reads a maximum of count bytes of encrypted data from the open
file associated with handle, decrypts the data and stores the result in buffer. It
returns the number of bytes actually read, which may be less than count if fewer
bytes are available.
Prototype
int cryptoRead (int handle, char *buffer, int count)
Parameters
File handle
handle
Pointer to the buffer holding the input data
buffer
Maximum number of byes to write
count
Return Values
0
Successful execution
1
File Error, errno is set accordingly.
< 1
System Error
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents