Home
last modified time | relevance | path

Searched refs:seal_bits (Results 1 – 5 of 5) sorted by relevance

/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Dmgmt_authority.c163 sha1_update(&ctx, (void*)&group->seal_bits.nr_cfgs, 4); in do_vtpminfo_hash()
166 sha1_update(&ctx, (void*)&group->seal_bits.nr_kerns, 4); in do_vtpminfo_hash()
167 sha1_update(&ctx, (void*)&group->seal_bits.kernels, 20 * be32_native(group->seal_bits.nr_kerns)); in do_vtpminfo_hash()
206 sha1_update(&ctx, (void*)&group->seal_bits.nr_cfgs, 4); in do_pcr_setup()
209 sha1_update(&ctx, (void*)&group->seal_bits.nr_kerns, 4); in do_pcr_setup()
210 sha1_update(&ctx, (void*)&group->seal_bits.kernels, 20 * be32_native(group->seal_bits.nr_kerns)); in do_pcr_setup()
A Dvtpm_cmd_handler.c83 for(i=0; i < be32_native(opq->group->seal_bits.nr_kerns); i++) { in find_vtpm_khash()
122 for(i=0; i < be32_native(opq->group->seal_bits.nr_kerns); i++) { in find_vtpm_verified()
413 memcpy(buf, &group->seal_bits.nr_kerns, 4); buf += 4; in pack_cfg_list()
414 memcpy(buf, &group->seal_bits.kernels, 20 * be32_native(group->seal_bits.nr_kerns)); in pack_cfg_list()
415 return buf - bstart + 20 * be32_native(group->seal_bits.nr_kerns); in pack_cfg_list()
591 void *sig, *seal_bits, *kern_bits; in vtpmmgr_GroupUpdate() local
608 UNPACK_IN(VPTR, &seal_bits, nr_seals * 20, UNPACK_ALIAS); in vtpmmgr_GroupUpdate()
631 memcpy(&seals[i].digest_release, seal_bits, 20); in vtpmmgr_GroupUpdate()
632 seal_bits += 20; in vtpmmgr_GroupUpdate()
655 memcpy(&group->seal_bits.kernels, kern_bits, 20 * nr_kerns); in vtpmmgr_GroupUpdate()
[all …]
A Ddisk_write.c87 struct disk_seal_entry *dst = &src->seal_bits.entry[i]; in generate_group_seals()
98 src->seal_bits.nr_cfgs = native_be32(src->nr_seals); in generate_group_seals()
208 memcpy(&disk.v.boot_configs, &group->seal_bits, sizeof(group->seal_bits)); in disk_write_group_sector()
A Dvtpm_disk.h161 struct disk_group_boot_config_list seal_bits; member
A Ddisk_read.c113 memcpy(&dst->seal_bits, &group->v.boot_configs, sizeof(dst->seal_bits)); in find_group_key()

Completed in 8 milliseconds