Home
last modified time | relevance | path

Searched refs:cipher_cd_ctrl (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/crypto/qat/qat_common/
Dqat_algs.c268 struct icp_qat_fw_cipher_cd_ctrl_hdr *cipher_cd_ctrl = ptr; in qat_alg_aead_init_enc_session() local
296 cipher_cd_ctrl->cipher_key_sz = keys->enckeylen >> 3; in qat_alg_aead_init_enc_session()
297 cipher_cd_ctrl->cipher_state_sz = AES_BLOCK_SIZE >> 3; in qat_alg_aead_init_enc_session()
298 cipher_cd_ctrl->cipher_cfg_offset = 0; in qat_alg_aead_init_enc_session()
299 ICP_QAT_FW_COMN_CURR_ID_SET(cipher_cd_ctrl, ICP_QAT_FW_SLICE_CIPHER); in qat_alg_aead_init_enc_session()
300 ICP_QAT_FW_COMN_NEXT_ID_SET(cipher_cd_ctrl, ICP_QAT_FW_SLICE_AUTH); in qat_alg_aead_init_enc_session()
350 struct icp_qat_fw_cipher_cd_ctrl_hdr *cipher_cd_ctrl = ptr; in qat_alg_aead_init_dec_session() local
383 cipher_cd_ctrl->cipher_key_sz = keys->enckeylen >> 3; in qat_alg_aead_init_dec_session()
384 cipher_cd_ctrl->cipher_state_sz = AES_BLOCK_SIZE >> 3; in qat_alg_aead_init_dec_session()
385 cipher_cd_ctrl->cipher_cfg_offset = in qat_alg_aead_init_dec_session()
[all …]