Skip to content

Commit

Permalink
drivers: crypto: smartbond: Support crypto device
Browse files Browse the repository at this point in the history
Add support for cipher and hash operations via the crypto engine.

Signed-off-by: Ioannis Karachalios <[email protected]>
  • Loading branch information
ioannis-karachalios committed Sep 28, 2023
1 parent db25bd3 commit 7169f87
Show file tree
Hide file tree
Showing 5 changed files with 990 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ zephyr_library_sources_ifdef(CONFIG_CRYPTO_TINYCRYPT_SHIM crypto_tc_shim.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_ATAES132A crypto_ataes132a.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_MBEDTLS_SHIM crypto_mtls_shim.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_STM32 crypto_stm32.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_SMARTBOND crypto_smartbond.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_NRF_ECB crypto_nrf_ecb.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_INTEL_SHA crypto_intel_sha.c)
zephyr_library_sources_ifdef(CONFIG_CRYPTO_NPCX_SHA crypto_npcx_sha.c)
Expand Down
1 change: 1 addition & 0 deletions drivers/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ source "drivers/crypto/Kconfig.npcx"
source "drivers/crypto/Kconfig.xec"
source "drivers/crypto/Kconfig.it8xxx2"
source "drivers/crypto/Kconfig.mcux_dcp"
source "drivers/crypto/Kconfig.smartbond"

endif # CRYPTO
16 changes: 16 additions & 0 deletions drivers/crypto/Kconfig.smartbond
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Smartbond Cryptographic Accelerator configuration options

# Copyright (c) 2023 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0

menuconfig CRYPTO_SMARTBOND
bool "Smartbond Cryptographic Accelerator driver"
depends on DT_HAS_RENESAS_SMARTBOND_CRYPTO_ENABLED
help
Enable Smartbond Cryptographic Accelerator driver.

config CRYPTO_ASYNC
bool "Support ASYNC crypto operations."
depends on CRYPTO_SMARTBOND
help
Enable ASYNC crypto operations.
Loading

0 comments on commit 7169f87

Please sign in to comment.