aboutsummaryrefslogblamecommitdiffstats
path: root/kernel/modsign_certificate.S
blob: 246b4c6e613505740a86b5640af6ff544cbc9a35 (plain) (tree)


















                                                                    
/* SYMBOL_PREFIX defined on commandline from CONFIG_SYMBOL_PREFIX */
#ifndef SYMBOL_PREFIX
#define ASM_SYMBOL(sym) sym
#else
#define PASTE2(x,y) x##y
#define PASTE(x,y) PASTE2(x,y)
#define ASM_SYMBOL(sym) PASTE(SYMBOL_PREFIX, sym)
#endif

#define GLOBAL(name)	\
	.globl ASM_SYMBOL(name);	\
	ASM_SYMBOL(name):

	.section ".init.data","aw"

GLOBAL(modsign_certificate_list)
	.incbin "signing_key.x509"
	.incbin "extra_certificates"
GLOBAL(modsign_certificate_list_end)