Files
u-boot-tk1-som/include
Przemyslaw Marczak 4e4815feae lib: uuid: add functions to generate UUID version 4
This patch adds support to generate UUID (Universally Unique Identifier)
in version 4 based on RFC4122, which is randomly.

Source: https://www.ietf.org/rfc/rfc4122.txt

Changes:
- new configs:
  - CONFIG_LIB_UUID for compile lib/uuid.c
  - CONFIG_RANDOM_UUID for functions gen_rand_uuid() and gen_rand_uuid_str()
- add configs dependency to include/config_fallbacks.h for lib uuid.

lib/uuid.c:
- add gen_rand_uuid() - this function writes 16 bytes len binary representation
  of UUID v4 to the memory at given address.

- add gen_rand_uuid_str() - this function writes 37 bytes len hexadecimal
  ASCII string representation of UUID v4 to the memory at given address.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
[trini: Add CONFIG_EFI_PARTITION to fallbacks]
Signed-off-by: Tom Rini <trini@ti.com>
2014-04-02 16:35:53 -04:00
..
2014-03-04 12:15:29 -05:00
2014-02-04 16:32:20 +01:00
2014-02-21 08:42:47 -05:00
2014-03-17 20:05:48 -06:00
2014-03-23 02:20:09 +01:00
2014-03-04 12:15:29 -05:00
2014-02-19 09:47:34 -05:00
2014-02-19 09:47:34 -05:00
2014-03-17 20:05:49 -06:00
2014-02-20 06:48:23 +01:00
2013-09-24 09:10:33 -04:00
2014-03-17 20:05:49 -06:00
2014-02-19 11:10:04 -05:00
2013-09-20 10:30:54 -04:00
2014-04-02 13:02:58 +03:00
2013-11-09 17:21:01 +01:00
2014-03-17 20:05:49 -06:00
2013-11-09 17:21:01 +01:00
2014-03-07 10:59:06 -05:00
2014-02-19 10:47:43 -05:00
2013-12-04 08:11:28 -05:00
2013-08-28 11:44:59 -04:00