From: Arno Wagner <arno@wagner.name>
To: cryptsetup@lists.linux.dev
Subject: Re: Filling a device with random data
Date: Tue, 14 Feb 2023 23:17:11 +0100 [thread overview]
Message-ID: <20230214221711.GA12121@tansi.org> (raw)
In-Reply-To: <Y+VDmGLcSavEBFig@gmail.com>
As I said, it is old. Old like some not having
hardware support and /dev/urandom being dog-slow.
Toaday, it is not really a problem doing this fast.
Regards,
Arno
On Thu, Feb 09, 2023 at 20:03:52 CET, Eric Biggers wrote:
> While this is a creative use of dm-crypt, a cleaner way to generate very
> high throughput cryptographically secure random data (specifically, even
> higher throughput than /dev/urandom which is usually good enough) is to
> just generate it in userspace. For example, the command 'openssl rand
> $LENGTH' does this.
>
> - Eric
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name
GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato
If it's in the news, don't worry about it. The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
next prev parent reply other threads:[~2023-02-14 22:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 21:09 Filling a device with random data David Joaquín Shourabi Porcel
2023-02-09 4:02 ` Arno Wagner
2023-02-09 15:01 ` David Joaquín Shourabi Porcel
2023-02-09 15:37 ` Michael Kjörling
2023-02-09 19:03 ` Eric Biggers
2023-02-14 22:17 ` Arno Wagner [this message]
2023-02-16 11:05 ` Arno Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230214221711.GA12121@tansi.org \
--to=arno@wagner.name \
--cc=cryptsetup@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.