Merge tag 'pwm/for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[linux-block.git] / certs / system_certificates.S
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
b92021b0 2#include <linux/export.h>
b56e5a17 3#include <linux/init.h>
919aa45e 4
b56e5a17 5 __INITRODATA
919aa45e 6
62226983 7 .align 8
c4df32c8
MY
8 .globl system_certificate_list
9system_certificate_list:
62226983 10__cert_list_start:
6cbdfb3d 11__module_cert_start:
cfc411e7 12 .incbin "certs/signing_key.x509"
6cbdfb3d 13__module_cert_end:
cfc411e7 14 .incbin "certs/x509_certificate_list"
62226983
HB
15__cert_list_end:
16
c4c36105 17#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
c4df32c8 18 .globl system_extra_cert
c4c36105 19 .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
c4df32c8 20system_extra_cert:
c4c36105
MK
21 .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
22
0d1db3e3 23 .align 4
c4df32c8
MY
24 .globl system_extra_cert_used
25system_extra_cert_used:
c4c36105
MK
26 .int 0
27
28#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
29
62226983 30 .align 8
c4df32c8
MY
31 .globl system_certificate_list_size
32system_certificate_list_size:
62226983
HB
33#ifdef CONFIG_64BIT
34 .quad __cert_list_end - __cert_list_start
35#else
36 .long __cert_list_end - __cert_list_start
37#endif
6cbdfb3d
NJ
38
39 .align 8
40 .globl module_cert_size
41module_cert_size:
42#ifdef CONFIG_64BIT
43 .quad __module_cert_end - __module_cert_start
44#else
45 .long __module_cert_end - __module_cert_start
46#endif