Data Accelerator Offload
|
#include <dao_liquid_crypto.h>
Data Fields | ||
struct { | ||
uint16_t cipher_auth_payload_len | ||
uint16_t iv_len | ||
uint16_t aad_len | ||
uint16_t digest_len | ||
} | sym | |
struct { | ||
uint16_t mod_len | ||
uint16_t exp_len | ||
uint16_t msg_len | ||
} | rsa | |
bool | cmd_qp | |
Liquid Crypto Feature Parameters.
This structure is used to store the feature parameters of the liquid crypto device. The feature parameters are used to calculate the size of the maximum segment size.
Definition at line 509 of file dao_liquid_crypto.h.
uint16_t cipher_auth_payload_len |
Cipher and auth payload length.
Definition at line 525 of file dao_liquid_crypto.h.
uint16_t iv_len |
IV length
Definition at line 527 of file dao_liquid_crypto.h.
uint16_t aad_len |
AAD length
Definition at line 529 of file dao_liquid_crypto.h.
uint16_t digest_len |
Digest length
Definition at line 531 of file dao_liquid_crypto.h.
struct { ... } sym |
Symmetric parameters. The parameters are used to calculate the size of the maximum segment size for symmetric operations.
For using following opcodes the corresponding parameters must be set:
DAO_LC_SYM_OPCODE_FC
: Flexi Crypto uint16_t mod_len |
Modulus length
Definition at line 545 of file dao_liquid_crypto.h.
uint16_t exp_len |
Exponent length
Definition at line 547 of file dao_liquid_crypto.h.
uint16_t msg_len |
Message length
Definition at line 549 of file dao_liquid_crypto.h.
struct { ... } rsa |
RSA asymmetric parameters. The parameters are used to calculate the size of the maximum segment size for asymmetric operations.
For using following APIs the corresponding parameters must be set:
bool cmd_qp |
Specifies whether the size calculation is for the command queue pair. If true, the size is calculated specifically for the command queue pair, ignoring the symmetric and RSA asymmetric parameters. If false, the size is calculated for the data queue pair using the symmetric and RSA asymmetric parameters provided above.
Definition at line 558 of file dao_liquid_crypto.h.