<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/next/linux-next.git/drivers/crypto, branch master</title>
<subtitle>The linux-next integration testing tree</subtitle>
<id>https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master</id>
<link rel='self' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/'/>
<updated>2026-09-07T12:26:33+00:00</updated>
<entry>
<title>Merge branch 'master' of https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git</title>
<updated>2026-09-07T12:26:33+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2026-09-07T12:26:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1ad3cd85b97e494564e8d38001efe62f11b20e4b'/>
<id>urn:sha1:1ad3cd85b97e494564e8d38001efe62f11b20e4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>treewide: refresh kmalloc_obj() conversions</title>
<updated>2026-09-05T04:37:00+00:00</updated>
<author>
<name>Kees Cook</name>
<email>kees+treewide@kernel.org</email>
</author>
<published>2026-09-02T22:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d'/>
<id>urn:sha1:3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d</id>
<content type='text'>
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook &lt;kees+treewide@kernel.org&gt;
</content>
</entry>
<entry>
<title>crypto: starfive - handle clock enable failures</title>
<updated>2026-09-04T09:49:33+00:00</updated>
<author>
<name>Jiawen Liu</name>
<email>1298662399@qq.com</email>
</author>
<published>2026-08-18T13:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=5358248961ae23f7253d010ddfde1cfd2556ce22'/>
<id>urn:sha1:5358248961ae23f7253d010ddfde1cfd2556ce22</id>
<content type='text'>
Return error from failed clock enable.

starfive_cryp_probe ignores clk_prepare_enable return for hclk/ahb, then
remove/error paths unconditionally clk_disable_unprepare both clocks.

Check consecutive clk_prepare_enable(cryp-&gt;hclk)/cryp-&gt;ahb returns in
starfive_cryp_probe.

Signed-off-by: Jiawen Liu &lt;1298662399@qq.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: ccree - use crypto_memneq() to compare AEAD tag</title>
<updated>2026-09-04T09:49:33+00:00</updated>
<author>
<name>David C.C.M. Gall</name>
<email>david.ccm.gall@googlemail.com</email>
</author>
<published>2026-08-15T17:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=97e5869514bd4800593d5b13dc01c42f7d6a1ccc'/>
<id>urn:sha1:97e5869514bd4800593d5b13dc01c42f7d6a1ccc</id>
<content type='text'>
cc_aead_complete() compares the computed MAC against the received ICV
with memcmp(), which short-circuits on the first differing byte and
leaks tag-match length via timing. Use crypto_memneq() instead.

Assisted-by: gregkh_clanker_t1000
Signed-off-by: David C.C.M. Gall &lt;david.ccm.gall@googlemail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx - use crypto_memneq() to check HMAC</title>
<updated>2026-09-04T09:49:33+00:00</updated>
<author>
<name>David C.C.M. Gall</name>
<email>david.ccm.gall@googlemail.com</email>
</author>
<published>2026-08-15T17:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=caad4d7cbca42f075be867490cfad8d204f40710'/>
<id>urn:sha1:caad4d7cbca42f075be867490cfad8d204f40710</id>
<content type='text'>
validate_hmac_cipher_null() compares the computed and received HMAC
with memcmp(), which short-circuits on the first differing byte and
leaks tag-match length via timing. Use crypto_memneq() instead.

Because for cipher_null the validated payload is un-encrypted, this
valid prefix leak allows for authenticated message forgery.

Assisted-by: gregkh_clanker_t1000
Signed-off-by: David C.C.M. Gall &lt;david.ccm.gall@googlemail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: octeontx2 - use crypto_memneq() to check HMAC for cipher_null authenc</title>
<updated>2026-09-04T09:49:33+00:00</updated>
<author>
<name>David C.C.M. Gall</name>
<email>david.ccm.gall@googlemail.com</email>
</author>
<published>2026-08-15T17:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=aaab22844300556823474f57aa7622e87606afb0'/>
<id>urn:sha1:aaab22844300556823474f57aa7622e87606afb0</id>
<content type='text'>
validate_hmac_cipher_null() compares the computed and received HMAC
with memcmp(), which short-circuits on the first differing byte and
leaks tag-match length via timing. Use crypto_memneq() instead.

Because for cipher_null the validated payload is un-encrypted, this
valid prefix leak allows for authenticated message forgery.

Assisted-by: gregkh_clanker_t1000
Signed-off-by: David C.C.M. Gall &lt;david.ccm.gall@googlemail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: qce - simplify control flow in register functions</title>
<updated>2026-09-04T09:49:33+00:00</updated>
<author>
<name>Thorsten Blum</name>
<email>thorsten.blum@linux.dev</email>
</author>
<published>2026-08-15T15:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=844de214375b213cd20a38198594b9c5321ed2eb'/>
<id>urn:sha1:844de214375b213cd20a38198594b9c5321ed2eb</id>
<content type='text'>
Remove the goto statements and handle errors directly to simplify the
control flow in qce_aead_register(), qce_ahash_register(), and
qce_skcipher_register().

Signed-off-by: Thorsten Blum &lt;thorsten.blum@linux.dev&gt;
Reviewed-by: Bartosz Golaszewski &lt;bartosz.golaszewski@oss.qualcomm.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: crypto4xx - pass core_dev to request_irq</title>
<updated>2026-09-04T09:49:32+00:00</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2026-08-12T19:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3244eef8b5cf120ec5428b2b8172c7a87bc64862'/>
<id>urn:sha1:3244eef8b5cf120ec5428b2b8172c7a87bc64862</id>
<content type='text'>
Instead of using a get_drvdata function to get the proper struct, just
pass the proper thing directly.

Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: rockchip - pass crypto_info to irq handler</title>
<updated>2026-09-04T09:48:47+00:00</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2026-08-11T04:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=7702659bc3a95fc153934f17d51b72fae510260e'/>
<id>urn:sha1:7702659bc3a95fc153934f17d51b72fae510260e</id>
<content type='text'>
The irq handler takes the platform device and calls
platform_get_drvdata() to recover the driver data.  Pass the
driver data directly as the devm_request_irq() argument instead,
dropping the platform_get_drvdata() call.

Assisted-by: opencode:deepseek-v4-flash-free
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>crypto: s5p-sss - pass s5p_aes_dev to irq handler</title>
<updated>2026-09-04T09:48:47+00:00</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2026-08-11T04:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.landau.one/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a97e714abb75c6c94c674468092356dcf805772b'/>
<id>urn:sha1:a97e714abb75c6c94c674468092356dcf805772b</id>
<content type='text'>
The threaded irq handler takes the platform device and calls
platform_get_drvdata() to recover the driver data.  Pass the driver
data directly as the devm_request_threaded_irq() argument instead,
dropping the platform_get_drvdata() call.

Assisted-by: opencode:deepseek-v4-flash-free
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
</feed>
