// SPDX-License-Identifier: GPL-2.0-or-later /* Self-tests for PKCS#7 ECDSA signature verification. * * Copyright (C) 2024 Joachim Vandersmissen <[email protected]> */ #include <linux/module.h> #include "selftest.h" /* * Set of X.509 certificates to provide public keys for the tests. These will * be loaded into a temporary keyring for the duration of the testing. */ static const u8 certs_selftest_ecdsa_keys[] __initconst = …; /* * Signed data and detached signature blobs that form the verification tests. */ static const u8 certs_selftest_ecdsa_data[] __initconst = …; static const u8 certs_selftest_ecdsa_sig[] __initconst = …; void __init fips_signature_selftest_ecdsa(void) { … }