summaryrefslogtreecommitdiff
path: root/chip/g/crypto_api.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2020-04-24 14:02:15 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-14 07:25:55 +0000
commit8d785e9597c9db3444c01d15dff732bef85fad5a (patch)
treed8dbc8d6cc6756a3d7158a800f31609adcf57111 /chip/g/crypto_api.c
parent53f6d8a9334b259cf6ec3ddbc577ff49354c1ed1 (diff)
downloadchrome-ec-8d785e9597c9db3444c01d15dff732bef85fad5a.tar.gz
ap_ro_hash.py: improve error processing and help messages
This patch adds processing of the case when the Cr50 does not support the vendor command setting the AP RO areas hash. Also improve help message and include text descriptions of the encountered errors, if any. BUG=b:153764696 TEST=with the rest of the patches applied verified that programming of the AP RO verification space succeeds when expected, and proper errors are reported in case of failure. ./util/test_ap_ro_hash.py also still succeeds. Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Change-Id: Ie3898ef5ab925404decd730f457267615c9ab39c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2171397 Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'chip/g/crypto_api.c')
0 files changed, 0 insertions, 0 deletions