Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 35) sorted by relevance

12

/rk3399_rockchip-uboot/lib/optee_clientApi/
H A DOpteeClientLoadTa.c48 TEEC_UUID uuid; in search_ta() local
77 memcpy(&uuid, uuid_octets, sizeof(TEEC_UUID)); in search_ta()
83 tee_uuid_from_octets(&uuid, uuid_octets); in search_ta()
90 uuid.timeLow, in search_ta()
91 uuid.timeMid, in search_ta()
92 uuid.timeHiAndVersion, in search_ta()
93 uuid.clockSeqAndNode[0], in search_ta()
94 uuid.clockSeqAndNode[1], in search_ta()
95 uuid.clockSeqAndNode[2], in search_ta()
96 uuid.clockSeqAndNode[3], in search_ta()
[all …]
H A DOpteeClientSMC.c92 memcpy(&TeeSmcMetaSession->uuid, in TEEC_SMC_OpenSession()
94 sizeof(TeeSmcMetaSession->uuid)); in TEEC_SMC_OpenSession()
101 …memcpy((void *)&TeeSmc32Param[0].u.value, &TeeSmcMetaSession->uuid, sizeof(TeeSmcMetaSession->uuid in TEEC_SMC_OpenSession()
105 uint8_t * session_uuid = (uint8_t *)&TeeSmcMetaSession->uuid; in TEEC_SMC_OpenSession()
107 …memcpy((void *)&TeeSmc32Param[0].u.value, &TeeSmcMetaSession->uuid, sizeof(TeeSmcMetaSession->uuid in TEEC_SMC_OpenSession()
H A Dtabinary_to_img.py26 import uuid
54 ta_uuid = uuid.UUID(ta_name_without_extension)
/rk3399_rockchip-uboot/lib/
H A Duuid.c59 int uuid_str_valid(const char *uuid) in uuid_str_valid() argument
63 if (uuid == NULL) in uuid_str_valid()
66 for (i = 0, valid = 1; uuid[i] && valid; i++) { in uuid_str_valid()
69 valid = (uuid[i] == '-'); in uuid_str_valid()
72 valid = isxdigit(uuid[i]); in uuid_str_valid()
239 struct uuid *uuid = (struct uuid *)ptr; in gen_rand_uuid() local
246 clrsetbits_be16(&uuid->time_hi_and_version, in gen_rand_uuid()
250 clrsetbits_8(&uuid->clock_seq_hi_and_reserved, in gen_rand_uuid()
254 memcpy(uuid_bin, uuid, 16); in gen_rand_uuid()
278 char uuid[UUID_STR_LEN + 1]; in do_uuid() local
[all …]
H A Dsmbios.c122 strncpy((char*)t->uuid, serial_str, sizeof(t->uuid)); in smbios_write_type1()
H A Dvsprintf.c372 char uuid[UUID_STR_LEN + 1]; in uuid_string() local
388 uuid_bin_to_str(addr, uuid, str_format); in uuid_string()
390 return string(buf, end, uuid, field_width, precision, flags); in uuid_string()
H A DMakefile102 obj-$(CONFIG_LIB_UUID) += uuid.o
/rk3399_rockchip-uboot/include/
H A Duuid.h11 struct uuid { struct
26 #define UUID_BIN_LEN sizeof(struct uuid) argument
36 int uuid_str_valid(const char *uuid);
H A Dpart.h70 char uuid[UUID_STR_LEN + 1]; /* filesystem UUID as string, if exists */ member
H A Dsmbios.h88 u8 uuid[16]; member
/rk3399_rockchip-uboot/fs/
H A Dfs.c130 int (*uuid)(char *uuid_str); member
164 .uuid = fs_uuid_unsupported,
186 .uuid = ext4fs_uuid,
202 .uuid = fs_uuid_unsupported,
218 .uuid = fs_uuid_unsupported,
233 .uuid = fs_uuid_unsupported,
352 return info->uuid(uuid_str); in fs_uuid()
652 char uuid[37]; in do_fs_uuid() local
653 memset(uuid, 0, sizeof(uuid)); in do_fs_uuid()
661 ret = fs_uuid(uuid); in do_fs_uuid()
[all …]
/rk3399_rockchip-uboot/doc/
H A DREADME.gpt42 uuid command line tool).
159 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
160 name=kernel,size=60MiB,uuid=...;"
163 size=${uboot_size},uuid=${uboot_uuid};"
171 The fields 'uuid' and 'uuid_disk' are optional if CONFIG_RANDOM_UUID is
172 enabled. A random uuid will be used if omitted or they point to an empty/
251 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
252 name=kernel,size=60MiB,uuid=...,
273 "uuid_disk=...;name=u-boot,size=60MiB,uuid=...;
274 name=kernel,size=60MiB,uuid=...,type=linux;"
[all …]
/rk3399_rockchip-uboot/include/optee_include/
H A Dtee_rpc_types.h14 TEE_UUID uuid; member
H A Dtee_api_types.h36 TEE_UUID uuid; member
H A Dteesmc.h279 uint8_t uuid[TEESMC_UUID_LEN]; member
H A DOpteeClientInterface.h129 uint32_t trusty_attest_uuid(uint8_t *uuid, uint32_t *uuid_size);
/rk3399_rockchip-uboot/cmd/
H A Dgpt.c208 strncpy(newpart->gpt_part_info.uuid, (const char *)info->uuid, in allocate_disk_part()
211 newpart->gpt_part_info.uuid[UUID_STR_LEN] = '\0'; in allocate_disk_part()
249 printf("UUID %s\n", curr->gpt_part_info.uuid); in print_gpt_info()
296 strncat(partitions_list, curr->gpt_part_info.uuid, in create_gpt_partitions_list()
457 gen_rand_uuid_str(parts[i].uuid, UUID_STR_FORMAT_STD); in set_gpt_info()
465 if (strnlen(p, max_str_part) >= sizeof(parts[i].uuid)) { in set_gpt_info()
470 strncpy((char *)parts[i].uuid, p, max_str_part); in set_gpt_info()
H A Dpart.c41 env_set(argv[2], info.uuid); in do_part_uuid()
43 printf("%s\n", info.uuid); in do_part_uuid()
/rk3399_rockchip-uboot/net/
H A Dbootp.c444 char *uuid; in dhcp_extended() local
523 uuid = env_get("pxeuuid"); in dhcp_extended()
525 if (uuid) { in dhcp_extended()
526 if (uuid_str_valid(uuid)) { in dhcp_extended()
531 uuid_str_to_bin(uuid, e, UUID_STR_FORMAT_STD); in dhcp_extended()
534 printf("Invalid pxeuuid: %s\n", uuid); in dhcp_extended()
/rk3399_rockchip-uboot/disk/
H A Dpart_efi.c229 char uuid[UUID_STR_LEN + 1]; in part_print_efi() local
267 uuid_bin_to_str(uuid_bin, uuid, UUID_STR_FORMAT_GUID); in part_print_efi()
268 printf("\ttype:\t%s\n", uuid); in part_print_efi()
270 if (!uuid_guid_get_str(uuid_bin, uuid)) in part_print_efi()
271 printf("\ttype:\t%s\n", uuid); in part_print_efi()
274 uuid_bin_to_str(uuid_bin, uuid, UUID_STR_FORMAT_GUID); in part_print_efi()
275 printf("\tguid:\t%s\n", uuid); in part_print_efi()
360 uuid_bin_to_str(gpt_pte[part - 1].unique_partition_guid.b, info->uuid, in part_get_info_efi()
732 str_uuid = partitions[i].uuid; in gpt_fill_pte()
H A Dpart.c356 info->uuid[0] = 0; in part_get_info()
391 info->uuid[0] = 0; in part_get_info_whole_disk()
489 info->uuid[0] = 0; in blk_get_device_part_str()
515 info->uuid[0] = 0; in blk_get_device_part_str()
H A Dpart_dos.c224 sprintf(info->uuid, "%08x-%02x", disksig, part_num); in part_get_info_extended()
260 info->uuid[0] = 0; in part_get_info_extended()
/rk3399_rockchip-uboot/examples/api/
H A DMakefile39 EXT_COBJ-$(CONFIG_LIB_UUID) += lib/uuid.o
/rk3399_rockchip-uboot/common/
H A Dwrite_keybox.c124 TEEC_UUID uuid, in rk_send_keybox_to_ta() argument
132 TEEC_UUID *TeecUuid = &uuid; in rk_send_keybox_to_ta()
/rk3399_rockchip-uboot/fs/ubifs/
H A Dsb.c186 generate_random_uuid(sup->uuid); in create_default_filesystem()
629 memcpy(&c->uuid, &sup->uuid, 16); in ubifs_read_superblock()

12