Blame view

certs/system_certificates.S 956 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
b92021b09   Rusty Russell   CONFIG_SYMBOL_PRE...
2
  #include <linux/export.h>
b56e5a17b   David Howells   KEYS: Separate th...
3
  #include <linux/init.h>
919aa45e4   Takashi Iwai   MODSIGN: Avoid us...
4

b56e5a17b   David Howells   KEYS: Separate th...
5
  	__INITRODATA
919aa45e4   Takashi Iwai   MODSIGN: Avoid us...
6

62226983d   Hendrik Brueckner   KEYS: correct ali...
7
  	.align 8
6ef4d2eaf   Chen Gang   kernel/system_cer...
8
9
  	.globl VMLINUX_SYMBOL(system_certificate_list)
  VMLINUX_SYMBOL(system_certificate_list):
62226983d   Hendrik Brueckner   KEYS: correct ali...
10
  __cert_list_start:
770f2b987   David Woodhouse   modsign: Use extr...
11
  #ifdef CONFIG_MODULE_SIG
cfc411e7f   David Howells   Move certificate ...
12
  	.incbin "certs/signing_key.x509"
770f2b987   David Woodhouse   modsign: Use extr...
13
  #endif
cfc411e7f   David Howells   Move certificate ...
14
  	.incbin "certs/x509_certificate_list"
62226983d   Hendrik Brueckner   KEYS: correct ali...
15
  __cert_list_end:
c4c361059   Mehmet Kayaalp   KEYS: Reserve an ...
16
17
18
19
20
  #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
0d1db3e37   David Howells   certs: Fix misali...
21
  	.align 4
c4c361059   Mehmet Kayaalp   KEYS: Reserve an ...
22
23
24
25
26
  	.globl VMLINUX_SYMBOL(system_extra_cert_used)
  VMLINUX_SYMBOL(system_extra_cert_used):
  	.int 0
  
  #endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
62226983d   Hendrik Brueckner   KEYS: correct ali...
27
28
29
30
31
32
33
34
  	.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