aboutsummaryrefslogtreecommitdiff
path: root/core/include/tee/tee_cryp_pbkdf2.h
blob: f0a4b5ca6d929105adaf19c2a7a1128ef1c37511 (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_PBKDF2_H
#define TEE_CRYP_PBKDF2_H

#include <tee_api_types.h>

TEE_Result tee_cryp_pbkdf2(uint32_t hash_id, const uint8_t *password,
			   size_t password_len, const uint8_t *salt,
			   size_t salt_len, uint32_t iteration_count,
			   uint8_t *derived_key, size_t derived_key_len);

#endif /* TEE_CRYP_PBKDF2_H */