blob: 32450e3cc0915dce68edc45b8943a6bcb658cf25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* 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.
*/
#ifndef __MOCK_FPSENSOR_STATE_MOCK_H
#define __MOCK_FPSENSOR_STATE_MOCK_H
#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 */
|