Albert Esteve
a6ceee591a
util/uuid: add a hash function
...
Add hash function to uuid module using the
djb2 hash algorithm.
Add a couple simple unit tests for the hash
function, checking collisions for similar UUIDs.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Message-Id: <20231002065706.94707-2-aesteve@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-10-04 18:15:06 -04:00
..
2023-05-30 17:37:26 +02:00
2023-05-30 17:37:26 +02:00
2023-05-10 14:15:13 +02:00
2023-05-30 17:37:26 +02:00
2023-05-30 17:37:26 +02:00
2023-03-20 12:43:50 +01:00
2023-05-23 16:51:13 -07:00
2023-06-13 11:28:58 +02:00
2023-05-18 08:53:52 +02:00
2023-09-19 13:20:54 -04:00
2023-09-15 13:57:00 +00:00
2023-08-31 19:47:43 +02:00
2023-05-23 15:20:15 +08:00
2023-06-02 12:29:27 -05:00
2023-03-20 12:43:50 +01:00
2023-04-06 12:38:42 -04:00
2023-05-30 17:37:26 +02:00
2023-08-30 07:39:59 -04:00
2023-05-30 17:37:26 +02:00
2023-06-02 12:27:19 -05:00
2023-02-17 14:34:24 +01:00
2023-02-04 06:19:42 -10:00
2023-08-09 09:26:32 -07:00
2023-09-07 20:32:11 -05:00
2023-06-13 17:42:01 +10:00
2023-08-31 19:47:43 +02:00
2023-09-01 23:46:20 +02:00
2023-04-24 11:29:00 +02:00
2023-09-15 05:26:50 -07:00
2023-08-03 13:04:35 +02:00
2023-08-31 19:47:43 +02:00
2023-02-23 13:56:14 +01:00
2023-05-30 17:37:26 +02:00
2023-06-06 09:42:14 +02:00
2023-04-20 11:17:35 +02:00
2023-08-31 19:47:43 +02:00
2023-03-07 12:38:40 +01:00
2023-03-07 12:38:40 +01:00
2023-06-01 11:05:05 -04:00
2023-03-28 15:23:10 -07:00
2023-08-31 19:47:43 +02:00
2023-02-04 07:56:54 +01:00
2023-09-01 13:34:03 -07:00
2023-04-27 16:39:43 +02:00
2023-05-03 14:00:08 -05:00
2023-09-20 17:46:01 +02:00
2023-08-29 10:49:24 +02:00
2023-06-27 17:08:56 +02:00
2023-02-27 09:15:39 +01:00
2023-02-11 16:51:09 +01:00
2023-10-04 18:15:06 -04:00
2023-05-24 09:21:22 +02:00
2023-09-07 20:32:11 -05:00