Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions upstream_patches/0006_drbg_log.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
diff -urN a/crypto/drbg.c b/crypto/drbg.c
--- a/crypto/drbg.c 2026-04-18 08:41:59.000000000 +0000
+++ b/crypto/drbg.c 2026-04-22 12:49:37.157141045 +0000
@@ -2123,6 +2123,9 @@
diff -urN --no-dereference b/crypto/drbg.c a/crypto/drbg.c
--- b/crypto/drbg.c 2026-07-09 12:50:30
+++ a/crypto/drbg.c 2026-07-09 12:57:24
@@ -2123,7 +2123,19 @@
drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1);
for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++)
drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0);
- return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
+
+ pr_info("DRBG: DRBG Enabled");
+
return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
+ ret = crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
+
+ if (!ret)
+ {
+
+ pr_info("random: DRBG (%s) initialized!\n",
+ drbg_algs[ARRAY_SIZE(drbg_cores) * 2 - 1].base.cra_driver_name);
+ }
+
+ return ret;
}

static void __exit drbg_exit(void)
Loading