diff options
author | Nicolas Norvez <norvez@chromium.org> | 2018-09-09 17:47:15 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-21 00:51:00 -0700 |
commit | 98d566d282af038f190942baa2ef29cbd1b1dab2 (patch) | |
tree | 01e4c1479088b099d6854c2877a18a4d413b6e1e /common/rollback.c | |
parent | 6e410ccca37239c12b9c5317c8a112e6fba2b0a2 (diff) | |
download | chrome-ec-98d566d282af038f190942baa2ef29cbd1b1dab2.tar.gz |
fpsensor: only 1 encryption per second
Prevent userspace from constantly hammering the EC for new encrypted
messages to avoid IV collision.
BUG=b:114160734
BUG=b:73337313
BRANCH=nocturne
TEST=Frequent consecutive touches, see EC_RES_BUSY being returned when
two matches are very close.
Change-Id: I9c81b4a21e289bf48fbfcbba50cd2a7ab83db38a
Signed-off-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1215542
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'common/rollback.c')
0 files changed, 0 insertions, 0 deletions