On Sun, Nov 29, 2026 at 06:59:42PM +0000, Sasha Levin wrote:
> This is an adapted backport of 4e67f504ee9d ("crypto: nx - fix
> nx_crypto_ctx_exit argument") rather than the upstream diff: only
> nx_crypto_ctx_skcipher_exit() changes. Could you get an ack from the
> crypto/nx folks (Herbert, Eric or Breno) on the adapted version first?Sure, thanks Sasha. Herbert, Eric, Breno: could one of you take a look at the 6.12.y version above? 6.12 predates 9420e628e7d8, so the shash exit path that the upstream fix changes isn't there and only the skcipher half applies. It's a one-line change: nx_crypto_ctx_skcipher_exit() passes crypto_skcipher_tfm(tfm) instead of crypto_skcipher_ctx(tfm), so nx_crypto_ctx_exit() gets the crypto_tfm it expects. It's build-tested only, since I don't have NX hardware. An Acked-by from one of you would let Sasha queue it. Thanks, Dickson On Sun, 29 Nov 2026 13:59:42 -0500, Sasha Levin <[email protected]> wrote: > > [ adapted to 6.12.y: pass the skcipher tfm to the legacy exit helper ] > > This is an adapted backport of 4e67f504ee9d ("crypto: nx - fix > nx_crypto_ctx_exit argument") rather than the upstream diff: only > nx_crypto_ctx_skcipher_exit() changes. Could you get an ack from the > crypto/nx folks (Herbert, Eric or Breno) on the adapted version first? > > -- > Thanks, > Sasha
