#ifndef _ICP_QAT_FW_LA_H_
#define _ICP_QAT_FW_LA_H_
#include "icp_qat_fw.h"
enum icp_qat_fw_la_cmd_id { … };
#define ICP_QAT_FW_LA_ICV_VER_STATUS_PASS …
#define ICP_QAT_FW_LA_ICV_VER_STATUS_FAIL …
#define ICP_QAT_FW_LA_TRNG_STATUS_PASS …
#define ICP_QAT_FW_LA_TRNG_STATUS_FAIL …
struct icp_qat_fw_la_bulk_req { … };
#define ICP_QAT_FW_LA_USE_UCS_SLICE_TYPE …
#define QAT_LA_SLICE_TYPE_BITPOS …
#define QAT_LA_SLICE_TYPE_MASK …
#define ICP_QAT_FW_LA_GCM_IV_LEN_12_OCTETS …
#define ICP_QAT_FW_LA_GCM_IV_LEN_NOT_12_OCTETS …
#define QAT_FW_LA_ZUC_3G_PROTO_FLAG_BITPOS …
#define ICP_QAT_FW_LA_ZUC_3G_PROTO …
#define QAT_FW_LA_ZUC_3G_PROTO_FLAG_MASK …
#define QAT_LA_GCM_IV_LEN_FLAG_BITPOS …
#define QAT_LA_GCM_IV_LEN_FLAG_MASK …
#define ICP_QAT_FW_LA_DIGEST_IN_BUFFER …
#define ICP_QAT_FW_LA_NO_DIGEST_IN_BUFFER …
#define QAT_LA_DIGEST_IN_BUFFER_BITPOS …
#define QAT_LA_DIGEST_IN_BUFFER_MASK …
#define ICP_QAT_FW_LA_SNOW_3G_PROTO …
#define ICP_QAT_FW_LA_GCM_PROTO …
#define ICP_QAT_FW_LA_CCM_PROTO …
#define ICP_QAT_FW_LA_NO_PROTO …
#define QAT_LA_PROTO_BITPOS …
#define QAT_LA_PROTO_MASK …
#define ICP_QAT_FW_LA_CMP_AUTH_RES …
#define ICP_QAT_FW_LA_NO_CMP_AUTH_RES …
#define QAT_LA_CMP_AUTH_RES_BITPOS …
#define QAT_LA_CMP_AUTH_RES_MASK …
#define ICP_QAT_FW_LA_RET_AUTH_RES …
#define ICP_QAT_FW_LA_NO_RET_AUTH_RES …
#define QAT_LA_RET_AUTH_RES_BITPOS …
#define QAT_LA_RET_AUTH_RES_MASK …
#define ICP_QAT_FW_LA_UPDATE_STATE …
#define ICP_QAT_FW_LA_NO_UPDATE_STATE …
#define QAT_LA_UPDATE_STATE_BITPOS …
#define QAT_LA_UPDATE_STATE_MASK …
#define ICP_QAT_FW_CIPH_AUTH_CFG_OFFSET_IN_CD_SETUP …
#define ICP_QAT_FW_CIPH_AUTH_CFG_OFFSET_IN_SHRAM_CP …
#define QAT_LA_CIPH_AUTH_CFG_OFFSET_BITPOS …
#define QAT_LA_CIPH_AUTH_CFG_OFFSET_MASK …
#define ICP_QAT_FW_CIPH_IV_64BIT_PTR …
#define ICP_QAT_FW_CIPH_IV_16BYTE_DATA …
#define QAT_LA_CIPH_IV_FLD_BITPOS …
#define QAT_LA_CIPH_IV_FLD_MASK …
#define ICP_QAT_FW_LA_PARTIAL_NONE …
#define ICP_QAT_FW_LA_PARTIAL_START …
#define ICP_QAT_FW_LA_PARTIAL_MID …
#define ICP_QAT_FW_LA_PARTIAL_END …
#define QAT_LA_PARTIAL_BITPOS …
#define QAT_LA_PARTIAL_MASK …
#define ICP_QAT_FW_LA_FLAGS_BUILD(zuc_proto, gcm_iv_len, auth_rslt, proto, \
cmp_auth, ret_auth, update_state, \
ciph_iv, ciphcfg, partial) …
#define ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_GET(flags) …
#define ICP_QAT_FW_LA_CIPH_AUTH_CFG_OFFSET_FLAG_GET(flags) …
#define ICP_QAT_FW_LA_ZUC_3G_PROTO_FLAG_GET(flags) …
#define ICP_QAT_FW_LA_GCM_IV_LEN_FLAG_GET(flags) …
#define ICP_QAT_FW_LA_PROTO_GET(flags) …
#define ICP_QAT_FW_LA_CMP_AUTH_GET(flags) …
#define ICP_QAT_FW_LA_RET_AUTH_GET(flags) …
#define ICP_QAT_FW_LA_DIGEST_IN_BUFFER_GET(flags) …
#define ICP_QAT_FW_LA_UPDATE_STATE_GET(flags) …
#define ICP_QAT_FW_LA_PARTIAL_GET(flags) …
#define ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_SET(flags, val) …
#define ICP_QAT_FW_LA_CIPH_AUTH_CFG_OFFSET_FLAG_SET(flags, val) …
#define ICP_QAT_FW_LA_ZUC_3G_PROTO_FLAG_SET(flags, val) …
#define ICP_QAT_FW_LA_GCM_IV_LEN_FLAG_SET(flags, val) …
#define ICP_QAT_FW_LA_PROTO_SET(flags, val) …
#define ICP_QAT_FW_LA_CMP_AUTH_SET(flags, val) …
#define ICP_QAT_FW_LA_RET_AUTH_SET(flags, val) …
#define ICP_QAT_FW_LA_DIGEST_IN_BUFFER_SET(flags, val) …
#define ICP_QAT_FW_LA_UPDATE_STATE_SET(flags, val) …
#define ICP_QAT_FW_LA_PARTIAL_SET(flags, val) …
#define ICP_QAT_FW_LA_SLICE_TYPE_SET(flags, val) …
struct icp_qat_fw_cipher_req_hdr_cd_pars { … };
struct icp_qat_fw_cipher_auth_req_hdr_cd_pars { … };
struct icp_qat_fw_cipher_cd_ctrl_hdr { … };
struct icp_qat_fw_auth_cd_ctrl_hdr { … };
struct icp_qat_fw_cipher_auth_cd_ctrl_hdr { … };
#define ICP_QAT_FW_AUTH_HDR_FLAG_DO_NESTED …
#define ICP_QAT_FW_AUTH_HDR_FLAG_NO_NESTED …
#define ICP_QAT_FW_CCM_GCM_AAD_SZ_MAX …
#define ICP_QAT_FW_HASH_REQUEST_PARAMETERS_OFFSET …
#define ICP_QAT_FW_CIPHER_REQUEST_PARAMETERS_OFFSET …
struct icp_qat_fw_la_cipher_req_params { … };
struct icp_qat_fw_la_auth_req_params { … } __packed;
struct icp_qat_fw_la_auth_req_params_resrvd_flds { … };
struct icp_qat_fw_la_resp { … };
#define ICP_QAT_FW_CIPHER_NEXT_ID_GET(cd_ctrl_hdr_t) …
#define ICP_QAT_FW_CIPHER_NEXT_ID_SET(cd_ctrl_hdr_t, val) …
#define ICP_QAT_FW_CIPHER_CURR_ID_GET(cd_ctrl_hdr_t) …
#define ICP_QAT_FW_CIPHER_CURR_ID_SET(cd_ctrl_hdr_t, val) …
#define ICP_QAT_FW_AUTH_NEXT_ID_GET(cd_ctrl_hdr_t) …
#define ICP_QAT_FW_AUTH_NEXT_ID_SET(cd_ctrl_hdr_t, val) …
#define ICP_QAT_FW_AUTH_CURR_ID_GET(cd_ctrl_hdr_t) …
#define ICP_QAT_FW_AUTH_CURR_ID_SET(cd_ctrl_hdr_t, val) …
#endif