xref: /optee_os/core/include/tee/tee_cryp_pbkdf2.h (revision fbe66cf83199aa6a2aca9f93384cf1ad9185a5f6)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2014, Linaro Limited
4  */
5 
6 #ifndef __TEE_TEE_CRYP_PBKDF2_H
7 #define __TEE_TEE_CRYP_PBKDF2_H
8 
9 #include <tee_api_types.h>
10 
11 TEE_Result tee_cryp_pbkdf2(uint32_t hash_id, const uint8_t *password,
12 			   size_t password_len, const uint8_t *salt,
13 			   size_t salt_len, uint32_t iteration_count,
14 			   uint8_t *derived_key, size_t derived_key_len);
15 
16 #endif /* __TEE_TEE_CRYP_PBKDF2_H */
17