mbox series

[v2,0/8] STM32 CRYP driver: many fixes

Message ID 20211102164729.9957-1-nicolas.toromanoff@foss.st.com (mailing list archive)
Headers show
Series STM32 CRYP driver: many fixes | expand

Message

Nicolas Toromanoff Nov. 2, 2021, 4:47 p.m. UTC
Hello,

This set of patches update the STM32 CRYP driver.

First two update about EPROBE_DEFER management.
Then many fixes to success the cryptomanager EXTRA_TESTS.
And finally we reorder the initialization to set the key as last step.

This patch series applies to cryptodev/master.

v1 -> v2 :
  - use crypto_inc() in "crypto: stm32/cryp - fix CTR counter carry".
  - more explicit commit description.
  - with CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y all tests pass, at boot 
    if built into kernel, at insmod if in module. (as v1)

Etienne Carriere (2):
  crypto: stm32/cryp - defer probe for reset controller
  crypto: stm32/cryp - don't print error on probe deferral

Nicolas Toromanoff (6):
  crypto: stm32/cryp - fix CTR counter carry
  crypto: stm32/cryp - fix race condition in crypto_engine requests
  crypto: stm32/cryp - check early input data
  crypto: stm32/cryp - fix double pm exit.
  crypto: stm32/cryp - fix bugs and crash in tests
  crypto: stm32/cryp - reorder hw initialization

 drivers/crypto/stm32/stm32-cryp.c | 983 ++++++++++++------------------
 1 file changed, 403 insertions(+), 580 deletions(-)


base-commit: 3ae88f676aa63366ffa9eebb8ae787c7e19f0c57