Skip to content

Add assert and summarize spent time for verify#11

Merged
xiaoxiang781216 merged 2 commits intoopen-vela:devfrom
JianyuWang0623:br_wjy_ota_tools_250521_openvela
Jun 21, 2025
Merged

Add assert and summarize spent time for verify#11
xiaoxiang781216 merged 2 commits intoopen-vela:devfrom
JianyuWang0623:br_wjy_ota_tools_250521_openvela

Conversation

@JianyuWang0623
Copy link
Member

@JianyuWang0623 JianyuWang0623 commented May 21, 2025

Pick from Gerrit 5475925 and 5496108

Summary

Add assert for "zip_verify" when calculating MD failed, and summarize spent time for "avb_verify".

  1. Assert if "zip_verify" calculating MD failed
  2. Summarize "avb_verify" spent time

Impact

system/ota/verify

Testing

  1. Selftest
verify vela_tee.bin

2.5296 sec
  1. CI

e.g. Selected LIB_AVB_SHA256_CRYPTODEV but hardware/driver is not ready.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
@github-actions
Copy link

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Jun 21, 2025
@xiaoxiang781216 xiaoxiang781216 merged commit 8b232c5 into open-vela:dev Jun 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants