Commit | Line | Data |
---|---|---|
b92021b0 | 1 | #include <linux/export.h> |
b56e5a17 | 2 | #include <linux/init.h> |
919aa45e | 3 | |
b56e5a17 | 4 | __INITRODATA |
919aa45e | 5 | |
62226983 | 6 | .align 8 |
6ef4d2ea CG |
7 | .globl VMLINUX_SYMBOL(system_certificate_list) |
8 | VMLINUX_SYMBOL(system_certificate_list): | |
62226983 | 9 | __cert_list_start: |
770f2b98 | 10 | #ifdef CONFIG_MODULE_SIG |
cfc411e7 | 11 | .incbin "certs/signing_key.x509" |
770f2b98 | 12 | #endif |
cfc411e7 | 13 | .incbin "certs/x509_certificate_list" |
62226983 HB |
14 | __cert_list_end: |
15 | ||
c4c36105 MK |
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 | ||
0d1db3e3 | 22 | .align 4 |
c4c36105 MK |
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 | ||
62226983 HB |
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 |