50#define ALLOW_KEY_OVERRIDE 0
52#define ALLOW_KEY_OVERRIDE 1
59 "\nprivate_key_data:\n\t"
61 ".incbin \"" PRIVATE_KEY
"\"\n\t"
63 ".size private_key_data, ( . - private_key_data )\n\t"
64 ".equ private_key_len, ( . - private_key_data )\n\t"
79 .len = ( (
size_t ) private_key_len ),
85 .description =
"Private key",
87 .type = &setting_type_hex,
109 static void *key_data =
NULL;
124 &key_data ) ) >= 0 ) {
133 ( key_data ?
"external" :
"built-in" ) );
#define NULL
NULL pointer (VOID *)
union @162305117151260234136356364136041353210355154177 key
Sense key.
#define ABS_SYMBOL(name)
Declare an absolute symbol (e.g.
#define ABS_VALUE_INIT(name)
Get value of an absolute symbol for use in a static initializer.
#define DHCP_EB_KEY
Client private key.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define SETTING_CRYPTO
Cryptography settings.
Dynamic Host Configuration Protocol.
#define __setting(setting_order, name)
Declare a configuration setting.
#define __settings_applicator
Declare a settings applicator.
void * memcpy(void *dest, const void *src, size_t len) __nonnull
static struct asn1_cursor default_private_key
Default private key.
static int privkey_apply_settings(void)
Apply private key configuration settings.
void privkey_free(struct refcnt *refcnt)
Free private key.
#define ALLOW_KEY_OVERRIDE
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
void ref_no_free(struct refcnt *refcnt __unused)
Do not free reference-counted object.
static void(* free)(struct refcnt *refcnt))
#define REF_INIT(free_fn)
Initialise a static reference counter.
int fetch_raw_setting_copy(struct settings *settings, const struct setting *setting, void **data)
Fetch value of setting.
#define container_of(ptr, type, field)
Get containing structure.
size_t len
Length of data.
struct asn1_builder builder
ASN.1 object builder.