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

/linux-4.4.14/drivers/crypto/qat/qat_common/
H A Dqat_algs.c288 struct icp_qat_fw_cipher_cd_ctrl_hdr *cipher_cd_ctrl = ptr; qat_alg_aead_init_enc_session() local
316 cipher_cd_ctrl->cipher_key_sz = keys->enckeylen >> 3; qat_alg_aead_init_enc_session()
317 cipher_cd_ctrl->cipher_state_sz = AES_BLOCK_SIZE >> 3; qat_alg_aead_init_enc_session()
318 cipher_cd_ctrl->cipher_cfg_offset = 0; qat_alg_aead_init_enc_session()
319 ICP_QAT_FW_COMN_CURR_ID_SET(cipher_cd_ctrl, ICP_QAT_FW_SLICE_CIPHER); qat_alg_aead_init_enc_session()
320 ICP_QAT_FW_COMN_NEXT_ID_SET(cipher_cd_ctrl, ICP_QAT_FW_SLICE_AUTH); qat_alg_aead_init_enc_session()
370 struct icp_qat_fw_cipher_cd_ctrl_hdr *cipher_cd_ctrl = ptr; qat_alg_aead_init_dec_session() local
403 cipher_cd_ctrl->cipher_key_sz = keys->enckeylen >> 3; qat_alg_aead_init_dec_session()
404 cipher_cd_ctrl->cipher_state_sz = AES_BLOCK_SIZE >> 3; qat_alg_aead_init_dec_session()
405 cipher_cd_ctrl->cipher_cfg_offset = qat_alg_aead_init_dec_session()
408 ICP_QAT_FW_COMN_CURR_ID_SET(cipher_cd_ctrl, ICP_QAT_FW_SLICE_CIPHER); qat_alg_aead_init_dec_session()
409 ICP_QAT_FW_COMN_NEXT_ID_SET(cipher_cd_ctrl, ICP_QAT_FW_SLICE_DRAM_WR); qat_alg_aead_init_dec_session()

Completed in 58 milliseconds