| 
    Data Accelerator Offload
    
   | 
 
#include <dao_liquid_crypto.h>
Data Fields | |
| uint64_t | iv_source: 1 | 
| uint64_t | aes_key_len: 2 | 
| uint64_t | rsvd_59: 1 | 
| uint64_t | enc_cipher: 4 | 
| uint64_t | auth_input_type: 1 | 
| uint64_t | auth_key_src: 1 | 
| uint64_t | rsvd_50_51: 2 | 
| uint64_t | hash_type: 4 | 
| uint64_t | mac_len: 8 | 
| uint64_t | rsvd_16_39: 24 | 
| uint64_t | hmac_key_sz: 16 | 
| uint8_t | encr_key [32] | 
| uint8_t | encr_iv [16] | 
| uint8_t | ipad [64] | 
| uint8_t | opad [64] | 
The liquid crypto flexi crypto context.
Definition at line 588 of file dao_liquid_crypto.h.
| uint64_t iv_source | 
Encr_IV_Source: IV source for the operation.
Must be set to DAO_LC_FC_IV_SRC_OP
Definition at line 595 of file dao_liquid_crypto.h.
| uint64_t aes_key_len | 
AES_key_len (when enc_cipher = AES*, else ignored)
Definition at line 600 of file dao_liquid_crypto.h.
| uint64_t rsvd_59 | 
Reserved Bit 59
Definition at line 602 of file dao_liquid_crypto.h.
| uint64_t enc_cipher | 
Encr_cipher_type: Encryption cipher type
Definition at line 607 of file dao_liquid_crypto.h.
| uint64_t auth_input_type | 
Auth_input_type: Authentication key input type
Must be set to DAO_LC_FC_AUTH_INPUT_OPAD_IPAD
Definition at line 614 of file dao_liquid_crypto.h.
| uint64_t auth_key_src | 
Auth_key_source: Authentication key source
Must be set to DAO_LC_FC_AUTH_KEY_SRC_CTX
Definition at line 621 of file dao_liquid_crypto.h.
| uint64_t rsvd_50_51 | 
Reserved Bit 50-51
Definition at line 623 of file dao_liquid_crypto.h.
| uint64_t hash_type | 
MAC_Select: Authentication algorithm
Definition at line 628 of file dao_liquid_crypto.h.
| uint64_t mac_len | 
MAC_Len (MAC_Len ranges from 1 to MAC length of the respective MAC algorithm)
Definition at line 630 of file dao_liquid_crypto.h.
| uint64_t rsvd_16_39 | 
Reserved Bit 16-39
Definition at line 632 of file dao_liquid_crypto.h.
| uint64_t hmac_key_sz | 
HMAC_Key_Size: Key size (valid for HMAC only; auth_input_type must be 1).
Definition at line 634 of file dao_liquid_crypto.h.
| uint8_t encr_key[32] | 
Encr_Key or KEY1 for AES-XTS or ChaCha key.
Definition at line 636 of file dao_liquid_crypto.h.
| uint8_t encr_iv[16] | 
Encr_IV or Tweak for AES-XTS. Set to 0 when Encrypt_IV_Source == 1 and not AES_GCM.
Definition at line 638 of file dao_liquid_crypto.h.
| uint8_t ipad[64] | 
IPAD or KEY2 for AES-XTS.
Definition at line 640 of file dao_liquid_crypto.h.
| uint8_t opad[64] | 
OPAD or Key (Authentication key; supported range is 1 to 64 bytes. Application should take care of padding with zeroes if the key is less than 64 bytes.)
Definition at line 645 of file dao_liquid_crypto.h.