Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/dscmb/drv/dscmb2/
H A DdrvDSCMB.c2546 MS_BOOL _MDrv_DSCMB2_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_KL_Status* … in _MDrv_DSCMB2_KLadder_AtomicExec() argument
2549 DSCMB_ASSERT(KLCfg != NULL, "KLCfg input error", FALSE); in _MDrv_DSCMB2_KLadder_AtomicExec()
2557 MS_U32 u32CAVid = KLCfg->u32CAVid; in _MDrv_DSCMB2_KLadder_AtomicExec()
2559 DSCMB_KL_SelEng eKLEng = KLCfg->eKLSel; in _MDrv_DSCMB2_KLadder_AtomicExec()
2560 DSCMB_KLDst eKLDst = KLCfg->eDst & (~E_DSCMB_KL_DST_KT_PIDSLOTMAP_ENABLE); in _MDrv_DSCMB2_KLadder_AtomicExec()
2561 DSCMB_KLSrc eKLSrc = KLCfg->eSrc & (~E_DSCMB_KL_SRC_KDF_ENABLE); in _MDrv_DSCMB2_KLadder_AtomicExec()
2562 MS_BOOL bEnableKDF = ((KLCfg->eSrc & E_DSCMB_KL_SRC_KDF_ENABLE) == E_DSCMB_KL_SRC_KDF_ENABLE); in _MDrv_DSCMB2_KLadder_AtomicExec()
2563 …MS_BOOL bEnablePidslotmap = ((KLCfg->eDst & E_DSCMB_KL_DST_KT_PIDSLOTMAP_ENABLE) == E_DSCMB_KL_DST… in _MDrv_DSCMB2_KLadder_AtomicExec()
2564 DSCMB_Key_Type eKeyType = KLCfg->eKeyType & (~E_DSCMB_KEY_FSCB_ENABLE); in _MDrv_DSCMB2_KLadder_AtomicExec()
2566 … MS_BOOL bEnableKeyFscb = ((KLCfg->eKeyType & E_DSCMB_KEY_FSCB_ENABLE) == E_DSCMB_KEY_FSCB_ENABLE); in _MDrv_DSCMB2_KLadder_AtomicExec()
[all …]
H A DdrvDSCMB_private.h119 MS_BOOL _MDrv_DSCMB2_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_KL_Status* …
120 MS_BOOL _MDrv_DSCMB2_KLadder_ETSI(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, MS_U8 *pu8Nonce, MS_U8 …
H A DmdrvDSCMB.c667 if(TRUE == _MDrv_DSCMB2_KLadder_AtomicExec(pKLArgs->KLCfg, in DSCMBIoctl()
682 if(TRUE == _MDrv_DSCMB2_KLadder_ETSI(pKLArgs->KLCfg, in DSCMBIoctl()
/utopia/UTPA2-700.0.x/modules/dscmb/drv/dscmb/
H A DdrvDSCMB.c2706 MS_BOOL MDrv_DSCMB_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_KL_Status* u3… in MDrv_DSCMB_KLadder_AtomicExec() argument
2717 if ((E_DSCMB_KL_SRC_ACPU == KLCfg->eSrc) && (NULL == ACPU_Out)) in MDrv_DSCMB_KLadder_AtomicExec()
2724 if ((E_DSCMB_KL_64_BITS == KLCfg->eOutsize) && (E_DSCMB_KL_TDES == KLCfg->eAlgo)) in MDrv_DSCMB_KLadder_AtomicExec()
2726 u32Round = KLCfg->u32Level * 2 - 1; in MDrv_DSCMB_KLadder_AtomicExec()
2729 if( KLCfg->u32Level == 0 ) u32Round = 0 ; in MDrv_DSCMB_KLadder_AtomicExec()
2731 else if ((E_DSCMB_KL_128_BITS == KLCfg->eOutsize) && (E_DSCMB_KL_TDES == KLCfg->eAlgo)) in MDrv_DSCMB_KLadder_AtomicExec()
2733 u32Round = KLCfg->u32Level * 2 ; in MDrv_DSCMB_KLadder_AtomicExec()
2735 else if ((E_DSCMB_KL_128_BITS == KLCfg->eOutsize) && (E_DSCMB_KL_AES == KLCfg->eAlgo)) in MDrv_DSCMB_KLadder_AtomicExec()
2737 u32Round = KLCfg->u32Level * 2 ; in MDrv_DSCMB_KLadder_AtomicExec()
2746 if(KLCfg->u32Level >3) in MDrv_DSCMB_KLadder_AtomicExec()
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/utopia_adaption/dscmb2/
H A DDSCMB_adp.c187 KLCfg, spt_DSCMB_KLadder_KLCfg, in DSCMB_adp_Init()
191 KLCfg, spt_DSCMB_KLadder_KLCfg_Lv2, in DSCMB_adp_Init()
195 KLCfg, spt_DSCMB_KLadder_KLCfg_Lv3, in DSCMB_adp_Init()
199 KLCfg, spt_DSCMB_KLadder_KLCfg_Lv4, in DSCMB_adp_Init()
203 KLCfg, spt_DSCMB_KLadder_KLCfg_Lv5, in DSCMB_adp_Init()
208 KLCfg, spt_DSCMB_KLadder_KLCfg, in DSCMB_adp_Init()
215 KLCfg, spt_DSCMB_KLadder_KLCfg_Lv2, in DSCMB_adp_Init()
222 KLCfg, spt_DSCMB_KLadder_KLCfg_Lv3, in DSCMB_adp_Init()
287 DSCMB_KLCfg_All* KLCfg=NULL; in DSCMB_adp_Ioctl() local
378 … CMP_CPY_FROM_USER((void*)buffer_array0, (void*)pKLAtomicArgs->KLCfg, sizeof(DSCMB_KLCfg_All)); in DSCMB_adp_Ioctl()
[all …]
/utopia/UTPA2-700.0.x/mxlib/include/
H A DdrvDSCMB.h1193 DLL_PUBLIC MS_BOOL MDrv_DSCMB2_KLadder_ETSI(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, MS_U8 *pu8Non…
1200 DLL_PUBLIC MS_BOOL MDrv_DSCMB2_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_K…
1253 DLL_PUBLIC MS_BOOL MDrv_DSCMB_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_KL…
1289 DLL_PUBLIC void MDrv_DSCMB_KLadder_SetConfig(DSCMB_KLCfg *KLCfg);
H A DdrvDSCMB_v2.h276 DSCMB_KLCfg_All* KLCfg; member
283 DSCMB_KLCfg_All* KLCfg; member
/utopia/UTPA2-700.0.x/projects/tmplib/include/
H A DdrvDSCMB_v2.h217 DSCMB_KLCfg_All* KLCfg; member
224 DSCMB_KLCfg_All* KLCfg; member
H A DdrvDSCMB.h990 DLL_PUBLIC MS_BOOL MDrv_DSCMB2_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_K…
1079 DLL_PUBLIC void MDrv_DSCMB_KLadder_SetConfig(DSCMB_KLCfg *KLCfg);
/utopia/UTPA2-700.0.x/modules/dscmb/utopia_adaption/dscmb/
H A DDSCMB_adp.c204 …ec[1],UADP_SPT_POINTER_TO_NEXT, ((unsigned long)(&(pDSCMB_psKlAtomicExec->KLCfg)) - (unsigned long… in DSCMB_adp_Init()
211 …addrETSI[1],UADP_SPT_POINTER_TO_NEXT, ((unsigned long)(&(pDSCMB_psKlETSI->KLCfg)) - (unsigned long… in DSCMB_adp_Init()
/utopia/UTPA2-700.0.x/projects/build/
H A Dpreprocess.txt17622 DSCMB_KLCfg_All* KLCfg;
17629 DSCMB_KLCfg_All* KLCfg;
73176 DLL_PUBLIC MS_BOOL MDrv_DSCMB2_KLadder_ETSI(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, MS_U8 *pu8Non…
73183 DLL_PUBLIC MS_BOOL MDrv_DSCMB2_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_K…
73217 DLL_PUBLIC MS_BOOL MDrv_DSCMB_KLadder_AtomicExec(DSCMB_KLCfg_All* KLCfg , MS_U8 *ACPU_Out, DSCMB_KL…
73253 DLL_PUBLIC void MDrv_DSCMB_KLadder_SetConfig(DSCMB_KLCfg *KLCfg);