Searched refs:be32_native (Results 1 – 7 of 7) sorted by relevance
74 dst->nr_seals = be32_native(group->v.boot_configs.nr_cfgs); in find_group_key()170 if (be32_native(seal->hdr.version) != TPM_MGR_VERSION) in find_root_key()178 uint32_t nr_seals = be32_native(seal->length); in find_root_key()235 vtpm->flags = be32_native(pt.header[i].flags); in load_verify_vtpm_page()304 printk("Malformed sector %d\n", be32_native(loc[i])); in load_verify_vtpm_itree()371 group->nr_vtpms = be32_native(disk.v.nr_vtpms); in load_verify_group()447 printk("Malformed sector %d\n", be32_native(loc[i])); in load_verify_group_itree()470 uint32_t nr_disk_rbs = be32_native(root->nr_rb_macs); in load_root_post()478 dst->nr_groups = be32_native(root->v.nr_groups); in load_root_post()515 if (be32_native(ent->id) < i) { in load_root_post()[all …]
37 uint32_t pos = be32_native(sector); in disk_read_sector()52 uint32_t pos = be32_native(sector); in disk_write_sector()99 uint32_t s = be32_native(loc); in disk_set_used()
34 static inline uint32_t be32_native(be32_t v) in be32_native() function
36 if (be32_native(src->disk_loc) != 0) in disk_populate_used_vtpm()49 if (be32_native(dst->disk_loc) != 0) in disk_write_vtpm_page()110 if (be32_native(src->disk_loc) != 0) { in disk_populate_used_group()186 if (be32_native(src->disk_loc) != 0) in disk_write_group_sector()
41 uint32_t ctr = be32_native(mgr->counter_value); in vtpm_sync_disk()78 uint32_t ctr = be32_native(mgr->counter_value); in vtpm_sync_disk()
83 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()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()
167 sha1_update(&ctx, (void*)&group->seal_bits.kernels, 20 * be32_native(group->seal_bits.nr_kerns)); in do_vtpminfo_hash()210 sha1_update(&ctx, (void*)&group->seal_bits.kernels, 20 * be32_native(group->seal_bits.nr_kerns)); in do_pcr_setup()
Completed in 10 milliseconds