Home
last modified time | relevance | path

Searched refs:rT (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_private.c135 int8_t rT = regTemps[3]; in RsaExecPrivKeyExpCrt() local
169 …PkaCopyDataIntoPkaReg(rT/*3 dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pPrivData->DataIn/*src_ptr*/, modS… in RsaExecPrivKeyExpCrt()
170 PKA_COPY(LEN_ID_MAX_BITS/*LenID*/, rT1/*4 dest*/, rT/*3 src*/); in RsaExecPrivKeyExpCrt()
174 PKA_DIV(LEN_ID_N_PKA_REG_BITS/*LenID*/, rQ/*6 Res not used*/, rT/*3 OpA*/, rN/*0 OpB=rN=Q*/); in RsaExecPrivKeyExpCrt()
179 PKA_MOD_EXP(LEN_ID_PQ_BITS/*LenID*/, rMq/*5 Res*/, rT/*3 OpA*/, rD/*2 OpB*/); in RsaExecPrivKeyExpCrt()
203 …PKA_DIV(LEN_ID_N_PKA_REG_BITS/*LenID*/, rT/*3 res not used*/, rT1/*4 OpA and remainder*/, rN/*0 Op… in RsaExecPrivKeyExpCrt()
208 PKA_MOD_EXP(LEN_ID_PQ_BITS/*LenID*/, rT/*3 Res*/, rT1/*4 OpA*/, rD/*2 exp*/); in RsaExecPrivKeyExpCrt()
215 PKA_MOD_SUB(LEN_ID_PQ_BITS/*LenID*/, rT/*Res*/, rT/*OpA*/, rT1/*OpB*/); in RsaExecPrivKeyExpCrt()
218 PKA_MOD_MUL(LEN_ID_PQ_BITS/*LenID*/, rT1/*Res*/, rT/*OpA*/, rqInv/*rqInv*/); in RsaExecPrivKeyExpCrt()
224 PkaClearPkaRegWords(rT, pqSizeInWords); in RsaExecPrivKeyExpCrt()
[all …]
Drsa_genkey.c131 … int8_t rT) /*!< [in] virtual pointers to temp PKA registers. */ in PkaRsaKgX931Jacobi() argument
215 PKA_DIV(lenId+1 , rT/*ResNotUsed*/, rP1/*OpA*/, rA1/*OpB*/); in PkaRsaKgX931Jacobi()
417 int8_t rP, rD, rK, rU, rV, rUnew, rVnew, rT; in PkaRsaKgX931LucasPrimeTest() local
434 rT = pRegTemps[6]; in PkaRsaKgX931LucasPrimeTest()
451 rU/*temp*/, rV/*temp*/, rT/*temp*/); in PkaRsaKgX931LucasPrimeTest()
489 PKA_MOD_MUL( lenId, rT/*Res*/, rU/*OpA*/, rU/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
492 PKA_MOD_MUL( lenId, rT/*Res*/, rD/*OpA*/, rT/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
495 PKA_ADD( lenId+1, rVnew/*Res*/, rT/*OpA*/, rVnew/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
504 bit = PkaGetBitFromPkaReg( rK, lenId, i, rT); in PkaRsaKgX931LucasPrimeTest()
525 PKA_DIV( lenId+1, rT/*ResNotUsed*/, rU/*OpA*/, rP/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dpka_ec_edw.c41 …uint32_t rX, uint32_t rY, uint32_t rZ, uint32_t rT, /*!< [out] - virt. pointers to PKA registe… in PkaEcEdwAddExtExtExt() argument
60 PKA_SUB(LEN_ID_N_PKA_REG_BITS, rT, EDW_REG_N_4, EDW_REG_T5); in PkaEcEdwAddExtExtExt()
61 PKA_ADD(LEN_ID_N_PKA_REG_BITS, rT, rT, EDW_REG_T6); in PkaEcEdwAddExtExtExt()
66 PKA_MOD_MUL_NFR(LEN_ID_N_BITS, rX, rT, EDW_REG_T5); in PkaEcEdwAddExtExtExt()
69 PKA_MOD_MUL_NFR(LEN_ID_N_BITS, rT, rT, EDW_REG_T6); in PkaEcEdwAddExtExtExt()
79 static void PkaEcEdwDoublExtExt(uint32_t rX, uint32_t rY, uint32_t rZ, uint32_t rT) /*!< [in/out] -… in PkaEcEdwDoublExtExt() argument
87 … PKA_MOD_MUL_NFR(LEN_ID_N_BITS, EDW_REG_T3, rT, rT); // hwmmul(t3, t, t, n, np); in PkaEcEdwDoublExtExt()
91 PKA_SUB(LEN_ID_N_PKA_REG_BITS, rT, EDW_REG_N_4, EDW_REG_T5); // hwsub(t, n_4, t5); in PkaEcEdwDoublExtExt()
92 PKA_ADD(LEN_ID_N_PKA_REG_BITS, rT, rT, EDW_REG_T6); // hwadd(t, t, t6); in PkaEcEdwDoublExtExt()
97 … PKA_MOD_MUL_NFR(LEN_ID_N_BITS, rX, rT, EDW_REG_T5); // hwmmul(x, t, t5, n, np); in PkaEcEdwDoublExtExt()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.c1005 … uint32_t rT) /*!< [in] Temp register. If it is not necessary to keep rX, then in PkaGetBitFromPkaReg() argument
1013 if (rX != rT) in PkaGetBitFromPkaReg()
1014 PKA_COPY(LEN_ID_MAX_BITS, rT/*dst*/, rX/*src*/); in PkaGetBitFromPkaReg()
1022 PKA_SHR_FILL0(LenID+1, rT/*Result*/, rT/*N*/, CC_BITS_IN_32BIT_WORD-1/*S*/); in PkaGetBitFromPkaReg()
1027 PKA_SHR_FILL0(LenID+1, rT/*Result*/, rT/*N*/, numBits-1/*S*/); in PkaGetBitFromPkaReg()
1030 PKA_READ_BIT0( LenID+1, rT/**/, bitVal); in PkaGetBitFromPkaReg()
Dpka.h276 uint32_t rT);
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dec_wrst_dsa.c72 uint8_t rT = regTemps[8]; in CalcSignature() local
103 PKA_DIV(LEN_ID_MAX_BITS, rT/*not used*/, rEphK, ECC_REG_N); in CalcSignature()
111 PKA_MOD_INV_W_EXP(rKinv, rEphK, rT/*temp*/); /* RL to inv_fast */ in CalcSignature()