[PATCH] mtd: otp: Put factory OTP/NVRAM into the entropy pool

Michael Walle michael at walle.cc
Fri Jun 2 17:14:59 PDT 2023


Am 3. Juni 2023 05:23:18 GMT+08:00 schrieb Linus Walleij <linus.walleij at linaro.org>:
>The factory OTP, if supported, contains factory-programmed
>information such as typically the serial number or production
>week for the chip.
>
>As this is device-unique information, submit it into the
>system entropy pool.
>
>This does not count as improvement of the entropy as such
>but in practice it makes it a bit more random to mix in these
>numbers.

Please note, that not every flash will have some kind of unique identifier, some won't have that section populated at all or some OEM stuff in it. But I guess that's alright.

-michael 
[I'm still on vacation and just have access to a mobile phone, so sorry for any incorrect formatting] 



More information about the linux-mtd mailing list