fn diag_init_expected_hashes(shim_params: &ShimParams)Expand description
Cache the loader-emitted per-page expected hashes so DiagPerPageState::record
can compare each 4 KB page against them. Must be called once, before the
acceptance loop in setup_vtl2_memory. If the IGVM doesn’t have the
expected-page-hashes region (older loader) or the region magic/version
mismatched, per-page compare is left disabled and DiagPerPageState::record
silently skips the per-page work.