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

#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 */