1e656c62eSopenharmony_ci/*
2e656c62eSopenharmony_ci * Copyright (C) 2023 Huawei Technologies Co., Ltd.
3e656c62eSopenharmony_ci * Licensed under the Mulan PSL v2.
4e656c62eSopenharmony_ci * You can use this software according to the terms and conditions of the Mulan PSL v2.
5e656c62eSopenharmony_ci * You may obtain a copy of Mulan PSL v2 at:
6e656c62eSopenharmony_ci *     http://license.coscl.org.cn/MulanPSL2
7e656c62eSopenharmony_ci * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
8e656c62eSopenharmony_ci * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
9e656c62eSopenharmony_ci * PURPOSE.
10e656c62eSopenharmony_ci * See the Mulan PSL v2 for more details.
11e656c62eSopenharmony_ci */
12e656c62eSopenharmony_ci
13e656c62eSopenharmony_ci#ifndef TCU_AUTHENTICATION_H
14e656c62eSopenharmony_ci#define TCU_AUTHENTICATION_H
15e656c62eSopenharmony_ci
16e656c62eSopenharmony_ci#include <stdint.h>
17e656c62eSopenharmony_ci
18e656c62eSopenharmony_cienum {
19e656c62eSopenharmony_ci    HASH_TYPE_VENDOR  = 0,
20e656c62eSopenharmony_ci    HASH_TYPE_SYSTEM,
21e656c62eSopenharmony_ci};
22e656c62eSopenharmony_ci
23e656c62eSopenharmony_ci#ifdef __cplusplus
24e656c62eSopenharmony_ciextern "C" {
25e656c62eSopenharmony_ci#endif
26e656c62eSopenharmony_ciint TcuAuthentication(uint8_t hash_type);
27e656c62eSopenharmony_ci#ifdef __cplusplus
28e656c62eSopenharmony_ci}
29e656c62eSopenharmony_ci#endif
30e656c62eSopenharmony_ci
31e656c62eSopenharmony_ci#endif /* TCU_AUTHENTICATION */