linux/certs/system_certificates.S
<<
>>
Prefs
   1#include <linux/export.h>
   2#include <linux/init.h>
   3
   4        __INITRODATA
   5
   6        .align 8
   7        .globl VMLINUX_SYMBOL(system_certificate_list)
   8VMLINUX_SYMBOL(system_certificate_list):
   9__cert_list_start:
  10#ifdef CONFIG_MODULE_SIG
  11        .incbin "certs/signing_key.x509"
  12#endif
  13        .incbin "certs/x509_certificate_list"
  14__cert_list_end:
  15
  16#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
  17        .globl VMLINUX_SYMBOL(system_extra_cert)
  18        .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
  19VMLINUX_SYMBOL(system_extra_cert):
  20        .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
  21
  22        .align 4
  23        .globl VMLINUX_SYMBOL(system_extra_cert_used)
  24VMLINUX_SYMBOL(system_extra_cert_used):
  25        .int 0
  26
  27#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
  28
  29        .align 8
  30        .globl VMLINUX_SYMBOL(system_certificate_list_size)
  31VMLINUX_SYMBOL(system_certificate_list_size):
  32#ifdef CONFIG_64BIT
  33        .quad __cert_list_end - __cert_list_start
  34#else
  35        .long __cert_list_end - __cert_list_start
  36#endif
  37