|
Data Accelerator Offload
|
#include <dao_liquid_crypto.h>
Data Fields | ||
| union dao_cpt_res_s | res | |
| union { | ||
| struct { | ||
| uint16_t data_out_len | ||
| } rsa | ||
| struct { | ||
| uint16_t ecc_rs_out_len | ||
| } ecdsa | ||
| struct { | ||
| uint8_t op_type | ||
| uint8_t alg | ||
| uint8_t ret_code | ||
| } pqc | ||
| uint64_t u64 | ||
| }; | ||
| uint64_t | op_cookie | |
The liquid crypto result structure.
This structure is used to store the result of a liquid crypto operation.
Definition at line 417 of file dao_liquid_crypto.h.
| union dao_cpt_res_s res |
The result of the operation returned by CPT
Definition at line 419 of file dao_liquid_crypto.h.
| uint16_t data_out_len |
The length of the output data
Definition at line 425 of file dao_liquid_crypto.h.
| struct { ... } rsa |
Metadata associated with RSA operations
| uint16_t ecc_rs_out_len |
< Length of the ECDSA r and s components
Definition at line 430 of file dao_liquid_crypto.h.
| struct { ... } ecdsa |
Metadata associated with ECDSA operations
| uint16_t wrap_unwrap_key_len |
Length of the key data wrapped or unwrapped
Definition at line 434 of file dao_liquid_crypto.h.
| uint8_t op_type |
The operation type
Definition at line 439 of file dao_liquid_crypto.h.
| uint8_t alg |
The algorithm used
Definition at line 441 of file dao_liquid_crypto.h.
| uint8_t ret_code |
The return code
Definition at line 443 of file dao_liquid_crypto.h.
| struct { ... } pqc |
Metadata associated with PQC operations
| uint64_t u64 |
Generic 64-bit metadata
Definition at line 446 of file dao_liquid_crypto.h.
| union { ... } |
Additional metadata from the operation
| uint64_t op_cookie |
The cookie associated with the operation
Definition at line 449 of file dao_liquid_crypto.h.