diff options
Diffstat (limited to 'include/mock/fpsensor_state_mock.h')
-rw-r--r-- | include/mock/fpsensor_state_mock.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/mock/fpsensor_state_mock.h b/include/mock/fpsensor_state_mock.h index eafe01851c..32450e3cc0 100644 --- a/include/mock/fpsensor_state_mock.h +++ b/include/mock/fpsensor_state_mock.h @@ -1,4 +1,4 @@ -/* Copyright 2020 The Chromium OS Authors. All rights reserved. +/* Copyright 2020 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -8,11 +8,19 @@ #include <stdbool.h> #include <stdint.h> + +#include "driver/fingerprint/fpsensor.h" #include "ec_commands.h" extern const uint8_t default_fake_tpm_seed[FP_CONTEXT_TPM_BYTES]; +extern const uint8_t + default_fake_fp_positive_match_salt[FP_MAX_FINGER_COUNT] + [FP_POSITIVE_MATCH_SALT_BYTES]; +extern const uint8_t + trivial_fp_positive_match_salt[FP_MAX_FINGER_COUNT] + [FP_POSITIVE_MATCH_SALT_BYTES]; int fpsensor_state_mock_set_tpm_seed( const uint8_t tpm_seed[FP_CONTEXT_TPM_BYTES]); -#endif /* __MOCK_FPSENSOR_STATE_MOCK_H */ +#endif /* __MOCK_FPSENSOR_STATE_MOCK_H */ |