<feed xmlns='http://www.w3.org/2005/Atom'>
<title>laptop-kernel/lib/crypto/tests/sm3_kunit.c, branch master</title>
<subtitle>Linux kernel tree for laptop</subtitle>
<id>https://git.zx2c4.com/laptop-kernel/atom/lib/crypto/tests/sm3_kunit.c?h=master</id>
<link rel='self' href='https://git.zx2c4.com/laptop-kernel/atom/lib/crypto/tests/sm3_kunit.c?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/laptop-kernel/'/>
<updated>2026-08-11T03:17:56Z</updated>
<entry>
<title>lib/crypto: tests: Use per-test-case buffers in hash tests</title>
<updated>2026-08-11T03:17:56Z</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@kernel.org</email>
</author>
<published>2026-08-02T23:30:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/laptop-kernel/commit/?id=81dbcc3e0424982b4639f96149620e97cf0cddbf'/>
<id>urn:sha1:81dbcc3e0424982b4639f96149620e97cf0cddbf</id>
<content type='text'>
Make the test cases more self-contained by replacing the test suite
scoped guarded buffer ('test_buf') with buffers allocated by each test
case using the helper functions in test-utils.h.

Reviewed-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Link: https://patch.msgid.link/20260802233005.161467-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers &lt;ebiggers@kernel.org&gt;
</content>
</entry>
<entry>
<title>lib/crypto: tests: Add KUnit tests for SM3</title>
<updated>2026-03-24T00:50:59Z</updated>
<author>
<name>Eric Biggers</name>
<email>ebiggers@kernel.org</email>
</author>
<published>2026-03-21T04:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/laptop-kernel/commit/?id=d6781b8ba33ae9f6ab2e88c1158e989a24847c4b'/>
<id>urn:sha1:d6781b8ba33ae9f6ab2e88c1158e989a24847c4b</id>
<content type='text'>
Add a KUnit test suite for the SM3 library.  It closely mirrors the test
suites for the other cryptographic hash functions.  The actual test and
benchmark logic is already in hash-test-template.h; this just wires it
up for SM3 in the usual way.

Acked-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Link: https://lore.kernel.org/r/20260321040935.410034-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers &lt;ebiggers@kernel.org&gt;
</content>
</entry>
</feed>
