Home
last modified time | relevance | path

Searched refs:PKA_COMPARE_IM_STATUS (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki_modular_arithmetic.c44 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, PKA_REG_A, 0, stat); /*if(a==0) r = 0*/ in PkiCalcJacobiSymbol()
50 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, PKA_REG_A, 1, stat); /*if(a==0) r = 0*/ in PkiCalcJacobiSymbol()
98 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, PKA_REG_A, 0, stat); in PkiCalcJacobiSymbol()
127 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y2, 0, stat); in PkiIsModSquareRootExists()
154 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, PKA_REG_T, 1, stat); in PkiIsModSquareRootExists()
231 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, PKA_REG_YT, 1, stat); in PkiIsModSquareRootExists()
Dpka.h236 #define PKA_COMPARE_IM_STATUS(lenId, a, b,stat) {\ macro
Dpka.c1151 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT2/*OpA*/, 0/*OpB*/, status); in PkaExecFullModInv()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/srp/
Dsrp.c113 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 0, status); in SrpHostSharedSecretCalc()
132 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 0, status); in SrpHostSharedSecretCalc()
138 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 1, status); in SrpHostSharedSecretCalc()
145 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT2, 0, status); in SrpHostSharedSecretCalc()
212 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT4, 0, status); in SrpUserSharedSecretCalc()
302 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT5, 0, status); in SrpHostPublicKeyCalc()
362 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rT3, 0, status); in SrpUserPublicKeyCalc()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dec_wrst_dsa.c104 PKA_COMPARE_IM_STATUS(LEN_ID_MAX_BITS, rEphK, 0, status); in CalcSignature()
112 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rKinv, 0, status); in CalcSignature()
122 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, rD, 0, status); in CalcSignature()
Dpka_ec_wrst.c220 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, a, 0, stat); in PkaSum2ScalarMullt()
225 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, b, 0, stat); in PkaSum2ScalarMullt()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c150 PKA_COMPARE_IM_STATUS(lenId+1, rA1/*OpA*/, 1/*OpB*/, status); in PkaRsaKgX931Jacobi()
159 PKA_COMPARE_IM_STATUS(lenId+1, rA1/*OpA*/, 0/*OpB*/, status); in PkaRsaKgX931Jacobi()
209 PKA_COMPARE_IM_STATUS(lenId+1, rA1/*OpA*/, 1/*OpB*/, status); in PkaRsaKgX931Jacobi()
344 PKA_COMPARE_IM_STATUS(lenId+1, rT1/*z*/, 1/*OpB*/, status); in PkaRsaKgX931MillerRabinTest()
371 PKA_COMPARE_IM_STATUS(lenId+1, rT1/*P*/, 1/*OpB*/, status); in PkaRsaKgX931MillerRabinTest()
528 PKA_COMPARE_IM_STATUS( lenId+1, rU/*OpA*/, 0/*OpB immed*/, status); in PkaRsaKgX931LucasPrimeTest()
777 PKA_COMPARE_IM_STATUS(LEN_ID_PQ_PKA_REG_BITS, rT/*OpA*/, 1/*OpB*/, status); in PkaRsaKgX931FindPrime2()
1448 PKA_COMPARE_IM_STATUS(LEN_ID_N_BITS, rP, 1/*im*/, stat); in RsaCalculateNandD()
1593 PKA_COMPARE_IM_STATUS(LEN_ID_MAX_BITS, rP/*(p-1) mod e*/, 0, status) in RsaKgFindPrime()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dpka_ec_edw.c601 PKA_COMPARE_IM_STATUS(LEN_ID_N_PKA_REG_BITS, EDW_REG_T, 0/*im.val*/, bit0/*status*/); in PkaEcEdwDecompress()