Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_security: Move PSA_WANT symbols from Zephyr to nrf_security #17724

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,8 @@ To enable cipher modes, set one or more of the Kconfig options in the following
+-----------------------+------------------------------------------------------+
| CBC PKCS#7 padding | :kconfig:option:`CONFIG_PSA_WANT_ALG_CBC_PKCS7` |
+-----------------------+------------------------------------------------------+
| CFB | :kconfig:option:`CONFIG_PSA_WANT_ALG_CFB` |
+-----------------------+------------------------------------------------------+
| CTR | :kconfig:option:`CONFIG_PSA_WANT_ALG_CTR` |
+-----------------------+------------------------------------------------------+
| OFB | :kconfig:option:`CONFIG_PSA_WANT_ALG_OFB` |
+-----------------------+------------------------------------------------------+
| CCM* no tag | :kconfig:option:`CONFIG_PSA_WANT_ALG_CCM_STAR_NO_TAG`|
+-----------------------+------------------------------------------------------+
| XTS | :kconfig:option:`CONFIG_PSA_WANT_ALG_XTS` |
Expand All @@ -149,12 +145,8 @@ The following table shows cipher algorithm support for each driver:
+-----------------------+---------------------------+----------------------------+---------------------------+
| CBC PKCS#7 padding | Supported | Supported | Supported |
+-----------------------+---------------------------+----------------------------+---------------------------+
| CFB | Not supported | Not supported | Not supported |
+-----------------------+---------------------------+----------------------------+---------------------------+
| CTR | Supported | Supported | Supported |
+-----------------------+---------------------------+----------------------------+---------------------------+
| OFB | Supported | Not supported | Supported |
+-----------------------+---------------------------+----------------------------+---------------------------+
| CCM* no tag | Not supported | Supported | Not supported |
+-----------------------+---------------------------+----------------------------+---------------------------+
| XTS | Not supported | Not supported | Not supported |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,13 @@ Gazell libraries

|no_changes_yet_note|

Security libraries
------------------

* :ref:`nrf_security` library:

* Removed the Kconfig options ``CONFIG_PSA_WANT_ALG_CFB`` and ``CONFIG_PSA_WANT_ALG_OFB`` since the Cipher Feedback (CFB) mode and the Output Feedback (OFB) mode are not tested in the test framework.

Modem libraries
---------------

Expand Down
5 changes: 3 additions & 2 deletions subsys/nrf_security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ config NRF_SECURITY
Set this configuration to enable nRF Security. This provides
Arm PSA cryptography APIs with RNG support (optionally).

# Include Nordic-only PSA configurations
rsource "Kconfig.psa.nordic"

config PSA_PROMPTLESS
bool

Expand Down Expand Up @@ -190,9 +193,7 @@ config MBEDTLS_CIPHER_ALL_ENABLED
select PSA_WANT_ALG_ECB_NO_PADDING
select PSA_WANT_ALG_CBC_NO_PADDING
select PSA_WANT_ALG_CBC_PKCS7
select PSA_WANT_ALG_CFB
select PSA_WANT_ALG_CTR
select PSA_WANT_ALG_OFB
select PSA_WANT_ALG_CCM
select PSA_WANT_ALG_GCM
select PSA_WANT_KEY_TYPE_CHACHA20
Expand Down
Loading
Loading