Home
last modified time | relevance | path

Searched refs:PKA_REG_N (Results 1 – 13 of 13) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki_modular_arithmetic.c135 PKA_READ_WORD_FROM_REG(w, 0/*i*/, PKA_REG_N); in PkiIsModSquareRootExists()
141 PKA_ADD_IM(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y1, PKA_REG_N, 1); in PkiIsModSquareRootExists()
151 PKA_SUB_IM(LEN_ID_N_PKA_REG_BITS, PKA_REG_YT, PKA_REG_N, 1); /* PKA_REG_YT = PKA_REG_N-1*/ in PkiIsModSquareRootExists()
156 PKA_ADD_IM(LEN_ID_N_PKA_REG_BITS, PKA_REG_T, PKA_REG_N, 3); in PkiIsModSquareRootExists()
163 PKA_SUB_IM(LEN_ID_N_PKA_REG_BITS, PKA_REG_T, PKA_REG_N, 5); in PkiIsModSquareRootExists()
182 PKA_COPY(LEN_ID_N_PKA_REG_BITS, PKA_REG_B, PKA_REG_N); in PkiIsModSquareRootExists()
188 PKA_SUB_IM(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y1, PKA_REG_N, 1); /**/ in PkiIsModSquareRootExists()
215 PKA_COPY(LEN_ID_N_PKA_REG_BITS, PKA_REG_B, PKA_REG_N); in PkiIsModSquareRootExists()
Dpki.c59 int8_t rN = PKA_REG_N; in PkiCalcNp()
436 PkaCopyBe8DataIntoPkaReg(PKA_REG_N/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pMod/*srcPtr*/, in PkiExecModExpBe()
442 PKA_REG_N, /* [in] PKA reg, holding the modulus n. */ in PkiExecModExpBe()
513 PkaCopyDataIntoPkaReg(PKA_REG_N/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, in PkiExecModExpLeW()
519 PKA_REG_N, /* [in] PKA reg, holding the modulus n. */ in PkiExecModExpLeW()
Dpka_hw_defs.h53 #define PKA_REG_N 0 macro
57 #define PKA_N_NP_T0_T1_REG_DEFAULT_VAL (PKA_REG_N << PKA_N_NP_T0_T1_REG_N_POS | \
Dpka.c29 const int8_t regTemps[PKA_MAX_COUNT_OF_PHYS_MEM_REGS] = {PKA_REG_N, PKA_REG_NP,
412 PkaClearBlockOfRegs(PKA_REG_N/*FirstReg*/, pkaRegCount, LEN_ID_MAX_BITS/*LenID*/); in PkaFinishAndMutexUnlock()
1083 uint8_t N = PKA_REG_N; in PkaExecFullModInv()
1091 PKA_READ_BIT0(LEN_ID_N_PKA_REG_BITS, PKA_REG_N/*N*/, bitVal); in PkaExecFullModInv()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dpka_ec_wrst_glob_regs.h11 #define ECC_REG_N PKA_REG_N
12 #define ECC_REG_N1 PKA_REG_N
Dpka_ec_wrst_dsa_verify_regs.h11 #define EC_VERIFY_REG_R PKA_REG_N
Dec_wrst.c62 PkaCopyDataIntoPkaReg(PKA_REG_N/*dstReg*/, 1, pDomain->ecP, modSizeInWords); in EcWrstInitPubKey()
108 PKA_SUB(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y, PKA_REG_N, PKA_REG_Y); in EcWrstInitPubKey()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dpka_ec_mont_glob_regs_def.h14 #define EC_MONT_REG_N PKA_REG_N /* EC mod. */
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c293 PKA_COPY(LEN_ID_MAX_BITS, rT0/*dst*/, PKA_REG_N/*src=P*/); in PkaRsaKgX931MillerRabinTest()
350 PKA_SUB_IM( lenId+1, rT2/*Res*/, PKA_REG_N/*P*/, 1/*OpB*/); in PkaRsaKgX931MillerRabinTest()
427 rP = PKA_REG_N; /* already is initialized by P */ in PkaRsaKgX931LucasPrimeTest()
632 if (rP != PKA_REG_N) { in PkaRsaKgX931FindPrime1()
633 PKA_COPY(LEN_ID_MAX_BITS, PKA_REG_N/*dst*/, rP/*src*/); in PkaRsaKgX931FindPrime1()
640 PKA_REG_N, PKA_REG_NP, rT, rT1); in PkaRsaKgX931FindPrime1()
771 PKA_COPY(LEN_ID_MAX_BITS, PKA_REG_N/*dest*/, rE/*src*/); in PkaRsaKgX931FindPrime2()
784 PKA_COPY(LEN_ID_MAX_BITS, PKA_REG_N/*dst*/, rP/*src*/); in PkaRsaKgX931FindPrime2()
787 … PkaCalcNpIntoPkaReg(LEN_ID_PQ_BITS, modulusSizeInBits, PKA_REG_N, PKA_REG_NP, rT, rT1); in PkaRsaKgX931FindPrime2()
926 PKA_COPY(LEN_ID_MAX_BITS, PKA_REG_N/*mod reg*/, rP1/*src*/); in RsaKgX931FindPrime()
[all …]
Drsa_private.c71 …PkaCopyDataIntoPkaReg(PKA_REG_N/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pPrivKey->n/*srcPtr*/,modSize… in RsaExecPrivKeyExpNonCrt()
132 int8_t rN = PKA_REG_N; in RsaExecPrivKeyExpCrt()
185 rQ = PKA_REG_N; rN = 6; in RsaExecPrivKeyExpCrt()
Drsa_public.c89 PkaCopyDataIntoPkaReg(PKA_REG_N/*dstReg*/, LEN_ID_MAX_BITS/*LenID*/, pPubKey->n/*srcPtr*/, in RsaExecPubKeyExp()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/
Dsrp.c29 int8_t rN = PKA_REG_N; in SrpPwdVerifierCalc()
80 int8_t rN = PKA_REG_N; in SrpHostSharedSecretCalc()
174 int8_t rN = PKA_REG_N; in SrpUserSharedSecretCalc()
256 int8_t rN = PKA_REG_N; in SrpHostPublicKeyCalc()
324 int8_t rN = PKA_REG_N; in SrpUserPublicKeyCalc()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dpka_ec_edw_glob_regs_def.h17 #define EDW_REG_N PKA_REG_N /* EC mod. */