Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508022

Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness

From Jean-Francois Moine <moinejf@free.fr>
Newsgroups linux.kernel
Subject Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness
Date 2016-10-25 09:20 +0200
Message-ID <sw4bE-2p1-13@gated-at.bofh.it> (permalink)
References <sv506-48d-5@gated-at.bofh.it> <svTSW-43c-5@gated-at.bofh.it> <sw2Mx-1nM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 25 Oct 2016 07:38:55 +0200
LABBE Corentin <clabbe.montjoie@gmail.com> wrote:

> > On Sat, Oct 22, 2016 at 03:53:28PM +0200, Corentin Labbe wrote:
> > > Since SID's content is constant over reboot,
> > 
> > That's not true, at least not across all the Allwinner SoCs, and
> > especially not on the A10 and A20 that this driver supports.
> > 
> 
> On my cubieboard2 (A20)
> hexdump -C /sys/devices/platform/soc\@01c00000/1c23800.eeprom/sunxi-sid0/nvmem 
> 00000000  16 51 66 83 80 48 50 72  56 54 48 48 03 c2 75 72  |.Qf..HPrVTHH..ur|
> 00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> *
> 00000100  16 51 66 83 80 48 50 72  56 54 48 48 03 c2 75 72  |.Qf..HPrVTHH..ur|
> 00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> *
> 00000200
> cubiedev ~ # reboot
> cubiedev ~ # hexdump -C /sys/devices/platform/soc\@01c00000/1c23800.eeprom/sunxi-sid0/nvmem 
> 00000000  16 51 66 83 80 48 50 72  56 54 48 48 03 c2 75 72  |.Qf..HPrVTHH..ur|
> 00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> *
> 00000100  16 51 66 83 80 48 50 72  56 54 48 48 03 c2 75 72  |.Qf..HPrVTHH..ur|
> 00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> *
> 00000200
> 
> So clearly for me its constant.

Even after power off/power on?

-- 
Ken ar c'hentaƱ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-10-22 16:00 +0200
  Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of  randomness Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-10-24 22:20 +0200
    Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of  randomness LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-10-25 07:50 +0200
      Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of  randomness Jean-Francois Moine <moinejf@free.fr> - 2016-10-25 09:20 +0200
      Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of  randomness Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-10-27 00:20 +0200

csiph-web