Benjamin Valentin
6fa15ff3f6
sys/luid: improve luid_base() algorithm
...
CPU IDs may contain very little entropy. Often only a single byte
may change between two CPUs.
To mitigate this use a somewhat 'proper' hash algorithm (I chose DJB2
hash simply because it's small) and 'extend' it to the required output
size.
For 50 STM32 CPU IDs from the grenoble site, this produces a much more
random LUID output.
2020-10-18 14:52:02 +02:00
..
2020-10-02 08:09:14 +02:00
2020-10-03 15:20:42 +02:00
2020-07-06 09:16:24 +02:00
2019-11-23 22:39:07 +01:00
2020-10-02 08:09:37 +02:00
2019-11-21 11:58:07 +01:00
2019-12-13 14:50:32 +01:00
2019-11-23 22:39:40 +01:00
2020-08-24 20:28:11 +02:00
2020-10-05 12:32:51 +02:00
2020-07-23 20:24:47 +02:00
2020-02-20 13:24:14 +01:00
2019-11-23 22:39:37 +01:00
2020-08-05 11:45:53 +02:00
2020-09-24 11:30:26 +02:00
2020-05-12 17:39:25 +02:00
2020-02-05 12:45:29 +01:00
2020-04-07 17:48:39 +02:00
2020-06-10 10:00:30 +02:00
2020-10-16 12:22:18 +02:00
2019-11-23 22:39:38 +01:00
2020-08-24 08:26:16 -07:00
2020-10-18 14:52:02 +02:00
2020-09-02 19:16:30 +02:00
2020-10-16 12:22:18 +02:00
2020-09-04 15:01:10 +02:00
2020-06-19 10:44:56 +02:00
2019-11-23 22:39:38 +01:00
2020-05-20 15:29:24 +02:00
2020-09-11 18:04:01 +02:00
2020-09-11 11:19:58 +02:00
2020-08-31 09:57:28 +02:00
2020-10-02 08:15:31 +02:00
2020-08-24 08:26:16 -07:00
2020-09-10 10:08:27 +02:00
2020-01-20 14:14:09 +01:00
2020-08-21 08:39:34 +02:00
2020-09-29 15:18:56 +02:00
2020-08-24 20:28:11 +02:00
2020-10-13 13:32:53 +02:00
2020-01-20 14:51:26 +01:00
2019-11-26 21:12:41 +01:00
2020-06-09 10:15:49 +02:00
2020-10-01 19:40:14 +02:00
2020-06-09 13:25:14 +02:00
2020-06-10 21:21:33 +02:00
2020-02-21 13:26:24 +01:00
2019-11-23 22:39:38 +01:00
2020-04-05 13:42:11 +02:00
2020-09-18 21:04:15 +02:00
2020-07-01 10:30:17 +02:00
2020-07-01 13:36:25 +02:00
2020-09-29 11:52:26 +02:00
2020-02-11 13:59:59 +01:00
2020-10-02 08:16:14 +02:00
2020-08-31 09:57:28 +02:00
2020-08-31 09:57:28 +02:00
2020-08-31 09:57:28 +02:00
2020-08-30 23:43:57 +02:00
2020-10-05 18:27:58 +02:00
2020-09-04 15:01:10 +02:00