/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pki_modular_arithmetic.c | 168 …PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_Y1, PKA_REG_Z, PKA_REG_YT); /* PKA_REG_Y1 = 2*PKA_REG_Y2*(4rY… in PkiIsModSquareRootExists() 226 … PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_YT, PKA_REG_Y1, PKA_REG_Y1); /* PKA_REG_YT = PKA_REG_Y1^2 */ in PkiIsModSquareRootExists() 227 …PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_YT, PKA_REG_YT, PKA_REG_T); /* PKA_REG_YT = PKA_REG_YT * PKA… in PkiIsModSquareRootExists() 235 … PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_YT,PKA_REG_YT, PKA_REG_YT); /* PKA_REG_YT = PKA_REG_YT^2 */ in PkiIsModSquareRootExists() 243 PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_Y1, PKA_REG_Y1, PKA_REG_Z); in PkiIsModSquareRootExists() 250 …PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_Y1, PKA_REG_Y1, PKA_REG_YT); /* PKA_REG_Y1 = r * PKA_REG_Z^(2… in PkiIsModSquareRootExists() 256 PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_T, PKA_REG_Y1, PKA_REG_Y1); in PkiIsModSquareRootExists()
|
D | pka.h | 186 #define PKA_MOD_MUL(lenId, Res, OpA, OpB) \ macro
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/ |
D | ec_wrst.c | 75 PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_T/*Res*/, PKA_REG_X/*OpA*/, PKA_REG_X/*OpB*/); in EcWrstInitPubKey() 77 PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_T/*Res*/, PKA_REG_X/*OpA*/, PKA_REG_T/*OpB*/); in EcWrstInitPubKey() 84 PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_T, PKA_REG_Y, PKA_REG_Y); in EcWrstInitPubKey()
|
D | pka_ec_wrst_dsa_verify.c | 81 …PKA_MOD_MUL(LEN_ID_N_BITS, EC_VERIFY_REG_H1/*Res*/, EC_VERIFY_REG_F/*OpA*/, EC_VERIFY_REG_H/*OpB*/… in PkaEcdsaVerify() 83 …PKA_MOD_MUL(LEN_ID_N_BITS, EC_VERIFY_REG_H2/*Res*/, EC_VERIFY_REG_C/*OpA*/, EC_VERIFY_REG_H/*OpB*/… in PkaEcdsaVerify()
|
D | ec_wrst_dsa.c | 117 PKA_MOD_MUL(LEN_ID_N_BITS, rD, rK, rC); in CalcSignature() 120 PKA_MOD_MUL(LEN_ID_N_BITS, rD, rD, rKinv); in CalcSignature()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/ |
D | srp.c | 129 PKA_MOD_MUL(LEN_ID_N_BITS, rT4, rT4/*A*/, rT2 /*v^u*/); in SrpHostSharedSecretCalc() 229 PKA_MOD_MUL(LEN_ID_N_BITS, rT2, rT7/*k*/, rT2 /*g^x*/); in SrpUserSharedSecretCalc() 233 PKA_MOD_MUL(LEN_ID_N_BITS, rT5, rT5/*u*/, rT3 /*x*/); in SrpUserSharedSecretCalc() 293 PKA_MOD_MUL(LEN_ID_N_BITS, rT2, rT2/*k*/, rT3 /*v*/); in SrpHostPublicKeyCalc()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/ |
D | pka_ec_edw.c | 178 PKA_MOD_MUL(LEN_ID_N_BITS, rX, rX1, EDW_REG_T4/*q*/); // PkiDbgPrintReg("rX: rX1*rY", rX); in PkaEcEdwPointToAfn() 179 PKA_MOD_MUL(LEN_ID_N_BITS, rY, rY1, EDW_REG_T4/*q*/); // PkiDbgPrintReg("rY: rY1*rY", rY); in PkaEcEdwPointToAfn() 479 PKA_MOD_MUL(LEN_ID_N_BITS, EDW_REG_PP, EDW_REG_D2, rXP); in PkaEcEdwAddTwoScalarMult() 480 PKA_MOD_MUL(LEN_ID_N_BITS, EDW_REG_PP, EDW_REG_PP, rYP); in PkaEcEdwAddTwoScalarMult()
|
D | ec_edw.c | 546 PKA_MOD_MUL(LEN_ID_N_BITS, EDW_REG_SIGN/*res*/, EDW_REG_INTEGR, EDW_REG_USER_PRIV); in EcEdwSign()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/ |
D | pka_ec_mont.c | 119 …PKA_MOD_MUL(LEN_ID_N_BITS, EC_MONT_REG_RES, rX2, EC_MONT_REG_T); // PkiDbgP… in EcMontPkaScalarMultWithLadderExe()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/ |
D | rsa_genkey.c | 362 PKA_MOD_MUL( lenId, rT1/*Res*/, rT1/*P*/, rT1/*OpB*/); in PkaRsaKgX931MillerRabinTest() 483 PKA_MOD_MUL( lenId, rUnew/*Res*/, rU/*OpA*/, rV/*OpB*/); in PkaRsaKgX931LucasPrimeTest() 486 PKA_MOD_MUL( lenId, rVnew/*Res*/, rV/*OpA*/, rV/*OpB*/); 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() 513 PKA_MOD_MUL( lenId, rVnew/*Res*/, rD/*OpA*/, rU/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
|
D | rsa_private.c | 218 PKA_MOD_MUL(LEN_ID_PQ_BITS/*LenID*/, rT1/*Res*/, rT/*OpA*/, rqInv/*rqInv*/); in RsaExecPrivKeyExpCrt()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/poly/ |
D | poly.c | 103 PKA_MOD_MUL(LEN_ID_N_BITS, ACC_REG, ACC_REG, KEY_R_REG); in PolyAccRemainBlock() 201 PKA_MOD_MUL(LEN_ID_N_BITS, ACC_REG, ACC_REG, KEY_R_REG); in PolyAccCalcFullBlocks()
|