On Fri, 24 May 2024 at 15:20, Caleb Connolly wrote:
>
>
>
> On 24/05/2024 08:01, Ilias Apalodimas wrote:
> > [...]
> >
> >> #include
> >> #include
> >> +#include
> >>
> >> int uuid_str_valid(const char *uuid)
> >> {
> >> int i, valid;
> >> @@ -368,8 +369,40 @@ void uuid_bin_to_
On 24/05/2024 08:01, Ilias Apalodimas wrote:
[...]
#include
#include
+#include
int uuid_str_valid(const char *uuid)
{
int i, valid;
@@ -368,8 +369,40 @@ void uuid_bin_to_str(const unsigned char *uuid_bin, char
*uuid_str,
}
}
}
+#if CONFIG_IS
[...]
> #include
> #include
> +#include
>
> int uuid_str_valid(const char *uuid)
> {
> int i, valid;
> @@ -368,8 +369,40 @@ void uuid_bin_to_str(const unsigned char *uuid_bin, char
> *uuid_str,
> }
> }
> }
>
> +#if CONFIG_IS_ENABLED(UUID_GEN_V5)
> +void gen
Add support for generate version 5 UUIDs, these are determistic and work
by hashing a "namespace" UUID together with some unique data. One intended
usecase is to allow for dynamically generate payload UUIDs for UEFI
capsule updates, so that supported boards can have their own UUIDs
without needing
4 matches
Mail list logo