Skip to content

Commit b26f763

Browse files
nicholas-opensourceQiuSimonssmuellerDD
committed
Use LRNG to replace urngd
Co-authored-by: QiuSimons <45143996+QiuSimons@users.noreply.github.com> Co-authored-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Nicholas Sun <nicholas-sun@outlook.com>
1 parent fef857e commit b26f763

37 files changed

Lines changed: 13845 additions & 4 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- linux-5.15/kernel/sched/core.c.orig 2022-05-17 08:07:23.998466743 +0200
2+
+++ linux-5.15/kernel/sched/core.c 2022-05-17 08:07:52.072536401 +0200
3+
@@ -6,6 +6,10 @@
4+
*
5+
* Copyright (C) 1991-2002 Linus Torvalds
6+
*/
7+
+#include <linux/highmem.h>
8+
+#include <linux/hrtimer_api.h>
9+
+#include <linux/ktime_api.h>
10+
+
11+
#define CREATE_TRACE_POINTS
12+
#include <trace/events/sched.h>
13+
#undef CREATE_TRACE_POINTS
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- linux-5.15/crypto/jitterentropy.c.orig 2022-05-17 08:12:24.576212579 +0200
2+
+++ linux-5.15/crypto/jitterentropy.c 2022-05-17 08:12:51.897280373 +0200
3+
@@ -117,6 +117,7 @@ struct rand_data {
4+
#define JENT_EHEALTH 9 /* Health test failed during initialization */
5+
#define JENT_ERCT 10 /* RCT failed during initialization */
6+
7+
+#include <linux/fips.h>
8+
#include "jitterentropy.h"
9+
10+
/***************************************************************************

0 commit comments

Comments
 (0)