diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2017-02-22 10:37:39 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-02-23 16:02:02 -0800 |
commit | bff020fc6b25fe5dc0245c811d9f53b7c518aa08 (patch) | |
tree | 562e1fbd78c7155a4ca17dd3e5a134ab5242ebed /test/test_config.h | |
parent | b8c4f23f75e7994b419f17301b18837487ab597e (diff) | |
download | chrome-ec-bff020fc6b25fe5dc0245c811d9f53b7c518aa08.tar.gz |
util: add constant-time memcmp
Import from vboot_reference the constant-time memcmp implementation
for safer usage in cryptography code.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=chrome-os-partner:62991
TEST=run curve25519 test
Change-Id: I9c4c61e15912c978e13b6cc002af879c8ae8f630
Reviewed-on: https://chromium-review.googlesource.com/446098
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'test/test_config.h')
0 files changed, 0 insertions, 0 deletions