/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pki_modular_arithmetic.c | 135 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()
|
D | pki.c | 59 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()
|
D | pka_hw_defs.h | 53 #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 | \
|
D | pka.c | 29 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/ |
D | pka_ec_wrst_glob_regs.h | 11 #define ECC_REG_N PKA_REG_N 12 #define ECC_REG_N1 PKA_REG_N
|
D | pka_ec_wrst_dsa_verify_regs.h | 11 #define EC_VERIFY_REG_R PKA_REG_N
|
D | ec_wrst.c | 62 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/ |
D | pka_ec_mont_glob_regs_def.h | 14 #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/ |
D | rsa_genkey.c | 293 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 …]
|
D | rsa_private.c | 71 …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()
|
D | rsa_public.c | 89 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/ |
D | srp.c | 29 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/ |
D | pka_ec_edw_glob_regs_def.h | 17 #define EDW_REG_N PKA_REG_N /* EC mod. */
|