diff options
author | Marius Schilder <mschilder@google.com> | 2019-06-25 13:48:42 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-29 23:43:53 +0000 |
commit | 7c9aff6ff731db0da18f8fe8232196cf71fd09f4 (patch) | |
tree | 7707f6e58c73a62b316d34e94f523bae2579a32f /common/mkbp_event.c | |
parent | 234c5298c8369e18eac135b50fc3dec61afe510e (diff) | |
download | chrome-ec-7c9aff6ff731db0da18f8fe8232196cf71fd09f4.tar.gz |
g: reset and wipe dcrypto engine after timeout.
In case of a timeout, we need to clean up state and make sure engine
is ready for a subsequent call.
Added dcrypto_test console command to test the various scenarios:
stack overflow, infinite loop and cfi failure recovery.
Signed-off-by: mschilder@google.com
BUG=b:135772657
BRANCH=none
TEST=run console command dcrypto_test; build and run cr53
Change-Id: I531a59de6f2cf6941c797aeeeabb10eb10f02c9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1677229
Reviewed-by: Marius Schilder <mschilder@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Marius Schilder <mschilder@chromium.org>
Commit-Queue: Marius Schilder <mschilder@chromium.org>
Diffstat (limited to 'common/mkbp_event.c')
0 files changed, 0 insertions, 0 deletions