1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/export.h>
3 #include <linux/init.h>
8 .globl system_certificate_list
9 system_certificate_list:
12 #if defined(CONFIG_MODULE_SIG) || defined(CONFIG_IMA_APPRAISE_MODSIG)
13 .incbin "certs/signing_key.x509"
16 .incbin "certs/x509_certificate_list"
19 #ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
20 .globl system_extra_cert
21 .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
23 .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
26 .globl system_extra_cert_used
27 system_extra_cert_used:
30 #endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
33 .globl system_certificate_list_size
34 system_certificate_list_size:
36 .quad __cert_list_end - __cert_list_start
38 .long __cert_list_end - __cert_list_start
42 .globl module_cert_size
45 .quad __module_cert_end - __module_cert_start
47 .long __module_cert_end - __module_cert_start