[PATCH] ARM: ep93xx: toss the device ID into the entropy pool

Arnd Bergmann arnd at arndb.de
Tue Jun 23 13:39:40 PDT 2015


On Thursday 18 June 2015 16:47:39 Linus Walleij wrote:
> @@ -862,6 +863,12 @@ static const char __init *ep93xx_get_soc_id(void)
>         if (id != id2)
>                 return "invalid";
>  
> +       /* Toss the unique ID into the entropy pool */
> +       add_device_randomness(&id2, 4);
> +       add_device_randomness(&id3, 4);
> +       add_device_randomness(&id4, 4);
> +       add_device_randomness(&id5, 4);
> +
> 

A stupid question from someone who does not understand computer
security: Is there any concern about being able to identify a
particular machine based on the random numbers generated at
runtime afterwards?

	Arnd



More information about the linux-arm-kernel mailing list