blob: 9216e8c817649eefd3a6d9c2a64a1b4da2b38ffe [file] [log] [blame]
David Howellsb56e5a12013-08-30 16:07:30 +01001#include <linux/export.h>
2#include <linux/init.h>
3
David Howellsb56e5a12013-08-30 16:07:30 +01004 __INITRODATA
5
Hendrik Brueckner62226982013-12-05 14:48:22 +01006 .align 8
Chen Gang6ef4d2e2013-10-30 09:11:28 +08007 .globl VMLINUX_SYMBOL(system_certificate_list)
8VMLINUX_SYMBOL(system_certificate_list):
Hendrik Brueckner62226982013-12-05 14:48:22 +01009__cert_list_start:
David Woodhouse770f2b92015-07-20 21:16:34 +010010#ifdef CONFIG_MODULE_SIG
David Howellscfc411e2015-08-14 15:20:41 +010011 .incbin "certs/signing_key.x509"
David Woodhouse770f2b92015-07-20 21:16:34 +010012#endif
David Howellscfc411e2015-08-14 15:20:41 +010013 .incbin "certs/x509_certificate_list"
Hendrik Brueckner62226982013-12-05 14:48:22 +010014__cert_list_end:
15
16 .align 8
17 .globl VMLINUX_SYMBOL(system_certificate_list_size)
18VMLINUX_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