summaryrefslogtreecommitdiff
path: root/core/include/tee/tee_cryp_concat_kdf.h
blob: a54fe1a28023a6afa70488d43243870ddd8ead1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2014, Linaro Limited
 * All rights reserved.
 */

#ifndef TEE_CRYP_CONCAT_KDF_H
#define TEE_CRYP_CONCAT_KDF_H

#include <tee_api_types.h>

TEE_Result tee_cryp_concat_kdf(uint32_t hash_id, const uint8_t *shared_secret,
			       size_t shared_secret_len,
			       const uint8_t *other_info,
			       size_t other_info_len, uint8_t *derived_key,
			       size_t derived_key_len);

#endif /* TEE_CRYP_CONCAT_KDF_H */