Home
last modified time | relevance | path

Searched refs:vbmeta_header (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/pvmfw/avb/tests/
Dapi_test.rs329 let vbmeta_header = extract_vbmeta_header(&kernel, &footer)?; in vbmeta_with_public_key_overwritten_fails_verification() localVariable
332 + 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() localVariable
365 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() localVariable
379 let vbmeta_header_flags = vbmeta_header.flags; in vbmeta_with_verification_flag_disabled_fails_verification()
Dutils.rs93 let vbmeta_header = unsafe { in extract_vbmeta_header() localVariable
99 Ok(vbmeta_header) in extract_vbmeta_header()