[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1381156729-1814-1-git-send-email-stefanbeller@googlemail.com>
Date: Mon, 7 Oct 2013 16:38:49 +0200
From: Stefan Beller <stefanbeller@...glemail.com>
To: tytso@....edu, linux-kernel@...r.kernel.org
Cc: Stefan Beller <stefanbeller@...glemail.com>
Subject: [PATCH] random.c: fix a typo in comments
Also removes (trailing) tabs from an empty line.
Signed-off-by: Stefan Beller <stefanbeller@...glemail.com>
---
drivers/char/random.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 7737b5b..a8457f2 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -382,7 +382,7 @@ static struct poolinfo {
* modulo the generator polymnomial. Now, for random primitive polynomials,
* this is a universal class of hash functions, meaning that the chance
* of a collision is limited by the attacker's knowledge of the generator
- * polynomail, so if it is chosen at random, an attacker can never force
+ * polynomial, so if it is chosen at random, an attacker can never force
* a collision. Here, we use a fixed polynomial, but we *can* assume that
* ###--> it is unknown to the processes generating the input entropy. <-###
* Because of this important property, this is a good, collision-resistant
@@ -1078,7 +1078,7 @@ void get_random_bytes_arch(void *buf, int nbytes)
if (!arch_get_random_long(&v))
break;
-
+
memcpy(p, &v, chunk);
p += chunk;
nbytes -= chunk;
--
1.8.4.1.469.gb38b9db
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists