/*-----------------------------------------------------------------------------------
!
!                              COPYRIGHT 2015 BY
!                            MegaChips Corporation
!
!------------------------------------------------------------------------------------
! These coded instructions, statements, and computer programs include
! intellectual property and know-how belonging to MegaChips
! Corporaiton ("MCC") and its partner companies.
! Therefore, do not use these specifications for any purpose other than
! the purpose
! expressly agreed to by MCCs customer and MCC.  Also, do not duplicate,
! copy,
! or reproduce these specifications, nor reveal these specifications to
! any third party
! without MCCs prior written consent.
!
*/
/*-----------------------------------------------------------------------------------
  FILE        : rnd.h
  DESCRIPTION : rnd.c header
  Revision    : $Rev: 4 $
  Author      : $Author: shirait $
  Date        : $Date: 2015-09-09 15:19:58 +0900 (豌ｴ, 09 9 2015) $
-----------------------------------------------------------------------------------*/
#ifndef ___RND_H_INCLUDED___
#define ___RND_H_INCLUDED___

/********************************************************************************************
include
********************************************************************************************/
typedef enum _TagRND {
	RT_SOC_RND1 = 0,
	RT_SOC_SEED,
	RT_SOC_RND3,
	RT_SOC_RND6,
	RT_CARD_DUMMYTITLKEY,
	RT_CARD_ISRV,
	RT_CARD_SSRV,
	RT_CARD_RND2,
	RT_CARD_SEED,
	RT_CARD_RND4,
	RT_CARD_RND5,
}RND_TYPE;


void RND_Init(void);

#ifdef FW


/*************************************************************************************
FWでのみ使用する処理
*************************************************************************************/
#define RND_GenRand RND_FixRand
void RND_FixRand(void* pBuff, int size, int type);

//#define RND_GenRand(x, y, z) RND_FixRand((x), (y))
//void RND_GenModuleRand(void* pBuff, int size;


#endif
#endif // ___RND_H_INCLUDED___
