Searched refs:vbmeta_header (Results 1 – 2 of 2) sorted by relevance
329 let vbmeta_header = extract_vbmeta_header(&kernel, &footer)?; in vbmeta_with_public_key_overwritten_fails_verification() localVariable332 + vbmeta_header.authentication_data_block_size as usize in vbmeta_with_public_key_overwritten_fails_verification()333 + vbmeta_header.public_key_offset as usize; in vbmeta_with_public_key_overwritten_fails_verification()334 let public_key_size: usize = vbmeta_header.public_key_size.try_into()?; in vbmeta_with_public_key_overwritten_fails_verification()362 let vbmeta_header = extract_vbmeta_header(&kernel, &footer)?; in vbmeta_with_verification_flag_disabled_fails_verification() localVariable365 let vbmeta_header_flags = vbmeta_header.flags; in vbmeta_with_verification_flag_disabled_fails_verification()367 let flags_addr = ptr::addr_of!(vbmeta_header.flags) as *const u8; in vbmeta_with_verification_flag_disabled_fails_verification()369 let flags_offset = unsafe { flags_addr.offset_from(ptr::addr_of!(vbmeta_header) as *const u8) }; in vbmeta_with_verification_flag_disabled_fails_verification()377 let vbmeta_header = extract_vbmeta_header(&kernel, &footer)?; in vbmeta_with_verification_flag_disabled_fails_verification() localVariable379 let vbmeta_header_flags = vbmeta_header.flags; in vbmeta_with_verification_flag_disabled_fails_verification()
93 let vbmeta_header = unsafe { in extract_vbmeta_header() localVariable99 Ok(vbmeta_header) in extract_vbmeta_header()