]>
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 | ||
22 | .globl VMLINUX_SYMBOL(system_extra_cert_used) | |
23 | VMLINUX_SYMBOL(system_extra_cert_used): | |
24 | .int 0 | |
25 | ||
26 | #endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */ | |
27 | ||
62226983 HB |
28 | .align 8 |
29 | .globl VMLINUX_SYMBOL(system_certificate_list_size) | |
30 | VMLINUX_SYMBOL(system_certificate_list_size): | |
31 | #ifdef CONFIG_64BIT | |
32 | .quad __cert_list_end - __cert_list_start | |
33 | #else | |
34 | .long __cert_list_end - __cert_list_start | |
35 | #endif |