[U-Boot] [PATCH v3 1/3] lib: add uuid_str_to_bin for use with bootp and PXE uuid

Jason Hobbs jason.hobbs at calxeda.com
Tue Jul 26 23:48:43 CEST 2011


On Mon, Jul 25, 2011 at 11:37:34PM +0200, Wolfgang Denk wrote:
> > +void uuid_str_to_bin(const char *uuid, unsigned char *out)

I will add a separate function to verify the format of a UUID string.
It doesn't belong in this function, which otherwise only needs to read
the string once.  It will check for length, that '-' is placed
appropriately, and that proper hexadecimal numbers are used.

Thanks,
Jason


More information about the U-Boot mailing list