blob: c9ceb71a43fef10925090939e9ce3de8367e8e86
1 | #include <linux/export.h> |
2 | #include <linux/init.h> |
3 | |
4 | __INITRODATA |
5 | |
6 | .align 8 |
7 | .globl VMLINUX_SYMBOL(system_certificate_list) |
8 | VMLINUX_SYMBOL(system_certificate_list): |
9 | __cert_list_start: |
10 | #ifdef CONFIG_MODULE_SIG |
11 | .incbin "certs/signing_key.x509" |
12 | #endif |
13 | .incbin "certs/x509_certificate_list" |
14 | __cert_list_end: |
15 | |
16 | #ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE |
17 | .globl VMLINUX_SYMBOL(system_extra_cert) |
18 | .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE |
19 | VMLINUX_SYMBOL(system_extra_cert): |
20 | .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0 |
21 | |
22 | .align 4 |
23 | .globl VMLINUX_SYMBOL(system_extra_cert_used) |
24 | VMLINUX_SYMBOL(system_extra_cert_used): |
25 | .int 0 |
26 | |
27 | #endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */ |
28 | |
29 | .align 8 |
30 | .globl VMLINUX_SYMBOL(system_certificate_list_size) |
31 | VMLINUX_SYMBOL(system_certificate_list_size): |
32 | #ifdef CONFIG_64BIT |
33 | .quad __cert_list_end - __cert_list_start |
34 | #else |
35 | .long __cert_list_end - __cert_list_start |
36 | #endif |
37 |