Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
crypto: caam/qi,qi2 - set plain_keylen for skcipher descriptors
Since the commit 66b9a095f7f9 ("crypto: caam - Add support of paes algorithm") The shared descriptor then loads a zero-length key and the SEC decodes the inlined key bytes as commands. Test: with CONFIG_CRYPTO_SELFTESTS on LX2160A every skcipher but xts fails: dpaa2_caam dpseci.0: 40000307: DECO: desc idx 3: Invalid LOAD Command alg: skcipher: ctr-aes-caam-qi2 encryption failed on test vector 0; expected_error=0, actual_error=-22, cfg="in-place (one sglist)" caamalg_qi.c is compile-tested only. Fixes: 66b9a095f7f9 ("crypto: caam - Add support of paes algorithm") Signed-off-by: Vincent Jardin <vjardin@free.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Author Vincent Jardin Committer Herbert Xu Date (Oct 8, 2026, 7:48 AM UTC) Commit
Copy SHA
Parent 87bb7ce0 87bb7ce07a212ce4f81bf7bb56b87cfafcd34071