/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/ |
D | srp.c | 32 int8_t rT3 = regTemps[3]; in SrpPwdVerifierCalc() local 49 rc = PkaCalcNpIntoPkaReg(LEN_ID_N_BITS, pCtx->groupParam.modSizeInBits, rN, rNp, rT2, rT3); in SrpPwdVerifierCalc() 59 …PkaCopyBeByteBuffIntoPkaReg(rT3, LEN_ID_MAX_BITS, xBuff, CALC_32BIT_WORDS_FROM_BYTES(pCtx->hashDig… in SrpPwdVerifierCalc() 60 PKA_MOD_EXP(LEN_ID_N_BITS, rT4, rT2/*g*/, rT3 /*x*/); in SrpPwdVerifierCalc() 83 int8_t rT3 = regTemps[3]; in SrpHostSharedSecretCalc() local 107 …PkaCopyBeByteBuffIntoPkaReg(rT3, LEN_ID_MAX_BITS, uScramble, CALC_32BIT_WORDS_FROM_BYTES(pCtx->has… in SrpHostSharedSecretCalc() 127 PKA_MOD_EXP(LEN_ID_N_BITS, rT2, rT2/*v*/, rT3 /*u*/); in SrpHostSharedSecretCalc() 177 int8_t rT3 = regTemps[3]; in SrpUserSharedSecretCalc() local 205 …PkaCopyBeByteBuffIntoPkaReg(rT3, LEN_ID_MAX_BITS, xBuff, CALC_32BIT_WORDS_FROM_BYTES(pCtx->hashDig… in SrpUserSharedSecretCalc() 227 PKA_MOD_EXP(LEN_ID_N_BITS, rT2, rT2/*g*/, rT3 /*x*/); in SrpUserSharedSecretCalc() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/ |
D | rsa_public.c | 73 uint8_t rT3 = regTemps[3]; in RsaExecPubKeyExp() local 101 PkaCopyDataIntoPkaReg(rT3/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, in RsaExecPubKeyExp() 105 PKA_MOD_EXP(LEN_ID_N_BITS/*LenID*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in RsaExecPubKeyExp()
|
D | rsa_private.c | 51 uint8_t rT3 = regTemps[3]; /*3*/ in RsaExecPrivKeyExpNonCrt() local 82 …PkaCopyDataIntoPkaReg( rT3/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pPrivKey->PriveKeyDb.NonCrt.d, dSi… in RsaExecPrivKeyExpNonCrt() 86 PKA_MOD_EXP(LEN_ID_N_BITS/*LenID*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in RsaExecPrivKeyExpNonCrt()
|
D | rsa_genkey.c | 1260 uint8_t rT3 = regTemps[3]; 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 1651 rT3 = regTemps[10]; /*10*/ 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()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pki.c | 121 int8_t rT3 = regTemps[3]; in PkiLongNumDiv() local 138 …PkaCopyDataIntoPkaReg( rT3/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pNumB/*src_ptr*/, numBSizeInWords); in PkiLongNumDiv() 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() 189 int8_t rT3 = regTemps[3]; in PkiLongNumMul() local 219 PkaCopyDataIntoPkaReg(rT3/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pNumB/*src_ptr*/, in PkiLongNumMul() 224 PKA_MUL_LOW(LEN_ID_N_PKA_REG_BITS/*lenId*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in PkiLongNumMul()
|
D | pka.c | 1076 … int8_t rT3) /*!< [in] The virtual pointers to temp register. */ in PkaExecFullModInv() argument 1137 rT3); in PkaExecFullModInv()
|
D | pka.h | 271 int8_t rT3 );
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 2858 const uint32_t rT3 = 5; in mbedtls_alt_rsa_deduce_crt() local 2905 PKA_DIV(MOD_LEN_ID, rT3, rT2, rQ); // DQ = rT2 = rT2 mod Q in mbedtls_alt_rsa_deduce_crt() 2910 PKA_MOD_INV(PLEN_ID, rT3/*res*/, rQ); // rT3 = Q^-1 mod P in mbedtls_alt_rsa_deduce_crt() 2917 PkaCopyDataFromPkaReg (pTempBuf, P->MBEDTLS_PRIVATE(n), rT3); in mbedtls_alt_rsa_deduce_crt()
|