Security Software—Using the Intel
®
QuickAssist Technology Cryptographic API
Intel
®
EP80579 Software for Security Applications on Intel
®
QuickAssist Technology
PG August 2009
62 Order Number: 320183-004US
1. The application or framework initializes a session using the API session initialization
function, this is a synchronous operation. During session initialization pre-
computes for Hash operations will be computed. This will involve an asynchronous
call to the Security Services Unit (SSU) which will return the pre-computes. This
only occurs during Hash operations. To the external Cryptographic API, this call is
synchronous as the asynchronous nature is handled internally in Cryptographic API.
The asynchronous part is hidden from the user by means of a queue.
2. Once the session has been initialized, the status of the session initialization is
returned to the application or framework, along with the session context handle.
The callback parameter is set to the client callback function for asynchronous
mode.
3. The application or framework calls the SymOpPerform function to perform a Crypto
Operation along with the data pointer on which to perform the operation.
Figure 18. Symmetric Asynchronous Intel
®
QuickAssist Technology Cryptographic API
Data Flow
Security Access APIs
Security Access Library
Application or
Framework
Acceleration Services Unit (ASU)
(5)
(7)
(3) SymOpPerform
(IN a session ptr)
(1) Session Initialization
(IN func_ptr/NULL,
session_setup_data,
session ptr)
(2) Init Session
(OUT status)
Async
(6)
Perform Callback
User callback
(8)
...
(4)
All modes
Asynchronous modes