Home
last modified time | relevance | path

Searched refs:nr_seals (Results 1 – 6 of 6) sorted by relevance

/xen/stubdom/vtpmmgr/
A Dvtpm_cmd_handler.c408 buf = pack_UINT32(buf, group->nr_seals); in pack_cfg_list()
409 for(i=0; i < group->nr_seals; i++) { in pack_cfg_list()
585 uint32_t nr_kerns, nr_seals; in vtpmmgr_GroupUpdate() local
607 UNPACK_IN(UINT32, &nr_seals); in vtpmmgr_GroupUpdate()
608 UNPACK_IN(VPTR, &seal_bits, nr_seals * 20, UNPACK_ALIAS); in vtpmmgr_GroupUpdate()
614 if (nr_seals > NR_SEALS_PER_GROUP) { in vtpmmgr_GroupUpdate()
626 seals = calloc(nr_seals, sizeof(seals[0])); in vtpmmgr_GroupUpdate()
628 for(i=0; i < nr_seals; i++) { in vtpmmgr_GroupUpdate()
657 group->nr_seals = nr_seals; in vtpmmgr_GroupUpdate()
A Ddisk_read.c74 dst->nr_seals = be32_native(group->v.boot_configs.nr_cfgs); in find_group_key()
75 if (dst->nr_seals > NR_SEALS_PER_GROUP) in find_group_key()
78 dst->seals = calloc(dst->nr_seals, sizeof(dst->seals[0])); in find_group_key()
80 vtpmlogerror(VTPM_LOG_VTPM, "find_group_key alloc %x\n", dst->nr_seals); in find_group_key()
84 for(i=0; i < dst->nr_seals; i++) { in find_group_key()
178 uint32_t nr_seals = be32_native(seal->length); in find_root_key() local
179 if (nr_seals > SEALS_PER_ROOT_SEAL_LIST) in find_root_key()
181 for (i = 0; i < nr_seals; i++) { in find_root_key()
A Ddisk_write.c83 if (src->nr_seals > NR_SEALS_PER_GROUP) in generate_group_seals()
86 for(i=0; i < src->nr_seals; i++) { in generate_group_seals()
98 src->seal_bits.nr_cfgs = native_be32(src->nr_seals); in generate_group_seals()
245 seal->length = native_be32(group->nr_seals); in disk_write_seal_list()
248 if (group->nr_seals > SEALS_PER_ROOT_SEAL_LIST) in disk_write_seal_list()
251 for(i=0; i < group->nr_seals; i++) { in disk_write_seal_list()
A Dvtpm_disk.h157 int nr_seals; member
A Dmgmt_authority.c164 for(i=0; i < group->nr_seals; i++) in do_vtpminfo_hash()
207 for(i=0; i < group->nr_seals; i++) in do_pcr_setup()
A Dvtpm_disk.c32 if (!group0 || !group0->nr_seals) in vtpm_sync_disk()

Completed in 9 milliseconds