Home
last modified time | relevance | path

Searched refs:rT4 (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/
Dsrp.c33 int8_t rT4 = regTemps[4]; in SrpPwdVerifierCalc() local
60 PKA_MOD_EXP(LEN_ID_N_BITS, rT4, rT2/*g*/, rT3 /*x*/); in SrpPwdVerifierCalc()
62 …aCopyPkaRegIntoBeByteBuff(pwdVerifier, CALC_FULL_32BIT_WORDS(pCtx->groupParam.modSizeInBits), rT4); in SrpPwdVerifierCalc()
84 int8_t rT4 = regTemps[4]; in SrpHostSharedSecretCalc() local
108 …PkaCopyBeByteBuffIntoPkaReg(rT4, LEN_ID_MAX_BITS, userPubKeyA, CALC_FULL_32BIT_WORDS(pCtx->groupPa… in SrpHostSharedSecretCalc()
113 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 0, status); in SrpHostSharedSecretCalc()
119 PKA_SUB(LEN_ID_N_PKA_REG_BITS, RES_DISCARD, rT4, rN); in SrpHostSharedSecretCalc()
129 PKA_MOD_MUL(LEN_ID_N_BITS, rT4, rT4/*A*/, rT2 /*v^u*/); in SrpHostSharedSecretCalc()
132 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 0, status); in SrpHostSharedSecretCalc()
138 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 1, status); in SrpHostSharedSecretCalc()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki.c62 int8_t rT4 = regTemps[4]; in PkiCalcNp() local
74 … err = PkaCalcNpIntoPkaReg(LEN_ID_N_BITS, sizeNbits, rN /* regN */, rNp /* regNp */, rT2, rT4); in PkiCalcNp()
122 int8_t rT4 = regTemps[4]; in PkiLongNumDiv() local
141 PKA_ADD_IM( LEN_ID_N_PKA_REG_BITS/*LenID*/, rT4/*Res*/, rT3/*OpA*/, 0/*Imm OpB*/); in PkiLongNumDiv()
149 PKA_DIV( LEN_ID_N_PKA_REG_BITS/*LenID*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in PkiLongNumDiv()
154 PkaCopyDataFromPkaReg(pDivRes, numASizeInWords, rT4/*srcReg*/); in PkiLongNumDiv()
190 int8_t rT4 = regTemps[4]; in PkiLongNumMul() local
224 PKA_MUL_LOW(LEN_ID_N_PKA_REG_BITS/*lenId*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in PkiLongNumMul()
227 PkaCopyDataFromPkaReg(pRes, OpSizeInWords, rT4/*srcReg*/ ); in PkiLongNumMul()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_public.c74 uint8_t rT4 = regTemps[4]; in RsaExecPubKeyExp() local
105 PKA_MOD_EXP(LEN_ID_N_BITS/*LenID*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in RsaExecPubKeyExp()
108 PkaCopyDataFromPkaReg(pPubData->DataOut, nSizeInWords, rT4/*srcReg*/); in RsaExecPubKeyExp()
Drsa_private.c52 uint8_t rT4 = regTemps[4]; /*4*/ in RsaExecPrivKeyExpNonCrt() local
86 PKA_MOD_EXP(LEN_ID_N_BITS/*LenID*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in RsaExecPrivKeyExpNonCrt()
92 PkaCopyDataFromPkaReg(pPrivData->DataOut, modSizeWords, rT4/*srcReg*/); in RsaExecPrivKeyExpNonCrt()
Drsa_genkey.c1261 uint8_t rT4 = regTemps[4]; /* temp registers */ in RsaKgPrimeTest() local
1300 rT2, rT3, rT4/*temp regs*/, in RsaKgPrimeTest()
1310 rT2, rT3, rT4/*temp regs*/, in RsaKgPrimeTest()
1630 int8_t rT1, rT2, rT3, rT4, rT5; in RsaCalculateCrtParams() local
1652 rT4 = regTemps[11]; /*11*/ in RsaCalculateCrtParams()
1664 error = PkaExecFullModInv( rT1/*OpB*/, rdQ/*Res*/, rT2, rT3, rT4, rT5); in RsaCalculateCrtParams()
1674 error = PkaExecFullModInv( rT1/*OpB*/, rdP/*Res*/, rT2, rT3, rT4, rT5); in RsaCalculateCrtParams()