Home
last modified time | relevance | path

Searched refs:PKA_MOD_MUL (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki_modular_arithmetic.c168PKA_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()
226PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_YT, PKA_REG_Y1, PKA_REG_Y1); /* PKA_REG_YT = PKA_REG_Y1^2 */ in PkiIsModSquareRootExists()
227PKA_MOD_MUL(LEN_ID_N_BITS, PKA_REG_YT, PKA_REG_YT, PKA_REG_T); /* PKA_REG_YT = PKA_REG_YT * PKA… in PkiIsModSquareRootExists()
235PKA_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()
250PKA_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()
Dpka.h186 #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/
Dec_wrst.c75 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()
Dpka_ec_wrst_dsa_verify.c81PKA_MOD_MUL(LEN_ID_N_BITS, EC_VERIFY_REG_H1/*Res*/, EC_VERIFY_REG_F/*OpA*/, EC_VERIFY_REG_H/*OpB*/… in PkaEcdsaVerify()
83PKA_MOD_MUL(LEN_ID_N_BITS, EC_VERIFY_REG_H2/*Res*/, EC_VERIFY_REG_C/*OpA*/, EC_VERIFY_REG_H/*OpB*/… in PkaEcdsaVerify()
Dec_wrst_dsa.c117 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/
Dsrp.c129 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/
Dpka_ec_edw.c178 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()
Dec_edw.c546 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/
Dpka_ec_mont.c119PKA_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/
Drsa_genkey.c362 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()
Drsa_private.c218 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/
Dpoly.c103 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()