Home
last modified time | relevance | path

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

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dpka_ec_wrst.c35 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T4, y1, y1); in PkaDoubleMdf2Mdf()
38 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T4, x1, x1); in PkaDoubleMdf2Mdf()
39 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T4, ECC_REG_T4, ECC_REG_T4); in PkaDoubleMdf2Mdf()
42 PKA_ADD(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_T2, ECC_REG_T2); in PkaDoubleMdf2Mdf()
43 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T2, ECC_REG_T2, x); in PkaDoubleMdf2Mdf()
44 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T2, t1, ECC_REG_T2); in PkaDoubleMdf2Mdf()
47 PKA_ADD(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_T4, x); in PkaDoubleMdf2Mdf()
48 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T4, x, ECC_REG_T4); in PkaDoubleMdf2Mdf()
50 PKA_ADD(LEN_ID_N_PKA_REG_BITS, y, y, y); in PkaDoubleMdf2Mdf()
52 PKA_ADD(LEN_ID_N_PKA_REG_BITS, y, y, y); in PkaDoubleMdf2Mdf()
[all …]
Dpka_ec_wrst_smul_scap.c38 PKA_ADD(LEN_ID_N_PKA_REG_BITS, t, y1, y1); in DoubleMdf2Mdf()
41 PKA_ADD(LEN_ID_N_PKA_REG_BITS, t, x1, x1); in DoubleMdf2Mdf()
42 PKA_ADD(LEN_ID_N_PKA_REG_BITS, t, t, t); in DoubleMdf2Mdf()
45 PKA_ADD(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_T2, ECC_REG_T2); in DoubleMdf2Mdf()
46 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T2, ECC_REG_T2, x); in DoubleMdf2Mdf()
47 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_T2, t1, ECC_REG_T2); in DoubleMdf2Mdf()
50 PKA_ADD(LEN_ID_N_PKA_REG_BITS, x, t, x); in DoubleMdf2Mdf()
51 PKA_ADD(LEN_ID_N_PKA_REG_BITS, t, x, t); in DoubleMdf2Mdf()
53 PKA_ADD(LEN_ID_N_PKA_REG_BITS, y, y, y); in DoubleMdf2Mdf()
55 PKA_ADD(LEN_ID_N_PKA_REG_BITS, y, y, y); in DoubleMdf2Mdf()
[all …]
Dpka_ec_wrst_dsa_verify.c96 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N4 , ECC_REG_N, ECC_REG_N ); in PkaEcdsaVerify()
97 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N4 , ECC_REG_N4, ECC_REG_N4); in PkaEcdsaVerify()
98 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N8 , ECC_REG_N4, ECC_REG_N4); in PkaEcdsaVerify()
99 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N12, ECC_REG_N8, ECC_REG_N4); in PkaEcdsaVerify()
Dpka_ec_wrst_smul_no_scap.c98 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N4 , ECC_REG_N, ECC_REG_N ); in PkaScalarMultAff()
99 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N4 , ECC_REG_N4, ECC_REG_N4); in PkaScalarMultAff()
100 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N8 , ECC_REG_N4, ECC_REG_N4); in PkaScalarMultAff()
101 PKA_ADD(LEN_ID_N_PKA_REG_BITS, ECC_REG_N12, ECC_REG_N8, ECC_REG_N4); in PkaScalarMultAff()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/
Dpka_ec_mont.c68 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_N4, EC_MONT_REG_N, EC_MONT_REG_N); in EcMontPkaScalarMultWithLadderExe()
69 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_N4, EC_MONT_REG_N4, EC_MONT_REG_N4); in EcMontPkaScalarMultWithLadderExe()
93PKA_ADD(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T, rX3, EC_MONT_REG_T2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
95PKA_ADD(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T1, rX2, EC_MONT_REG_T2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
96PKA_ADD(LEN_ID_N_PKA_REG_BITS, rX2, rZ2, rX2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
97PKA_ADD(LEN_ID_N_PKA_REG_BITS, rZ2, rX3, rZ3); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
102PKA_ADD(LEN_ID_N_PKA_REG_BITS, rX3, rZ3, rZ2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
104PKA_ADD(LEN_ID_N_PKA_REG_BITS, rZ2, rZ3, EC_MONT_REG_T2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
107PKA_ADD(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T1, EC_MONT_REG_T1, EC_MONT_REG_T2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dpka_ec_edw.c49 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T3, EDW_REG_T3, rY1); in PkaEcEdwAddExtExtExt()
51 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, EDW_REG_T4, rY2); in PkaEcEdwAddExtExtExt()
53 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T3, rY1, rX1); in PkaEcEdwAddExtExtExt()
54 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, rY2, rX2); in PkaEcEdwAddExtExtExt()
58 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, rZ1, rZ1); in PkaEcEdwAddExtExtExt()
61 PKA_ADD(LEN_ID_N_PKA_REG_BITS, rT, rT, EDW_REG_T6); in PkaEcEdwAddExtExtExt()
62 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T6, EDW_REG_T6, EDW_REG_T5); in PkaEcEdwAddExtExtExt()
64 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T5, EDW_REG_T5, EDW_REG_T4); in PkaEcEdwAddExtExtExt()
65 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, EDW_REG_T4, EDW_REG_T3); in PkaEcEdwAddExtExtExt()
83 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_T3, EDW_REG_T3, rY); // hwadd(t3, t3, y); in PkaEcEdwDoublExtExt()
[all …]
Dec_edw.c288 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_N_4, EDW_REG_N, EDW_REG_N); in EcEdwSpecialScalarMultBase()
289 PKA_ADD(LEN_ID_N_PKA_REG_BITS, EDW_REG_N_4, EDW_REG_N_4, EDW_REG_N_4); in EcEdwSpecialScalarMultBase()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c495 PKA_ADD( lenId+1, rVnew/*Res*/, rT/*OpA*/, rVnew/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
508 PKA_ADD( lenId+1, rUnew/*Res*/, rV/*OpA*/, rU/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
514 PKA_ADD( lenId+1, rVnew/*Res*/, rV/*OpA*/, rVnew/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
627 PKA_ADD( LEN_ID_PQ_PKA_REG_BITS, rP/*Res*/, rP/*OpA*/, rT/*OpB*/); in PkaRsaKgX931FindPrime1()
725 PKA_ADD( LEN_ID_PQ_PKA_REG_BITS/*lenId*/, rP/*Res*/, rP/*OpA*/, rDelta/*OpB*/); in PkaRsaKgX931FindPrime2()
729 PKA_ADD( LEN_ID_PQ_PKA_REG_BITS/*lenId*/, rDelta/*Res*/, rDelta/*OpA*/, rDelta/*OpB*/); in PkaRsaKgX931FindPrime2()
837 PKA_ADD(LEN_ID_PQ_PKA_REG_BITS, rP/*Res*/, rP/*OpA*/, rDelta/*OpB*/); in PkaRsaKgX931FindPrime2()
969 PKA_ADD(LEN_ID_PQ_PKA_REG_BITS, rR1/*res*/, rR1/*OpA*/, rP12/*OpB*/); in RsaKgX931FindPrime()
976 PKA_ADD(LEN_ID_PQ_PKA_REG_BITS, rR1/*res*/, rR1/*OpA*/, rP12/*OpB*/); in RsaKgX931FindPrime()
980 PKA_ADD(LEN_ID_PQ_PKA_REG_BITS, rP/*res*/, rP/*OpA*/, rR1/*OpB*/); in RsaKgX931FindPrime()
Drsa_private.c240 PKA_ADD(LEN_ID_N_BITS/*LenID*/, rT/*Res*/, rT1/*OpA*/, rT/*OpB*/); in RsaExecPrivKeyExpCrt()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.c176 PKA_ADD( lenId+1, Res /*Res*/, Res /*OpA*/, rT2 /*OpB*/); in PkaDivLongNum()
209 PKA_ADD(lenId+1, rRes/*Res*/, rRes/*P*/, rN/*OpB=N=0*/); in PkaModDivideBy2()
1148 PKA_ADD(LEN_ID_N_PKA_REG_BITS, Res, Res, rT0); in PkaExecFullModInv()
Dpka.h62 #define PKA_ADD(lenId, Res, OpA, OpB) \ macro
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/poly/
Dpoly.c381 PKA_ADD(LEN_ID_N_BITS, ACC_REG, ACC_REG, KEY_S_REG); in PolyMacCalc_finalize()
622 PKA_ADD(LEN_ID_N_BITS, ACC_REG, ACC_REG, KEY_S_REG); in PolyFinish()