1b2441318SGreg Kroah-Hartman/* SPDX-License-Identifier: GPL-2.0 */ 2cfc411e7SDavid Howells#include <linux/export.h> 3cfc411e7SDavid Howells#include <linux/init.h> 4cfc411e7SDavid Howells 5cfc411e7SDavid Howells __INITRODATA 6cfc411e7SDavid Howells 7cfc411e7SDavid Howells .align 8 8c4df32c8SMasahiro Yamada .globl system_certificate_list 9c4df32c8SMasahiro Yamadasystem_certificate_list: 10cfc411e7SDavid Howells__cert_list_start: 11*6cbdfb3dSNayna Jain__module_cert_start: 12cfc411e7SDavid Howells .incbin "certs/signing_key.x509" 13*6cbdfb3dSNayna Jain__module_cert_end: 14cfc411e7SDavid Howells .incbin "certs/x509_certificate_list" 15cfc411e7SDavid Howells__cert_list_end: 16cfc411e7SDavid Howells 17c4c36105SMehmet Kayaalp#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE 18c4df32c8SMasahiro Yamada .globl system_extra_cert 19c4c36105SMehmet Kayaalp .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE 20c4df32c8SMasahiro Yamadasystem_extra_cert: 21c4c36105SMehmet Kayaalp .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0 22c4c36105SMehmet Kayaalp 230d1db3e3SDavid Howells .align 4 24c4df32c8SMasahiro Yamada .globl system_extra_cert_used 25c4df32c8SMasahiro Yamadasystem_extra_cert_used: 26c4c36105SMehmet Kayaalp .int 0 27c4c36105SMehmet Kayaalp 28c4c36105SMehmet Kayaalp#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */ 29c4c36105SMehmet Kayaalp 30cfc411e7SDavid Howells .align 8 31c4df32c8SMasahiro Yamada .globl system_certificate_list_size 32c4df32c8SMasahiro Yamadasystem_certificate_list_size: 33cfc411e7SDavid Howells#ifdef CONFIG_64BIT 34cfc411e7SDavid Howells .quad __cert_list_end - __cert_list_start 35cfc411e7SDavid Howells#else 36cfc411e7SDavid Howells .long __cert_list_end - __cert_list_start 37cfc411e7SDavid Howells#endif 38*6cbdfb3dSNayna Jain 39*6cbdfb3dSNayna Jain .align 8 40*6cbdfb3dSNayna Jain .globl module_cert_size 41*6cbdfb3dSNayna Jainmodule_cert_size: 42*6cbdfb3dSNayna Jain#ifdef CONFIG_64BIT 43*6cbdfb3dSNayna Jain .quad __module_cert_end - __module_cert_start 44*6cbdfb3dSNayna Jain#else 45*6cbdfb3dSNayna Jain .long __module_cert_end - __module_cert_start 46*6cbdfb3dSNayna Jain#endif 47