diff options
author | Nicolas Norvez <norvez@chromium.org> | 2018-09-19 18:41:06 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-05-07 12:39:10 +0000 |
commit | 3b768580ff082bb374267402a6e4a1f67de35412 (patch) | |
tree | 99583407f53d4d39045887739b746614238f4c0c | |
parent | 1fa3dba2ade5f910839828a3b55c6f41422160ea (diff) | |
download | chrome-ec-3b768580ff082bb374267402a6e4a1f67de35412.tar.gz |
fpsensor: add a version to the template format
The first 2 bytes of the metadata structure contain the version of the
format of that structure.
BRANCH=nocturne
BUG=b:73337313
TEST=enroll/logout/unlock
Change-Id: I1838791603df11fdefb373105617f83eec116f89
Signed-off-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1235413
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1557836
Tested-by: Yong Hong <yhong@google.com>
Commit-Queue: Yong Hong <yhong@google.com>
-rw-r--r-- | include/ec_commands.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index e63e50a3a5..ba796ea05e 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -5056,6 +5056,12 @@ struct __ec_align4 ec_response_fp_info { struct ec_fp_template_encryption_metadata { /* + * Version of the structure format (N=1). + */ + uint16_t struct_version; + /* Reserved bytes, set to 0. */ + uint16_t reserved; + /* * The salt is *only* ever used for key derivation. The nonce is unique, * a different one is used for every message. */ |