0001
0002 #include <linux/export.h>
0003 #include <linux/init.h>
0004
0005 __INITRODATA
0006
0007 .align 8
0008 .globl system_certificate_list
0009 system_certificate_list:
0010 __cert_list_start:
0011 __module_cert_start:
0012 .incbin "certs/signing_key.x509"
0013 __module_cert_end:
0014 .incbin "certs/x509_certificate_list"
0015 __cert_list_end:
0016
0017 #ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
0018 .globl system_extra_cert
0019 .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
0020 system_extra_cert:
0021 .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
0022
0023 .align 4
0024 .globl system_extra_cert_used
0025 system_extra_cert_used:
0026 .int 0
0027
0028 #endif
0029
0030 .align 8
0031 .globl system_certificate_list_size
0032 system_certificate_list_size:
0033 #ifdef CONFIG_64BIT
0034 .quad __cert_list_end - __cert_list_start
0035 #else
0036 .long __cert_list_end - __cert_list_start
0037 #endif
0038
0039 .align 8
0040 .globl module_cert_size
0041 module_cert_size:
0042 #ifdef CONFIG_64BIT
0043 .quad __module_cert_end - __module_cert_start
0044 #else
0045 .long __module_cert_end - __module_cert_start
0046 #endif