summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2025-07-15 15:08:15 +0200
committerMichael Brown2025-07-15 15:10:33 +0200
commit1e3fb1b37e16cd7cd30f6b20b9eee929568f35a9 (patch)
treeba17eb2387b3d0356fdb2b111d8478adb831320c /src/crypto
parent[efi] Assume that vendor wireless drivers are unusable via SNP (diff)
downloadipxe-1e3fb1b37e16cd7cd30f6b20b9eee929568f35a9.tar.gz
ipxe-1e3fb1b37e16cd7cd30f6b20b9eee929568f35a9.tar.xz
ipxe-1e3fb1b37e16cd7cd30f6b20b9eee929568f35a9.zip
[init] Show initialisation function names in debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/certstore.c1
-rw-r--r--src/crypto/des.c1
-rw-r--r--src/crypto/x25519.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/crypto/certstore.c b/src/crypto/certstore.c
index 81179f9cc..aad874297 100644
--- a/src/crypto/certstore.c
+++ b/src/crypto/certstore.c
@@ -210,6 +210,7 @@ static void certstore_init ( void ) {
/** Certificate store initialisation function */
struct init_fn certstore_init_fn __init_fn ( INIT_LATE ) = {
+ .name = "certstore",
.initialise = certstore_init,
};
diff --git a/src/crypto/des.c b/src/crypto/des.c
index 6918bec3e..206f78d50 100644
--- a/src/crypto/des.c
+++ b/src/crypto/des.c
@@ -369,6 +369,7 @@ static void des_init ( void ) {
/** Initialisation function */
struct init_fn des_init_fn __init_fn ( INIT_NORMAL ) = {
+ .name = "des",
.initialise = des_init,
};
diff --git a/src/crypto/x25519.c b/src/crypto/x25519.c
index 995cfa352..41bc5fc5e 100644
--- a/src/crypto/x25519.c
+++ b/src/crypto/x25519.c
@@ -334,6 +334,7 @@ static void x25519_init_constants ( void ) {
/** Initialisation function */
struct init_fn x25519_init_fn __init_fn ( INIT_NORMAL ) = {
+ .name = "x25519",
.initialise = x25519_init_constants,
};