Home
last modified time | relevance | path

Searched refs:u32CurrentRound (Results 1 – 11 of 11) sorted by relevance

/utopia/UTPA2-700.0.x/modules/security/hal/k6/cipher/
H A DhalCIPHER.c795 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T… in HAL_CIPHER_OTPHash_Set_FileinDesc() argument
799 _u32DmaInAddr = u32CurrentRound; in HAL_CIPHER_OTPHash_Set_FileinDesc()
803 _u32DmaInAddr = u32FileinAddr + u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
807 if((u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT) >= HAL_CRYPTODMA_OTPHASH_UNIT) in HAL_CIPHER_OTPHash_Set_FileinDesc()
813 _u32DmaInNum = u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
1043 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash() argument
1048 if(u32CurrentRound == 0) in HAL_CIPHER_DMA_Set_OTPHash()
1053 if(u32CurrentRound == u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash()
H A DhalCIPHER.h337 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T…
351 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound);
/utopia/UTPA2-700.0.x/modules/security/hal/curry/cipher/
H A DhalCIPHER.c825 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T… in HAL_CIPHER_OTPHash_Set_FileinDesc() argument
829 _u32DmaInAddr = u32CurrentRound; in HAL_CIPHER_OTPHash_Set_FileinDesc()
833 _u32DmaInAddr = u32FileinAddr + u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
837 if((u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT) >= HAL_CRYPTODMA_OTPHASH_UNIT) in HAL_CIPHER_OTPHash_Set_FileinDesc()
843 _u32DmaInNum = u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
1073 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash() argument
1078 if(u32CurrentRound == 0) in HAL_CIPHER_DMA_Set_OTPHash()
1083 if(u32CurrentRound == u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash()
H A DhalCIPHER.h337 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T…
351 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound);
/utopia/UTPA2-700.0.x/modules/security/hal/kano/cipher/
H A DhalCIPHER.c792 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T… in HAL_CIPHER_OTPHash_Set_FileinDesc() argument
796 _u32DmaInAddr = u32CurrentRound; in HAL_CIPHER_OTPHash_Set_FileinDesc()
800 _u32DmaInAddr = u32FileinAddr + u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
804 if((u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT) >= HAL_CRYPTODMA_OTPHASH_UNIT) in HAL_CIPHER_OTPHash_Set_FileinDesc()
810 _u32DmaInNum = u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
1040 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash() argument
1045 if(u32CurrentRound == 0) in HAL_CIPHER_DMA_Set_OTPHash()
1050 if(u32CurrentRound == u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash()
H A DhalCIPHER.h336 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T…
350 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound);
/utopia/UTPA2-700.0.x/modules/security/hal/k6lite/cipher/
H A DhalCIPHER.c795 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T… in HAL_CIPHER_OTPHash_Set_FileinDesc() argument
799 _u32DmaInAddr = u32CurrentRound; in HAL_CIPHER_OTPHash_Set_FileinDesc()
803 _u32DmaInAddr = u32FileinAddr + u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
807 if((u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT) >= HAL_CRYPTODMA_OTPHASH_UNIT) in HAL_CIPHER_OTPHash_Set_FileinDesc()
813 _u32DmaInNum = u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
1043 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash() argument
1048 if(u32CurrentRound == 0) in HAL_CIPHER_DMA_Set_OTPHash()
1053 if(u32CurrentRound == u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash()
H A DhalCIPHER.h337 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T…
351 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound);
/utopia/UTPA2-700.0.x/modules/security/hal/k7u/cipher/
H A DhalCIPHER.c809 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T… in HAL_CIPHER_OTPHash_Set_FileinDesc() argument
813 _u32DmaInAddr = u32CurrentRound; in HAL_CIPHER_OTPHash_Set_FileinDesc()
817 _u32DmaInAddr = u32FileinAddr + u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
821 if((u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT) >= HAL_CRYPTODMA_OTPHASH_UNIT) in HAL_CIPHER_OTPHash_Set_FileinDesc()
827 _u32DmaInNum = u32FileinNum - u32CurrentRound*HAL_CRYPTODMA_OTPHASH_UNIT; in HAL_CIPHER_OTPHash_Set_FileinDesc()
1077 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash() argument
1082 if(u32CurrentRound == 0) in HAL_CIPHER_DMA_Set_OTPHash()
1087 if(u32CurrentRound == u32OTPHashRound) in HAL_CIPHER_DMA_Set_OTPHash()
H A DhalCIPHER.h346 …ash_Set_FileinDesc(MS_PHY u32FileinAddr, MS_U32 u32FileinNum, MS_U32 u32CurrentRound, CIPHER_MEM_T…
360 void HAL_CIPHER_DMA_Set_OTPHash(MS_U32 u32CurrentRound, MS_U32 u32OTPHashRound);
/utopia/UTPA2-700.0.x/modules/security/drv/cipher/
H A DdrvCIPHER.c1222 MS_U32 u32CurrentRound = 0; in MDrv_CIPHER_OTPHASHCalc() local
1326 for(u32CurrentRound=0; u32CurrentRound<=u32OTPHashRound; u32CurrentRound++) in MDrv_CIPHER_OTPHASHCalc()
1329 HAL_CIPHER_DMA_Set_OTPHash( u32CurrentRound, u32OTPHashRound); in MDrv_CIPHER_OTPHASHCalc()
1332 …TPHash_Set_FileinDesc( stCfg.stInput.u32Addr, stCfg.stInput.u32Size, u32CurrentRound, stCfg.stInpu… in MDrv_CIPHER_OTPHASHCalc()