[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGSQo02e2-E4TNEwit+jca6jZszRxbvAiSut49ugy7TDSaagyw@mail.gmail.com>
Date: Tue, 30 Dec 2025 09:42:20 -0800
From: Matthew Maurer <mmaurer@...gle.com>
To: Kari Argillander <kari.argillander@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org
Subject: Re: [PATCH v3] rust: Add support for feeding entropy to randomness pool
On Tue, Dec 30, 2025 at 5:54 AM Kari Argillander
<kari.argillander@...il.com> wrote:
>
> On Fri, 26 Dec 2025 at 21:15, Matthew Maurer <mmaurer@...gle.com> wrote:
> > diff --git a/rust/kernel/rand.rs b/rust/kernel/rand.rs
> > new file mode 100644
> > index 0000000000000000000000000000000000000000..3e0aef2f53af122f510b34c4743a20452aaad9ad
> > --- /dev/null
> > +++ b/rust/kernel/rand.rs
> > @@ -0,0 +1,18 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +
> > +//! Randomness.
> > +//!
> > +//! C header: [`include/linux/random.h`](srctree/include/linux/random.h)
>
> So why rand and not random? If there is good reason to not use random.rs then
> can you add that reason to commit message.
I have no reason for rand over random and no strong preference. I'll
switch it to `random` in the next rev unless someone else chimes in.
>
> Argillander
Powered by blists - more mailing lists