[PATCH v2 07/12] lib/crypto: tests: Migrate Curve25519 self-test to KUnit
    Eric Biggers 
    ebiggers at kernel.org
       
    Sun Sep  7 09:30:48 AEST 2025
    
    
  
On Sat, Sep 06, 2025 at 02:35:18PM -0700, Eric Biggers wrote:
> +static struct kunit_case curve25519_test_cases[] = {
> +	KUNIT_CASE(test_curve25519),
> +	KUNIT_CASE(test_curve25519_basepoint),
> +	{},
> +};
> +
> +static struct kunit_suite curve25519_test_suite = {
> +	.name = "curve25519",
> +	.test_cases = curve25519_test_cases,
> +};
> +kunit_test_suite(curve25519_test_suite);
Correction: there should be a module description and license here.
MODULE_DESCRIPTION("KUnit tests and benchmark for Curve25519");
MODULE_LICENSE("GPL");
- Eric
    
    
More information about the Linuxppc-dev
mailing list