| 382dff55 | 20-Nov-2024 |
Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> |
fix(st-crypto): improve RNG health test configuration
The default health test configuration in RNG_HTCR is not good enough. It implies too many zero random generations. Set a better value to improve
fix(st-crypto): improve RNG health test configuration
The default health test configuration in RNG_HTCR is not good enough. It implies too many zero random generations. Set a better value to improve the IP behavior.
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Change-Id: I7e05e52466be68fdbf5439931a9f01dcfa57a24d
show more ...
|
| 02b770ae | 22-Feb-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
feat(st-crypto): add multi instance and error management in RNG driver
Allows the driver to initialize as many RNG instances as enabled in the device tree. The driver will still use only one instanc
feat(st-crypto): add multi instance and error management in RNG driver
Allows the driver to initialize as many RNG instances as enabled in the device tree. The driver will still use only one instance for the TF-A purpose as it needs only one to work. The others are activated because needed by specific IPs.
Seed errors are now also checked after null data read. The Reference Manual recommends to always verify that RNG_DR is different from zero. Because when it is the case a seed error can occur between RNG_SR polling and RND_DR output reading (rare event).
Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Change-Id: Ie4d7f01f4ffe5a9e2d0e5e7317b008edd3b80a17
show more ...
|
| 379d77b3 | 10-Jan-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(st-crypto): use GENMASK_32 to define PKA registers masks
When compiling the driver in aarch64, and with LOG_LEVEL_VERBOSE, there is a compilation error on the message displaying the version of t
fix(st-crypto): use GENMASK_32 to define PKA registers masks
When compiling the driver in aarch64, and with LOG_LEVEL_VERBOSE, there is a compilation error on the message displaying the version of the peripheral. The masks are making the variable unsigned long, whereas we want to display an unsigned int. As the registers are 32-bit, we should use GENMASK_32 instead of GENMASK.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I002dd5ad901f68a9480f758eaaa4428f969813c1
show more ...
|
| af8dee20 | 18-Apr-2019 |
Yann Gautier <yann.gautier@st.com> |
feat(st-crypto): add STM32 RNG driver
This driver manages the STM32 Random Number Generator peripheral.
Change-Id: I4403ebb2dbdaa8df993a4413f1ef48eeba00427c Signed-off-by: Yann Gautier <yann.gautie
feat(st-crypto): add STM32 RNG driver
This driver manages the STM32 Random Number Generator peripheral.
Change-Id: I4403ebb2dbdaa8df993a4413f1ef48eeba00427c Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
show more ...
|
| 4bb4e836 | 18-Sep-2020 |
Nicolas Toromanoff <nicolas.toromanoff@st.com> |
feat(st-crypto): add AES decrypt/auth by SAES IP
Add code to be able to use STMicroelectronics SAES IP. This driver can manage many AES algorithms (CBC, ECB, CCM, GCM). It will be used by the authen
feat(st-crypto): add AES decrypt/auth by SAES IP
Add code to be able to use STMicroelectronics SAES IP. This driver can manage many AES algorithms (CBC, ECB, CCM, GCM). It will be used by the authenticated decryption framework (AES-GCM only).
Change-Id: Ibd4030719fb12877dcecd5d2c395d13b4b15c260 Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
show more ...
|
| b0fbc02a | 30-Sep-2020 |
Nicolas Toromanoff <nicolas.toromanoff@st.com> |
feat(st-crypto): add ECDSA signature check with PKA
Add code to be able to use STMicroelectronics PKA peripheral in the authentication framework.
Change-Id: Ifeafe84c68db483cd18674f2280576cc065f92e
feat(st-crypto): add ECDSA signature check with PKA
Add code to be able to use STMicroelectronics PKA peripheral in the authentication framework.
Change-Id: Ifeafe84c68db483cd18674f2280576cc065f92ee Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
show more ...
|