// SPDX-License-Identifier: GPL-2.0-or-later /* Self-testing for signature checking. * * Copyright (C) 2022 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected]) */ #include <crypto/pkcs7.h> #include <linux/cred.h> #include <linux/kernel.h> #include <linux/key.h> #include <linux/module.h> #include "selftest.h" #include "x509_parser.h" void fips_signature_selftest(const char *name, const u8 *keys, size_t keys_len, const u8 *data, size_t data_len, const u8 *sig, size_t sig_len) { … } static int __init fips_signature_selftest_init(void) { … } late_initcall(fips_signature_selftest_init); MODULE_DESCRIPTION(…) …; MODULE_AUTHOR(…) …; MODULE_LICENSE(…) …;