2013-03-15 05:34:17 +01:00
|
|
|
#include <linux/export.h>
|
2013-08-30 17:07:30 +02:00
|
|
|
#include <linux/init.h>
|
2012-12-11 02:07:13 +01:00
|
|
|
|
2013-08-30 17:07:30 +02:00
|
|
|
__INITRODATA
|
2012-12-11 02:07:13 +01:00
|
|
|
|
2013-12-05 14:48:22 +01:00
|
|
|
.align 8
|
2013-10-30 02:11:28 +01:00
|
|
|
.globl VMLINUX_SYMBOL(system_certificate_list)
|
|
|
|
VMLINUX_SYMBOL(system_certificate_list):
|
2013-12-05 14:48:22 +01:00
|
|
|
__cert_list_start:
|
2015-07-20 22:16:34 +02:00
|
|
|
#ifdef CONFIG_MODULE_SIG
|
2015-08-14 16:20:41 +02:00
|
|
|
.incbin "certs/signing_key.x509"
|
2015-07-20 22:16:34 +02:00
|
|
|
#endif
|
2015-08-14 16:20:41 +02:00
|
|
|
.incbin "certs/x509_certificate_list"
|
2013-12-05 14:48:22 +01:00
|
|
|
__cert_list_end:
|
|
|
|
|
2015-11-24 22:18:05 +01:00
|
|
|
#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
|
|
|
|
.globl VMLINUX_SYMBOL(system_extra_cert)
|
|
|
|
.size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
|
|
|
|
VMLINUX_SYMBOL(system_extra_cert):
|
|
|
|
.fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
|
|
|
|
|
2016-02-29 15:44:30 +01:00
|
|
|
.align 4
|
2015-11-24 22:18:05 +01:00
|
|
|
.globl VMLINUX_SYMBOL(system_extra_cert_used)
|
|
|
|
VMLINUX_SYMBOL(system_extra_cert_used):
|
|
|
|
.int 0
|
|
|
|
|
|
|
|
#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
|
|
|
|
|
2013-12-05 14:48:22 +01:00
|
|
|
.align 8
|
|
|
|
.globl VMLINUX_SYMBOL(system_certificate_list_size)
|
|
|
|
VMLINUX_SYMBOL(system_certificate_list_size):
|
|
|
|
#ifdef CONFIG_64BIT
|
|
|
|
.quad __cert_list_end - __cert_list_start
|
|
|
|
#else
|
|
|
|
.long __cert_list_end - __cert_list_start
|
|
|
|
#endif
|