Skip to content

Commit a00b3c7

Browse files
sheebzzzhaduongquang
authored andcommitted
doc: clarify gcc-multilib instructions for AArch64
Changed 'remove' to 'omit' to clarify package instructions for AArch64 systems. This improves clarity for users following the Zephyr SDK setup guide. Signed-off-by: Sheeba Babu <sheebakarickom@gmail.com>
1 parent e3d2e7d commit a00b3c7

File tree

19 files changed

+828
-2
lines changed

19 files changed

+828
-2
lines changed

boards/nxp/s32z2xxdc2/doc/index.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,19 @@ External Flash
136136
The on-board S26HS512T 512M-bit HyperFlash memory is connected to the QSPI controller
137137
port A1. This board configuration selects it as the default flash controller.
138138

139+
CRYPTO
140+
======
141+
142+
The Hardware Security Engine (HSE) supports cryptographic operations, including hashing and
143+
symmetric ciphers, with capabilities for ECB, CBC, and CTR modes using RAM-based key catalogs
144+
with 128-bit or 256-bit key lengths.
145+
146+
.. note::
147+
The driver assumes that the HSE Firmware has been installed and configured (i.e the key catalogs
148+
has been formatted, used MU instances has been activated, etc). HSE Firmware installation and
149+
configuration phase documented in HSE Firmware User Manual. Please contact NXP sales person or
150+
NXP distributor in order to have access to that document.
151+
139152
Programming and Debugging
140153
*************************
141154

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ supported:
2222
- pwm
2323
- sent
2424
- psi5
25+
- crypto
2526
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0_D.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ supported:
2222
- pwm
2323
- sent
2424
- psi5
25+
- crypto
2526
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ supported:
2222
- pwm
2323
- sent
2424
- psi5
25+
- crypto
2526
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1_D.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ supported:
2222
- pwm
2323
- sent
2424
- psi5
25+
- crypto
2526
vendor: nxp

doc/develop/getting_started/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The current minimum required version for the main dependencies are:
8484
.. note::
8585

8686
Due to the unavailability of ``gcc-multilib`` and ``g++-multilib`` on AArch64
87-
(ARM64) systems, you may need to remove them from the list of packages to install.
87+
(ARM64) systems, you may need to omit them from the list of packages to install.
8888

8989
#. Verify the versions of the main dependencies installed on your system by entering:
9090

drivers/crypto/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ zephyr_library_sources_ifdef(CONFIG_CRYPTO_MCUX_DCP crypto_mcux_dcp.c)
1717
zephyr_library_sources_ifdef(CONFIG_CRYPTO_SI32 crypto_si32.c)
1818
zephyr_library_sources_ifdef(CONFIG_CRYPTO_CC23X0 crypto_cc23x0.c)
1919
zephyr_library_sources_ifdef(CONFIG_CRYPTO_RTS5912_SHA crypto_rts5912_sha.c)
20+
zephyr_library_sources_ifdef(CONFIG_CRYPTO_NXP_S32_HSE crypto_nxp_s32_hse.c)
2021
zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)

drivers/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ source "drivers/crypto/Kconfig.si32"
6060
source "drivers/crypto/Kconfig.smartbond"
6161
source "drivers/crypto/Kconfig.cc23x0"
6262
source "drivers/crypto/Kconfig.rts5912"
63+
source "drivers/crypto/Kconfig.nxp_s32_hse"
6364

6465
endif # CRYPTO

drivers/crypto/Kconfig.nxp_s32_hse

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2025 NXP
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
menuconfig CRYPTO_NXP_S32_HSE
5+
bool "NXP S32 HSE crypto driver"
6+
default y
7+
depends on DT_HAS_NXP_S32_CRYPTO_HSE_MU_ENABLED
8+
help
9+
Enable NXP HSE crypto driver.
10+
11+
if CRYPTO_NXP_S32_HSE
12+
13+
config CRYPTO_NXP_S32_HSE_OUTPUT_BUFFER_SIZE
14+
int "HSE crypto service output buffer size in bytes"
15+
default 128
16+
help
17+
The output buffer size for storing the output data of HSE crypto service, measured in bytes.
18+
19+
config CRYPTO_NXP_S32_HSE_AES_KEY_SIZE
20+
int "Key size in bits"
21+
default 128
22+
help
23+
The size of the key used in cryptographic algorithms, measured in bits.
24+
Only support for 128 bits or 256 bits.
25+
26+
config CRYPTO_NXP_S32_HSE_AES_KEY_GROUP_ID
27+
int "The AES Key Group ID within RAM Key Catalog."
28+
range 0 255
29+
default 0
30+
help
31+
The AES Key Group ID within RAM Key Catalog.
32+
33+
endif #CRYPTO_NXP_S32_HSE

0 commit comments

Comments
 (0)