lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240528140548.1632562-1-maxime.mere@foss.st.com>
Date: Tue, 28 May 2024 16:05:44 +0200
From: Maxime MERE <maxime.mere@...s.st.com>
To: Herbert Xu <herbert@...dor.apana.org.au>,
        "David S . Miller"
	<davem@...emloft.net>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Alexandre
 Torgue <alexandre.torgue@...s.st.com>
CC: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
        Rob
 Herring <robh@...nel.org>, <linux-crypto@...r.kernel.org>,
        <linux-stm32@...md-mailman.stormreply.com>,
        <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
        Maxime Méré <maxime.mere@...s.st.com>
Subject: [PATCH v3 0/4] crypto: stm32/cryp - Improve stm32-cryp driver

From: Maxime Méré <maxime.mere@...s.st.com>

This series of patches mainly aims to improve the usage of DMA with the
CRYP peripheral of the STM32 MPU series. The other two patches are
needed to enhance the driver's visibility for ST platforms.

This patchset version 3 addresses the issues identified by Herbert.
The code that raised a warning was in fact useless as there is already
an overflow check in the "stm32_cryp_dma_check" function so I removed
it.

I've also added a new patch that correct a spinlock recursion warning.

Maxime Méré (4):
  crypto: stm32/cryp - use dma when possible.
  crypto: stm32/cryp - increase priority
  crypto: stm32/cryp - add CRYPTO_ALG_KERN_DRIVER_ONLY flag
  crypto: stm32/cryp - call finalize with bh disabled

 drivers/crypto/stm32/stm32-cryp.c | 719 ++++++++++++++++++++++++++++--
 1 file changed, 674 insertions(+), 45 deletions(-)

-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ