blob: c8dd6819727529b592d3d878838fdacf996e26f5 [file] [log] [blame]
David Horstmannd13dbb62021-03-01 19:34:37 +00001/*
Marc Bonnicif74e2772021-08-17 18:00:07 +01002 * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved.
David Horstmannd13dbb62021-03-01 19:34:37 +00003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Marc Bonnicif74e2772021-08-17 18:00:07 +01007#ifndef UUID_COMMON_H
8#define UUID_COMMON_H
David Horstmannd13dbb62021-03-01 19:34:37 +00009
10#define UUID_BYTES_LENGTH 16
11#define UUID_STRING_LENGTH 36
12
13int read_uuid(uint8_t *dest, char *uuid);
Marc Bonnicif74e2772021-08-17 18:00:07 +010014bool uuid_match(uint32_t *uuid1, uint32_t *uuid2);
15void copy_uuid(uint32_t *to_uuid, uint32_t *from_uuid);
16bool is_null_uuid(uint32_t *uuid);
David Horstmannd13dbb62021-03-01 19:34:37 +000017
Marc Bonnicif74e2772021-08-17 18:00:07 +010018#endif /* UUID_COMMON_H */