diff options
author | Leo Lai <cylai@chromium.org> | 2020-05-29 14:30:11 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-11 17:55:48 +0000 |
commit | e74d8b264cab776631991e16a6a447da0ce73561 (patch) | |
tree | e725801908015194f7abd22d37585c817dd0d352 /README.fmap | |
parent | e1b8aaed2a60b88dd047bc6e341327636d0f0212 (diff) | |
download | chrome-ec-e74d8b264cab776631991e16a6a447da0ce73561.tar.gz |
cr50: append 0 to ec points if necessary.
This CL enables cr50 to accept EC points of which X and/or Y component
has less than 32 bytes.
For testing, the following 4 data inputs can pass the test:
1. Creating salted session with a full-length ephemeral key.
2. Creating salted session with a short ephemeral key.
3. Walking through enrollment flow with a full-length ephemeral key.
4. Walking through enrollment flow with a short ephemeral key.
BUG=b:157528390
TEST=see the comment above.
Change-Id: I12c744ab00391a31d81d4ac6b6e644981ae46f48
Signed-off-by: Leo Lai <cylai@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2222386
Tested-by: Leo Lai <cylai@google.com>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'README.fmap')
0 files changed, 0 insertions, 0 deletions