Re: [U-Boot] [PATCH v3 2/3] lib: uuid: add functions to generate UUID version 4

2014-03-17 Thread Przemyslaw Marczak
On 03/14/2014 05:12 PM, Wolfgang Denk wrote: Dear Przemyslaw Marczak, In message you wrote: 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 ... +#define UUID_BIN_LEN

Re: [U-Boot] [PATCH v3 2/3] lib: uuid: add functions to generate UUID version 4

2014-03-14 Thread Wolfgang Denk
Dear Przemyslaw Marczak, In message you wrote: > 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 ... > +#define UUID_BIN_LEN 16 ... > +struct uuid { > + un

[U-Boot] [PATCH v3 2/3] lib: uuid: add functions to generate UUID version 4

2014-03-14 Thread Przemyslaw Marczak
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: - add new config: CONFIG_RANDOM_UUID: compile uuid.c and rand.c lib/uuid.c: - add gen_rand_uuid() - this function write