summaryrefslogtreecommitdiff
path: root/core/include/tee/tee_cryp_hkdf.h
blob: 5497c102b327032f8a8c4fe0e256845a6bb34390 (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
 * All rights reserved.
 */

#ifndef TEE_CRYP_HKDF_H
#define TEE_CRYP_HKDF_H

#include <tee_api_types.h>

TEE_Result tee_cryp_hkdf(uint32_t hash_id, const uint8_t *ikm, size_t ikm_len,
			 const uint8_t *salt, size_t salt_len,
			 const uint8_t *info, size_t info_len, uint8_t *okm,
			 size_t okm_len);

#endif /* TEE_CRYP_HKDF_H */