A SERVICE OF

logo

Chapter 1 Introduction 13
The Surrender Function
Surrender
The surrender function callback must have the following form:
Surrender
is a developer-supplied function that actually performs the tasks required
by the application.
handle
is the application-specific handle from the surrender
context.
Surrender
should return 0 for Crypto-C to continue its operation or a non-zero value
for Crypto-C to cancel its operation.
Return value
0 continue with operation
non-zero cancel operation
int (*Surrender) (
POINTER handle /* application-specific information */
);