This thinko.. makes things a bit more arbitrary than we'd like. I've
re-audited the other rotate conversions.

Signed-off-by: Matt Mackall <[EMAIL PROTECTED]>

Index: rc2mm1/drivers/char/random.c
===================================================================
--- rc2mm1.orig/drivers/char/random.c   2005-01-25 12:26:13.000000000 -0800
+++ rc2mm1/drivers/char/random.c        2005-01-25 12:27:00.000000000 -0800
@@ -474,7 +474,7 @@
        add_ptr = r->add_ptr;
 
        while (nwords--) {
-               w = rol32(input_rotate, next_w);
+               w = rol32(next_w, input_rotate);
                if (nwords > 0)
                        next_w = *in++;
                i = add_ptr = (add_ptr - 1) & wordmask;

-- 
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to