Intel
®
EP80579 Software for Security Applications on Intel
®
QuickAssist Technology
August 2009 PG
Order Number: 320183-004US 75
Using the Intel
®
QuickAssist Technology Cryptographic API—Security Software
There are several open-source projects which implement these protocols. These include
Openswan* (which implements IPSec), OpenSSL* (which implements SSL/TLS), and
Racoon* (which implements IKE on FreeBSD). These in turn can be configured to use
OCF for their cryptographic operations. Using the OCF shim described in Section 12.9,
customers may be able to take advantage of cryptographic acceleration in the
Openswan and OpenSSL software suites.
12.11 Error Handling
In the case of an error occurring when an API function is invoked, the API function will
return with the error condition and no callback function will be called. Table 22 shows
the status values that are defined in cpa.h, along with their descriptions.
§ §
Table 22. Cryptographic API Status Values
Value Description
CPA_STATUS_SUCCESS Operation was successful
CPA_STATUS_FAIL General or unspecified error occurred
CPA_STATUS_RETRY Recoverable error occurred
CPA_STATUS_RESOURCE Required resource unavailable
CPA_STATUS_INVALID_PARAM Invalid parameter supplied
CPA_STATUS_FATAL Fatal error has occurred