[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /dev/urandom
From: |
Danny Milosavljevic |
Subject: |
Re: /dev/urandom |
Date: |
Tue, 10 Jul 2018 20:58:43 +0200 |
Hi Leo,
On Tue, 10 Jul 2018 14:28:09 -0400
Leo Famulari <address@hidden> wrote:
> On Tue, Jul 10, 2018 at 06:22:11PM +0200, Danny Milosavljevic wrote:
> > Hi,
> >
> > u-boot tools/sunxi-spl-image-builder.c reads from /dev/urandom .
> >
> > For reproducibility I'd like this to be a static file. Do we already have
> > one
> > for this purpose?
>
> You could use /dev/zero. What does the program do with the random data?
It writes an image file. Since that image is later written to flash storage
(by the user), the program randomizes the data in order to increase longevity.
Then it stores the random data used as well.
See
http://soc.yonsei.ac.kr/Abstract/International_journal/pdf/106_Data%20Randomization%20Scheme%20for%20Endurance%20Enhancement%20and%20Interference%20Mitigation%20of%20Multilevel%20Flash%20Memory%20Devices.pdf
pgpNC7kWXKcfh.pgp
Description: OpenPGP digital signature
Re: /dev/urandom, Ludovic Courtès, 2018/07/10