On Fri, Dec 5, 2025 at 9:40 AM Daniel Hodges <[email protected]> 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 <[email protected]> > --- > .../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
