Linux 4.15.6
[linux/fpc-iii.git] / certs / system_certificates.S
blob3918ff7235ed8bfb1425269a867cd3133ec58730
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/export.h>
3 #include <linux/init.h>
5         __INITRODATA
7         .align 8
8         .globl VMLINUX_SYMBOL(system_certificate_list)
9 VMLINUX_SYMBOL(system_certificate_list):
10 __cert_list_start:
11 #ifdef CONFIG_MODULE_SIG
12         .incbin "certs/signing_key.x509"
13 #endif
14         .incbin "certs/x509_certificate_list"
15 __cert_list_end:
17 #ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
18         .globl VMLINUX_SYMBOL(system_extra_cert)
19         .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
20 VMLINUX_SYMBOL(system_extra_cert):
21         .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
23         .align 4
24         .globl VMLINUX_SYMBOL(system_extra_cert_used)
25 VMLINUX_SYMBOL(system_extra_cert_used):
26         .int 0
28 #endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
30         .align 8
31         .globl VMLINUX_SYMBOL(system_certificate_list_size)
32 VMLINUX_SYMBOL(system_certificate_list_size):
33 #ifdef CONFIG_64BIT
34         .quad __cert_list_end - __cert_list_start
35 #else
36         .long __cert_list_end - __cert_list_start
37 #endif