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