/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/ |
D | pka_ec_wrst_smul_scap.c | 48 PKA_SUB(LEN_ID_N_PKA_REG_BITS, t, ECC_REG_N4, t); in DoubleMdf2Mdf() 52 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T3, ECC_REG_N12, t); in DoubleMdf2Mdf() 58 PKA_SUB(LEN_ID_N_PKA_REG_BITS, y, ECC_REG_N8, y); in DoubleMdf2Mdf() 78 PKA_SUB(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_N4, x); in PkaAddJcbJcb2Mdf() 81 PKA_SUB(LEN_ID_N_PKA_REG_BITS, y, ECC_REG_N4, y); in PkaAddJcbJcb2Mdf() 90 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T1, ECC_REG_N4, ECC_REG_T1); in PkaAddJcbJcb2Mdf() 98 PKA_SUB(LEN_ID_N_PKA_REG_BITS, y, ECC_REG_N4, y); in PkaAddJcbJcb2Mdf() 119 PKA_SUB(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_N4, x); in PkaAddJcbJcb2Jcb() 122 PKA_SUB(LEN_ID_N_PKA_REG_BITS, y, ECC_REG_N4, y); in PkaAddJcbJcb2Jcb() 131 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T1, ECC_REG_N4, ECC_REG_T1); in PkaAddJcbJcb2Jcb() [all …]
|
D | pka_ec_wrst.c | 45 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T4, ECC_REG_N4, ECC_REG_T4); in PkaDoubleMdf2Mdf() 49 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T3, ECC_REG_N12, ECC_REG_T4); in PkaDoubleMdf2Mdf() 55 PKA_SUB(LEN_ID_N_PKA_REG_BITS, y, ECC_REG_N8, y); in PkaDoubleMdf2Mdf() 81 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T, ECC_REG_N4, ECC_REG_T); in PkaDoubleMdf2Jcb() 85 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T3, ECC_REG_N12, ECC_REG_T); in PkaDoubleMdf2Jcb() 89 PKA_SUB(LEN_ID_N_PKA_REG_BITS, y, ECC_REG_N8, y); in PkaDoubleMdf2Jcb() 106 PKA_SUB(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_N12, x1); in PkaAddJcbAfn2Mdf() 110 PKA_SUB(LEN_ID_N_PKA_REG_BITS, t, ECC_REG_N4, t); in PkaAddJcbAfn2Mdf() 115 PKA_SUB(LEN_ID_N_PKA_REG_BITS, ECC_REG_T1, ECC_REG_N4, ECC_REG_T1); in PkaAddJcbAfn2Mdf() 176 PKA_SUB(LEN_ID_N_PKA_REG_BITS, x, ECC_REG_N1, x1); in PkaAddAff() [all …]
|
D | pka_ec_wrst_dsa_verify.c | 55 PKA_SUB(LEN_ID_N_PKA_REG_BITS, RES_DISCARD, ECC_REG_N, EC_VERIFY_REG_C); in PkaEcdsaVerify() 65 PKA_SUB(LEN_ID_N_PKA_REG_BITS, RES_DISCARD, ECC_REG_N, EC_VERIFY_REG_D); in PkaEcdsaVerify()
|
D | ec_wrst.c | 108 PKA_SUB(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y, PKA_REG_N, PKA_REG_Y); in EcWrstInitPubKey()
|
D | pka_ec_wrst_smul_no_scap.c | 103 PKA_SUB(LEN_ID_N_PKA_REG_BITS, tp, ECC_REG_N4, yp); // ry of -p in PkaScalarMultAff()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_mont/ |
D | pka_ec_mont.c | 92 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T2, EC_MONT_REG_N4, rZ3); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe() 94 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T2, EC_MONT_REG_N4, rZ2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe() 103 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T2, EC_MONT_REG_N4, rZ2); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe() 106 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, EC_MONT_REG_T2, EC_MONT_REG_N4, EC_MONT_REG_T); // PkiDbgPrintReg(… in EcMontPkaScalarMultWithLadderExe()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/ |
D | pka_ec_edw.c | 48 PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T3, EDW_REG_N_4,rX1); in PkaEcEdwAddExtExtExt() 50 PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, EDW_REG_N_4,rX2); in PkaEcEdwAddExtExtExt() 60 PKA_SUB(LEN_ID_N_PKA_REG_BITS, rT, EDW_REG_N_4, EDW_REG_T5); in PkaEcEdwAddExtExtExt() 63 PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T5, EDW_REG_N_4, EDW_REG_T3); in PkaEcEdwAddExtExtExt() 82 PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T3, EDW_REG_N_4, rX); // hwsub(t3, n_4, x); in PkaEcEdwDoublExtExt() 91 PKA_SUB(LEN_ID_N_PKA_REG_BITS, rT, EDW_REG_N_4, EDW_REG_T5); // hwsub(t, n_4, t5); in PkaEcEdwDoublExtExt() 94 PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T5, EDW_REG_N_4, EDW_REG_T3); // hwsub(t5, n_4, t3); in PkaEcEdwDoublExtExt() 118 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T3, EDW_REG_N_4, rX1); PkiDbgPrintReg("t3: -x1 … in PkaEcEdwAddExtPrcExt() 125 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, rT, EDW_REG_N_4, EDW_REG_T5); PkiDbgPrintReg("t: -t5 … in PkaEcEdwAddExtPrcExt() 128 …PKA_SUB(LEN_ID_N_PKA_REG_BITS, EDW_REG_T5, EDW_REG_N_4, EDW_REG_T3); PkiDbgPrintReg("t5: -t3 … in PkaEcEdwAddExtPrcExt() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/ |
D | rsa_genkey.c | 447 PKA_SUB( lenId+1, rD/*Res*/, rP/*P*/, rD/*OpB*/); in PkaRsaKgX931LucasPrimeTest() 931 PKA_SUB(LEN_ID_PQ_PKA_REG_BITS, RES_DISCARD, rP2/*OpA*/, rP1/*OpB*/); in RsaKgX931FindPrime() 938 PKA_SUB(LEN_ID_PQ_PKA_REG_BITS, rT1/*Res*/, rT1/*OpA*/, rP1/*OpB*/); in RsaKgX931FindPrime() 955 PKA_SUB(LEN_ID_PQ_PKA_REG_BITS, rT1/*Res*/, rT1/*OpA*/, rP2/*OpB*/); in RsaKgX931FindPrime() 966 PKA_SUB(LEN_ID_PQ_PKA_REG_BITS, rR1/*res*/, rR1/*OpA*/, rR2/*OpB*/); in RsaKgX931FindPrime() 973 PKA_SUB(LEN_ID_PQ_PKA_REG_BITS, rR1/*res*/, rR1/*OpA*/, rPmodP12/*OpB*/); in RsaKgX931FindPrime() 1458 PKA_SUB(LEN_ID_N_PKA_REG_BITS, rD/*Res*/, rLcm/*OpA*/, rD/*OpB*/); in RsaCalculateNandD()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/ |
D | srp.c | 119 PKA_SUB(LEN_ID_N_PKA_REG_BITS, RES_DISCARD, rT4, rN); in SrpHostSharedSecretCalc() 218 PKA_SUB(LEN_ID_N_PKA_REG_BITS, RES_DISCARD, rT4, rN); in SrpUserSharedSecretCalc()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pka.h | 68 #define PKA_SUB(lenId, Res, OpA, OpB) \ macro
|
D | pka.c | 1156 PKA_SUB(LEN_ID_N_PKA_REG_BITS, Res, N, Res); in PkaExecFullModInv()
|