// SPDX-License-Identifier: GPL-2.0-or-later /* Self-tests for PKCS#7 RSA 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_rsa_keys[] __initconst = …; /* * Signed data and detached signature blobs that form the verification tests. */ static const u8 certs_selftest_rsa_data[] __initconst = …; static const u8 certs_selftest_rsa_sig[] __initconst = …; void __init fips_signature_selftest_rsa(void) { … }