Skip to content

Commit e0f02d9

Browse files
jpanisbldkalowsk
authored andcommitted
drivers: crypto: cc23x0: Add support for DMA mode
Two DMA channels are assigned to AES channels A and B respectively. Each channel A/B has an interface to control the conditions that will generate requests on the related DMA channel: trigger condition, R/W address, and DMA done action. Signed-off-by: Julien Panis <jpanis@baylibre.com>
1 parent b67b5c5 commit e0f02d9

File tree

3 files changed

+408
-17
lines changed

3 files changed

+408
-17
lines changed

drivers/crypto/Kconfig.cc23x0

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@ config CRYPTO_CC23X0
1313
- ECB (Electronic Code Book) encryption only (decryption not supported by the hardware)
1414
- CTR (Counter)
1515
- CCM (CTR with CBC-MAC)
16+
17+
config CRYPTO_CC23X0_DMA
18+
bool "DMA support for TI CC23X0 AES accelerator devices"
19+
depends on CRYPTO_CC23X0
20+
select DMA
21+
help
22+
DMA driven transactions for the AES peripheral.
23+
DMA driven mode offloads data transfer tasks from the CPU
24+
and requires fewer interrupts to handle the AES operations.

0 commit comments

Comments
 (0)