/******************************************************************************/
/* Williams Advanced Engineering Limited                     Copyright(C) 2021*/
/* Grove                                                  All rights reserved */
/*                                                                            */
/******************************************************************************/


#ifndef MAINSOURCES_INCLUDE_IOS_SECURITYACCESS_H_
#define MAINSOURCES_INCLUDE_IOS_SECURITYACCESS_H_

#include "hal_stdtypes.h"

#define SEEDLENGTH 16

/*------------------------------------------------------------*/
/*          Functions prototypes definition                   */
/*------------------------------------------------------------*/
/* Public */
extern void fnIosGenerateSeed(uint8* bpSeedArray, uint8 bSeedLength);
extern void fnIosCalcClientKey(uint8 * Seed, uint8 SeedLength);
extern void fnIosGetCalcClientKey(uint8 * Key, uint8 Length);
extern void fnIosResetSeed(void);


/* Private */
void fnIosResetCalcClientKey(void);

#endif /* MAINSOURCES_INCLUDE_IOS_SECURITYACCESS_H_ */
