1 /* 2 * Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef UUID_COMMON_H 8 #define UUID_COMMON_H 9 10 #define UUID_BYTES_LENGTH 16 11 #define UUID_STRING_LENGTH 36 12 13 int read_uuid(uint8_t *dest, char *uuid); 14 bool uuid_match(uint32_t *uuid1, uint32_t *uuid2); 15 void copy_uuid(uint32_t *to_uuid, uint32_t *from_uuid); 16 bool is_null_uuid(uint32_t *uuid); 17 18 #endif /* UUID_COMMON_H */ 19