Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/keembay/
H A Docs-aes.h22 OCS_MODE_CCM = 6, enumerator
H A Dkeembay-ocs-aes-core.c617 case OCS_MODE_CCM: in kmb_ocs_aead_validate_input()
775 out_size = (rctx->mode == OCS_MODE_CCM) ? in_size + tag_size : in kmb_ocs_aead_dma_prepare()
816 if (!(rctx->mode == OCS_MODE_CCM && in kmb_ocs_aead_dma_prepare()
900 if (rctx->mode == OCS_MODE_CCM) { in kmb_ocs_aead_run()
1064 return kmb_ocs_aead_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CCM); in kmb_ocs_aes_ccm_encrypt()
1069 return kmb_ocs_aead_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CCM); in kmb_ocs_aes_ccm_decrypt()
1140 return kmb_ocs_aead_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CCM); in kmb_ocs_sm4_ccm_encrypt()
1145 return kmb_ocs_aead_common(req, OCS_SM4, OCS_DECRYPT, OCS_MODE_CCM); in kmb_ocs_sm4_ccm_decrypt()
H A Docs-aes.c613 mode != OCS_MODE_CTR && mode != OCS_MODE_CCM && in ocs_aes_validate_inputs()
728 case OCS_MODE_CCM: in ocs_aes_validate_inputs()
818 if (mode == OCS_MODE_GCM || mode == OCS_MODE_CCM) in ocs_aes_op()
1325 in_tag, tag_size, cipher, OCS_MODE_CCM, in ocs_aes_ccm_op()
1330 ocs_aes_init(aes_dev, OCS_MODE_CCM, cipher, instruction); in ocs_aes_ccm_op()