class Uuid

Defined at line 28 of file ../../src/devices/tee/drivers/optee/optee-util.h

Uuid

Helper class for converting between the various representations of UUIDs. It is intended to

remain consistent with the RFC 4122 definition of UUIDs. The UUID is 128 bits made up of 32

bit time low, 16 bit time mid, 16 bit time high and 64 bit clock sequence and node fields. RFC

4122 states that when encoding a UUID as a sequence of bytes, each field will be encoded in

network byte order.

Public Members

static const size_t kUuidStringLength

Public Methods

void Uuid (uint32_t time_low, uint16_t time_mid, uint16_t time_hi_and_version, const std::array<uint8_t, 8> & clock_seq_and_node)

Defined at line 12 of file ../../src/devices/tee/drivers/optee/optee-util.cc

void Uuid (const fuchsia_tee::wire::Uuid & zx_uuid)

Defined at line 19 of file ../../src/devices/tee/drivers/optee/optee-util.cc

void Uuid (const Octets & uuid)

Defined at line 21 of file ../../src/devices/tee/drivers/optee/optee-util.cc

void Uuid ()

Defined at line 37 of file ../../src/devices/tee/drivers/optee/optee-util.h

Octets ToOctets ()

Defined at line 38 of file ../../src/devices/tee/drivers/optee/optee-util.cc

uint32_t time_low ()

Defined at line 43 of file ../../src/devices/tee/drivers/optee/optee-util.h

uint16_t time_mid ()

Defined at line 44 of file ../../src/devices/tee/drivers/optee/optee-util.h

uint16_t time_hi_and_version ()

Defined at line 45 of file ../../src/devices/tee/drivers/optee/optee-util.h

const std::array<uint8_t, 8> & clock_seq_and_node ()

Defined at line 46 of file ../../src/devices/tee/drivers/optee/optee-util.h

fbl::StringBuffer<kUuidStringLength> ToString ()

Defined at line 52 of file ../../src/devices/tee/drivers/optee/optee-util.cc

Friends

bool Uuid (const Uuid & l, const Uuid & r)
bool Uuid (const Uuid & lconst Uuid & r)