Searched refs:pkaRegCount (Results 1 – 4 of 4) sorted by relevance
27 uint32_t pkaRegCount = 7; // adding 2 for HW temp regs PKA_REG_T0 & PKA_REG_T1 in SrpPwdVerifierCalc() local43 rc = PkaInitAndMutexLock(pCtx->groupParam.modSizeInBits, &pkaRegCount); in SrpPwdVerifierCalc()65 PkaFinishAndMutexUnlock(pkaRegCount); in SrpPwdVerifierCalc()78 uint32_t pkaRegCount = 8; // adding 2 for HW temp regs PKA_REG_T0 & PKA_REG_T1 in SrpHostSharedSecretCalc() local99 rc = PkaInitAndMutexLock(pCtx->groupParam.modSizeInBits, &pkaRegCount); in SrpHostSharedSecretCalc()156 PkaFinishAndMutexUnlock(pkaRegCount); in SrpHostSharedSecretCalc()172 uint32_t pkaRegCount = 10; // adding 2 for HW temp regs PKA_REG_T0 & PKA_REG_T1 in SrpUserSharedSecretCalc() local197 rc = PkaInitAndMutexLock(pCtx->groupParam.modSizeInBits, &pkaRegCount); in SrpUserSharedSecretCalc()241 PkaFinishAndMutexUnlock(pkaRegCount); in SrpUserSharedSecretCalc()254 uint32_t pkaRegCount = 8; // adding 2 for HW temp regs PKA_REG_T0 & PKA_REG_T1 in SrpHostPublicKeyCalc() local[all …]
356 uint32_t *pkaRegCount) /*!< [in/out] As input - required registers for operation. in PkaInitAndMutexLock() argument380 err = PkaInitPka(sizeInBits, 0 /*sizeInWords*/, pkaRegCount); in PkaInitAndMutexLock()406 void PkaFinishAndMutexUnlock(uint32_t pkaRegCount) /*!< [in] Number of registers to clear. */ in PkaFinishAndMutexUnlock() argument409 if (pkaRegCount > 0) { in PkaFinishAndMutexUnlock()410 pkaRegCount = CC_MIN(PKA_MAX_COUNT_OF_PHYS_MEM_REGS-2, pkaRegCount); in PkaFinishAndMutexUnlock()412 PkaClearBlockOfRegs(PKA_REG_N/*FirstReg*/, pkaRegCount, LEN_ID_MAX_BITS/*LenID*/); in PkaFinishAndMutexUnlock()
268 uint32_t pkaRegCount = PKA_MAX_COUNT_OF_PHYS_MEM_REGS; in PkiClearAllPka() local271 if (PkaInitAndMutexLock(regSizeInBits, &pkaRegCount) != CC_SUCCESS) { in PkiClearAllPka()275 PkaFinishAndMutexUnlock(pkaRegCount); in PkiClearAllPka()
286 uint32_t *pkaRegCount);288 void PkaFinishAndMutexUnlock(uint32_t pkaRegCount);