Home
last modified time | relevance | path

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

/packages/modules/Virtualization/libs/apkverify/src/
Dsigutil.rs245 let apk_sections = ApkSections::new(apk_file).unwrap(); in test_apk_sections() localVariable
246 let mut reader = &apk_sections.inner; in test_apk_sections()
250 apk_sections.signing_block_offset + apk_sections.signing_block_size, in test_apk_sections()
251 apk_sections.central_directory_offset in test_apk_sections()
254 apk_sections.central_directory_offset as u64 - size_of_val(&APK_SIG_BLOCK_MAGIC) as u64, in test_apk_sections()
262 apk_sections.central_directory_offset + apk_sections.central_directory_size, in test_apk_sections()
263 apk_sections.eocd_offset in test_apk_sections()
269 (apk_sections.eocd_offset + apk_sections.eocd_size) as u64 in test_apk_sections()
276 let mut apk_sections = ApkSections::new(apk_file).unwrap(); in test_apk_digest() localVariable
277 let digest = apk_sections.compute_digest(SignatureAlgorithmID::DsaWithSha256).unwrap(); in test_apk_digest()
[all …]