David Howells | b56e5a1 | 2013-08-30 16:07:30 +0100 | [diff] [blame] | 1 | #include <linux/export.h> |
| 2 | #include <linux/init.h> |
| 3 | |
David Howells | b56e5a1 | 2013-08-30 16:07:30 +0100 | [diff] [blame] | 4 | __INITRODATA |
| 5 | |
Hendrik Brueckner | 6222698 | 2013-12-05 14:48:22 +0100 | [diff] [blame] | 6 | .align 8 |
Chen Gang | 6ef4d2e | 2013-10-30 09:11:28 +0800 | [diff] [blame] | 7 | .globl VMLINUX_SYMBOL(system_certificate_list) |
| 8 | VMLINUX_SYMBOL(system_certificate_list): |
Hendrik Brueckner | 6222698 | 2013-12-05 14:48:22 +0100 | [diff] [blame] | 9 | __cert_list_start: |
David Woodhouse | 770f2b9 | 2015-07-20 21:16:34 +0100 | [diff] [blame] | 10 | #ifdef CONFIG_MODULE_SIG |
David Howells | cfc411e | 2015-08-14 15:20:41 +0100 | [diff] [blame] | 11 | .incbin "certs/signing_key.x509" |
David Woodhouse | 770f2b9 | 2015-07-20 21:16:34 +0100 | [diff] [blame] | 12 | #endif |
David Howells | cfc411e | 2015-08-14 15:20:41 +0100 | [diff] [blame] | 13 | .incbin "certs/x509_certificate_list" |
Hendrik Brueckner | 6222698 | 2013-12-05 14:48:22 +0100 | [diff] [blame] | 14 | __cert_list_end: |
| 15 | |
| 16 | .align 8 |
| 17 | .globl VMLINUX_SYMBOL(system_certificate_list_size) |
| 18 | VMLINUX_SYMBOL(system_certificate_list_size): |
| 19 | #ifdef CONFIG_64BIT |
| 20 | .quad __cert_list_end - __cert_list_start |
| 21 | #else |
| 22 | .long __cert_list_end - __cert_list_start |
| 23 | #endif |