-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
doc: nrf_security: Improve PSA configuration documentation #11702
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
1ac4eae
to
e45406b
Compare
2520bb8
to
d4bc41f
Compare
| GCM | :kconfig:option:`CONFIG_PSA_CRYPTO_DRIVER_ALG_GCM_CC3XX` | :kconfig:option:`CONFIG_PSA_CRYPTO_DRIVER_ALG_GCM_OBERON` | | ||
+-----------------------+------------------------------------------------------------------------+-------------------------------------------------------------------------+ | ||
| ChaCha20-Poly1305 | :kconfig:option:`CONFIG_PSA_CRYPTO_DRIVER_ALG_CHACHA20_POLY1305_CC3XX` | :kconfig:option:`CONFIG_PSA_CRYPTO_DRIVER_ALG_CHACHA20_POLY1305_OBERON` | | ||
+-----------------------+------------------------------------------------------------------------+-------------------------------------------------------------------------+ | ||
|
||
.. note:: | ||
* The :ref:`nrf_security_drivers_cc3xx` is limited to AES key sizes of 128 bits on devices with Arm CryptoCell cc310. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should AES be removed before GCM in the line below as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the limitation is still valid. we only support AES, and we only support AES key size of 128 bits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to be sure we're not misunderstanding each other :D I meant in line below (i.e. line 189), with the following text:
- The :ref:
nrf_security_drivers_cc3xx
does not provide hardware support for AES GCM on devices with Arm CryptoCell cc310.
I guess I am not sure why we removed AES from AES GCM in the table above, but we're still keeping it in the limitation in the note below the table.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, my bad, I didn't read your comment properly.
Yeah, we can say don't support GCM at all.
d4bc41f
to
019b277
Compare
77eae59
to
87d6573
Compare
Improve documentation text, change all references to PKCS1V15 to PKCS#1 v1.5. NCSDK-21520 Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Use the PSA naming of the chachapoly algorithm. This makes it consistent with the PSA documentation as well as the PSA configuration name. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Remove mentions of AES in the cipher documentation. The block ciphers can use different types of block cipher encryption. Stream cipher does not support AES keys at all. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Use better naming for cipher names. Document these use natural language instead of code casing. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Use better naming for PRNG names. Document these use natural language instead of code casing. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Add documentation for enabling PSA RNG configuration. This configuration is new with Oberon PSA core and was not possible to disable earlier. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Update zephyr to include the PSA configuration dependency fixes. This also aligns the PSA configuration names with the NCS documentation. Update nrfxlib to match NCS documentation naming. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
87d6573
to
0f7f9e4
Compare
Improve the PSA configuration.
See commits for details.
Pull zephyr for PSA dependency fixes, as well as updating PSA configuration to be aligned with NCS documentation.