Co-authored-by: neelimap <neelimaps@neominds.in> Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/5 Reviewed-by: Siddhant Singh <siddhant.singh@neominds.in> Co-authored-by: Neelima P S <neelima.ps@neominds.in> Co-committed-by: Neelima P S <neelima.ps@neominds.in>
43 lines
754 B
C
43 lines
754 B
C
/* secPbkdf2.h - PBKDF2 library header file */
|
|
|
|
/*
|
|
* Copyright (c) 2015, 2021 Wind River Systems, Inc.
|
|
*
|
|
* The right to copy, distribute, modify, or otherwise make use
|
|
* of this software may be licensed only pursuant to the terms
|
|
* of an applicable Wind River license agreement.
|
|
*/
|
|
|
|
#ifndef __INCsecPbkdf2h
|
|
#define __INCsecPbkdf2h
|
|
|
|
/* includes */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
/* defines */
|
|
|
|
/* typedefs */
|
|
|
|
/* function declarations */
|
|
STATUS secPbkdf2Hmac
|
|
(
|
|
const char *pw,
|
|
int pwLen,
|
|
const unsigned char *salt,
|
|
int saltLen,
|
|
int c,
|
|
const SEC_HASH_TEMPLATE *hash,
|
|
int keyLen,
|
|
unsigned char *key
|
|
);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __INCsecPbkdf2h */
|