Lines Matching refs:DSCMB_ASSERT
162 #define DSCMB_ASSERT(x, p, ret) if (!(x)){DRVDSCMB2_DBG(DSCMB2_DBGLV_ALERT, "ALERT FAIL: %s\n", p)… macro
163 #define DSCMB_INIT_CHECK(ret) DSCMB_ASSERT(_bDSCMB2Drv_Inited == TRUE, "The drvDSCMB2 is not ini…
164 #define KL_INIT_CHECK(ret) DSCMB_ASSERT(_bKLDrv_Inited == TRUE, "The Key Ladder is not initializ…
609 DSCMB_ASSERT(u32EngId == 0, "EngId input error", DRV_DSCMB_FLT_NULL); in _MDrv_DSCMB2_FltAllocWithCAVid()
610 …DSCMB_ASSERT((eFltType == E_DSCMB_FLT_3_KEYS) || (eFltType == E_DSCMB_FLT_2_KEYS) || (eFltType == … in _MDrv_DSCMB2_FltAllocWithCAVid()
611 …DSCMB_ASSERT((u32CAVid != 0) && (u32CAVid <= DEFAULT_CAVID), "CAVid input error", DRV_DSCMB_FLT_NU… in _MDrv_DSCMB2_FltAllocWithCAVid()
785 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_FltFree()
786 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_FltFree()
896 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_FltConnectFltId()
897 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_FltConnectFltId()
898 DSCMB_ASSERT((u32FltId < HAL_DSCMB_PIDIDX_MAX) && (u32FltId != 0), "FltId input error", FALSE); in _MDrv_DSCMB2_FltConnectFltId()
1014 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_FltDisconnectFltId()
1015 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_FltDisconnectFltId()
1016 DSCMB_ASSERT((u32FltId < HAL_DSCMB_PIDIDX_MAX) && (u32FltId != 0), "FltId input error", FALSE); in _MDrv_DSCMB2_FltDisconnectFltId()
1082 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_FltSwitchType()
1083 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_FltSwitchType()
1320 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetFSCB()
1321 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetFSCB()
1322 DSCMB_ASSERT(eForceSCB <= DSCMB_FSCB_ODD, "ForceSCB input error", FALSE); in _MDrv_DSCMB2_EngSetFSCB()
1384 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetSwitch()
1385 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetSwitch()
1386 …DSCMB_ASSERT(eUppSwitch <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "UppSwitch input e… in _MDrv_DSCMB2_EngSetSwitch()
1387 …DSCMB_ASSERT(eLowSwitch <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "LowSwitch input e… in _MDrv_DSCMB2_EngSetSwitch()
1437 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetAlgo()
1438 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetAlgo()
1439 …DSCMB_ASSERT(eEngType <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "EngType input error… in _MDrv_DSCMB2_EngSetAlgo()
1575 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetIV()
1576 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetIV()
1577 DSCMB_ASSERT(eKeyType <= E_DSCMB_KEY_ODD, "KeyType input error", FALSE); in _MDrv_DSCMB2_EngSetIV()
1578 DSCMB_ASSERT(pu8IV != NULL, "Key data input error", FALSE); in _MDrv_DSCMB2_EngSetIV()
1634 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetIV_Ex()
1635 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetIV_Ex()
1636 …DSCMB_ASSERT(eEngType <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "EngType input error… in _MDrv_DSCMB2_EngSetIV_Ex()
1637 DSCMB_ASSERT(eKeyType <= E_DSCMB_KEY_ODD, "KeyType input error", FALSE); in _MDrv_DSCMB2_EngSetIV_Ex()
1638 DSCMB_ASSERT(pu8IV != NULL, "Key data input error", FALSE); in _MDrv_DSCMB2_EngSetIV_Ex()
1729 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetRIV()
1730 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetRIV()
1731 DSCMB_ASSERT(pu8RIV != NULL, "Key data input error", FALSE); in _MDrv_DSCMB2_EngSetRIV()
1796 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetKeyFSCB()
1797 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetKeyFSCB()
1798 …DSCMB_ASSERT(eEngType <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "EngType input error… in _MDrv_DSCMB2_EngSetKeyFSCB()
1799 DSCMB_ASSERT(eKeyType <= E_DSCMB_KEY_ODD, "KeyType input error", FALSE); in _MDrv_DSCMB2_EngSetKeyFSCB()
1858 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngSetKey()
1859 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngSetKey()
1860 …DSCMB_ASSERT(eEngType <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "EngType input error… in _MDrv_DSCMB2_EngSetKey()
1861 DSCMB_ASSERT(eKeyType <= E_DSCMB_KEY_ODD, "KeyType input error", FALSE); in _MDrv_DSCMB2_EngSetKey()
1862 DSCMB_ASSERT(pu8Key != NULL, "Key data input error", FALSE); in _MDrv_DSCMB2_EngSetKey()
1951 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_EngResetKey()
1952 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_EngResetKey()
1953 …DSCMB_ASSERT(eEngType <= (E_DSCMB_ENG_LSAS|E_DSCMB_ENG_ESA|E_DSCMB_ENG_LSAD), "EngType input error… in _MDrv_DSCMB2_EngResetKey()
1954 DSCMB_ASSERT(eKeyType <= E_DSCMB_KEY_ODD, "KeyType input error", FALSE); in _MDrv_DSCMB2_EngResetKey()
2054 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_SetDefaultCAVid()
2055 DSCMB_ASSERT((u32CAVid != 0) && (u32CAVid <= DEFAULT_CAVID), "CAVid input error", FALSE); in _MDrv_DSCMB2_SetDefaultCAVid()
2095 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_GetPidSlotMapIndex()
2096 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_GetPidSlotMapIndex()
2342 DSCMB_ASSERT(u32EngId == 0, "EngId input error", FALSE); in _MDrv_DSCMB2_FltTypeSet()
2343 DSCMB_ASSERT(u32DscmbId < HAL_DSCMB_KTE_MAX, "DscmbId input error", FALSE); in _MDrv_DSCMB2_FltTypeSet()
2344 DSCMB_ASSERT(DscmbType <= E_DSCMB_TYPE_CSA_CONF, "Dscmb Type input error", FALSE); in _MDrv_DSCMB2_FltTypeSet()
2549 DSCMB_ASSERT(KLCfg != NULL, "KLCfg input error", FALSE); in _MDrv_DSCMB2_KLadder_AtomicExec()
2550 DSCMB_ASSERT(u32Status != NULL, "u32Status input error", FALSE); in _MDrv_DSCMB2_KLadder_AtomicExec()
3129 DSCMB_ASSERT(KLCfg != NULL, "KLCfg input error", FALSE); in _MDrv_DSCMB2_KLadder_ETSI()
3130 DSCMB_ASSERT(u32Status != NULL, "u32Status input error", FALSE); in _MDrv_DSCMB2_KLadder_ETSI()
3131 DSCMB_ASSERT(pu8Nonce != NULL, "pu8Nonce input error", FALSE); in _MDrv_DSCMB2_KLadder_ETSI()
3771 DSCMB_ASSERT(u8Syskey != NULL, "System key input NULL", FALSE); in _MDrv_DSCMB2_Multi2_SetSystemKey()