diff options
author | Nicolas Norvez <norvez@chromium.org> | 2018-11-04 17:32:44 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-07 20:27:34 -0800 |
commit | d20f90a205e86bf49307402a12c49226ae1ee03d (patch) | |
tree | 95bd79857befc6d6cbe42463b52b7c6b6d51efb9 /include | |
parent | 5ffa5f9a44c9f392ac90849fe5146892796594bf (diff) | |
download | chrome-ec-d20f90a205e86bf49307402a12c49226ae1ee03d.tar.gz |
fpsensor: Move the definition of FP_TEMPLATE_FORMAT_VERSION
Move it to ec_commands.h so it's accessible to tools.
BRANCH=nocturne
BUG=b:73337313
TEST=make BOARD=nocturne_fp -j
Change-Id: Ib7eecee599dde2d755357c2543ad860b64258f3f
Signed-off-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1316706
Reviewed-by: Prashant Malani <pmalani@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index d26f159bde..7e37a2ad94 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -5066,6 +5066,9 @@ struct __ec_align4 ec_response_fp_info { #define FP_FRAME_GET_BUFFER_INDEX(offset) ((offset) >> FP_FRAME_INDEX_SHIFT) #define FP_FRAME_OFFSET_MASK 0x0FFFFFFF +/* Version of the format of the encrypted templates. */ +#define FP_TEMPLATE_FORMAT_VERSION 3 + /* Constants for encryption parameters */ #define FP_CONTEXT_NONCE_BYTES 12 #define FP_CONTEXT_USERID_WORDS (32 / sizeof(uint32_t)) |