Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/keembay/
Dkeembay-ocs-aes-core.c620 case OCS_MODE_CCM: in kmb_ocs_aead_validate_input()
778 out_size = (rctx->mode == OCS_MODE_CCM) ? in_size + tag_size : in kmb_ocs_aead_dma_prepare()
819 if (!(rctx->mode == OCS_MODE_CCM && in kmb_ocs_aead_dma_prepare()
903 if (rctx->mode == OCS_MODE_CCM) { in kmb_ocs_aead_run()
1067 return kmb_ocs_aead_common(req, OCS_AES, OCS_ENCRYPT, OCS_MODE_CCM); in kmb_ocs_aes_ccm_encrypt()
1072 return kmb_ocs_aead_common(req, OCS_AES, OCS_DECRYPT, OCS_MODE_CCM); in kmb_ocs_aes_ccm_decrypt()
1143 return kmb_ocs_aead_common(req, OCS_SM4, OCS_ENCRYPT, OCS_MODE_CCM); in kmb_ocs_sm4_ccm_encrypt()
1148 return kmb_ocs_aead_common(req, OCS_SM4, OCS_DECRYPT, OCS_MODE_CCM); in kmb_ocs_sm4_ccm_decrypt()
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()
Docs-aes.h22 OCS_MODE_CCM = 6, enumerator