lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHzjS_vP=9ghBKvUv80b9zyKHRG6S=A7e0UNsagX+7C2CUhgXw@mail.gmail.com>
Date: Fri, 5 Dec 2025 17:16:12 -0800
From: Song Liu <song@...nel.org>
To: Daniel Hodges <git@...ielhodges.dev>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org, 
	vadim.fedorenko@...ux.dev, martin.lau@...ux.dev, eddyz87@...il.com, 
	song@...nel.org, yonghong.song@...ux.dev, john.fastabend@...il.com, 
	kpsingh@...nel.org, sdf@...ichev.me, haoluo@...gle.com, jolsa@...nel.org, 
	herbert@...dor.apana.org.au, davem@...emloft.net, shuah@...nel.org, 
	bpf@...r.kernel.org, linux-crypto@...r.kernel.org, 
	linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next v2 5/5] selftests/bpf: Add tests for ECDSA
 signature verification kfuncs

On Fri, Dec 5, 2025 at 9:40 AM Daniel Hodges <git@...ielhodges.dev> wrote:
>
> Add selftests to validate the ECDSA signature verification kfuncs
> introduced in the BPF crypto subsystem. The tests verify both valid
> signature acceptance and invalid signature rejection using the
> context-based ECDSA API.
>
> The tests use RFC 6979 test vectors for NIST P-256 (secp256r1) with
> well-known valid signatures. The algorithm "p1363(ecdsa-nist-p256)"
> is used to handle standard r||s signature format.
>
> Signed-off-by: Daniel Hodges <git@...ielhodges.dev>
> ---
>  .../selftests/bpf/prog_tests/ecdsa_verify.c   |  74 ++++++++
>  .../selftests/bpf/progs/ecdsa_verify.c        | 159 ++++++++++++++++++

I think we should also add CONFIG_CRYPTO_ECDSA to
selftests/bpf/config?

Thanks,
Song

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ