Data Accelerator Offload
|
#include <dao_liquid_crypto.h>
Data Fields | |
uint64_t | op_cookie |
uint64_t | sess_id |
struct dao_lc_buf * | in_buffer |
struct dao_lc_buf * | out_buffer |
uint32_t | cipher_offset |
uint32_t | auth_offset |
uint32_t | cipher_len |
uint32_t | auth_len |
uint8_t * | cipher_iv |
uint8_t * | auth_iv |
uint8_t * | aad |
uint8_t | aad_len |
uint8_t * | digest |
bool | encrypt |
The liquid crypto op structure.
Definition at line 43 of file dao_liquid_crypto.h.
uint64_t op_cookie |
The cookie to be associated with the operation. This cookie is returned in the dao_crypto_res structure when the operation is dequeued.
Definition at line 48 of file dao_liquid_crypto.h.
uint64_t sess_id |
Session ID to be used.
Definition at line 50 of file dao_liquid_crypto.h.
struct dao_lc_buf* in_buffer |
Data buffer input for the operation. The memory pointed to by in_buffer must remain valid until the operation is completed and dequeued by the application using dao_liquid_crypto_dequeue_burst().
Definition at line 56 of file dao_liquid_crypto.h.
struct dao_lc_buf* out_buffer |
Data buffer output for the operation. NULL value means in-place operation. The memory pointed to by out_buffer must remain valid until the operation is completed and dequeued by the application using dao_liquid_crypto_dequeue_burst().
Definition at line 62 of file dao_liquid_crypto.h.
uint32_t cipher_offset |
Cipher offset from beginning of buffer
Definition at line 64 of file dao_liquid_crypto.h.
uint32_t auth_offset |
Auth offset from beginning of buffer
Definition at line 66 of file dao_liquid_crypto.h.
uint32_t cipher_len |
Cipher length
Definition at line 68 of file dao_liquid_crypto.h.
uint32_t auth_len |
Auth length
Definition at line 70 of file dao_liquid_crypto.h.
uint8_t* cipher_iv |
Cipher IV
Definition at line 72 of file dao_liquid_crypto.h.
uint8_t* auth_iv |
Auth IV
Definition at line 74 of file dao_liquid_crypto.h.
uint8_t* aad |
AAD. Ignored for non-AEAD operations.
Definition at line 76 of file dao_liquid_crypto.h.
uint8_t aad_len |
AAD length. Ignored for non-AEAD operations.
Definition at line 78 of file dao_liquid_crypto.h.
uint8_t* digest |
Digest. Ignored for non auth use cases.
Definition at line 80 of file dao_liquid_crypto.h.
bool encrypt |
Operation. Whether the operation is Encrypt or Decrypt
Definition at line 82 of file dao_liquid_crypto.h.