Home
last modified time | relevance | path

Searched refs:PKA_DIV (Results 1 – 11 of 11) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_wrst/
Dpka_ec_wrst_dsa_verify.c79 PKA_DIV(LEN_ID_N_PKA_REG_BITS, EC_VERIFY_REG_TMP, EC_VERIFY_REG_F/*rem*/, ECC_REG_N/*div*/); in PkaEcdsaVerify()
116PKA_DIV(LEN_ID_N_PKA_REG_BITS, EC_VERIFY_REG_TMP, EC_VERIFY_REG_P_RX/*rem*/, EC_VERIFY_REG_TMP_N/*… in PkaEcdsaVerify()
Dec_wrst_dsa.c103 PKA_DIV(LEN_ID_MAX_BITS, rT/*not used*/, rEphK, ECC_REG_N); in CalcSignature()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c215 PKA_DIV(lenId+1 , rT/*ResNotUsed*/, rP1/*OpA*/, rA1/*OpB*/); in PkaRsaKgX931Jacobi()
525 PKA_DIV( lenId+1, rT/*ResNotUsed*/, rU/*OpA*/, rP/*OpB*/); in PkaRsaKgX931LucasPrimeTest()
597 PKA_DIV(LEN_ID_PQ_PKA_REG_BITS, rT1/*resNotUsed*/, rT/*OpA*/, rPrimeProduct/*OpB*/); in PkaRsaKgX931FindPrime1()
741PKA_DIV( LEN_ID_PQ_PKA_REG_BITS, rT1/*ResNotUsed*/, rT/*OpA*/, rPrimeProduct/*OpB*/); in PkaRsaKgX931FindPrime2()
748PKA_DIV( LEN_ID_PQ_PKA_REG_BITS, rT1/*ResNotUsed*/, rT/*OpA*/, rPrimeProduct/*OpB*/); in PkaRsaKgX931FindPrime2()
921 PKA_DIV( LEN_ID_PQ_PKA_REG_BITS, rT1/*ResNotUsed*/, rPmodP12/*OpA*/, rP12/*OpB*/); in RsaKgX931FindPrime()
1029 PKA_DIV( lenId+1, rT/*ResNotUsed*/, rModRes/*OpA*/, rSmallPrime/*OpB*/); in RsaKgQuickPrimeTest()
1432 PKA_DIV(LEN_ID_N_BITS, rLcm/*res: LCM*/, rD, rGcd); in RsaCalculateNandD()
1444 PKA_DIV(LEN_ID_N_BITS, rQ/*Res not used*/, rP/*OpA=LCM*/, r0/*OpB=E*/); /*rP = LCM mod E*/ in RsaCalculateNandD()
1457 PKA_DIV(LEN_ID_N_PKA_REG_BITS, rD/*Res*/, rT/*OpA*/, r0/*OpB*/); /*rT = rT / e*/ in RsaCalculateNandD()
[all …]
Drsa_private.c174 PKA_DIV(LEN_ID_N_PKA_REG_BITS/*LenID*/, rQ/*6 Res not used*/, rT/*3 OpA*/, rN/*0 OpB=rN=Q*/); in RsaExecPrivKeyExpCrt()
203PKA_DIV(LEN_ID_N_PKA_REG_BITS/*LenID*/, rT/*3 res not used*/, rT1/*4 OpA and remainder*/, rN/*0 Op… in RsaExecPrivKeyExpCrt()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.c161 PKA_DIV( lenId+1, rT2/*Res*/, rT1 /*OpA*/, OpB /*B*/); in PkaDivLongNum()
607 PKA_DIV(LEN_ID_MAX_BITS/*LenID*/, regNp, regTemp1, regTempN); in PkaCalcNpIntoPkaReg()
647PKA_DIV(LEN_ID_MAX_BITS/*LenID*/, regNp, regTemp1, regTempN); //use LEN_ID_MAX_BITS to make sure … in PkaCalcNpIntoPkaReg()
1145 PKA_DIV(LEN_ID_N_PKA_REG_BITS, rT0/*Result*/, rT2/*numerat*/, OpB/*divider*/); in PkaExecFullModInv()
Dpki_modular_arithmetic.c95 PKA_DIV(LEN_ID_N_PKA_REG_BITS, PKA_REG_B, PKA_REG_A, PKA_REG_C); /* a = b mod a */ in PkiCalcJacobiSymbol()
Dpki.c149 PKA_DIV( LEN_ID_N_PKA_REG_BITS/*LenID*/, rT4/*Res*/, rT2/*OpA*/, rT3/*OpB*/); in PkiLongNumDiv()
Dpka.h204 #define PKA_DIV(lenId, Res, OpA, OpB) \ macro
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/ec_edw/
Dec_edw.c451 PKA_DIV(LEN_ID_N_PKA_REG_BITS, EDW_REG_T5/*4*/, EDW_REG_EPH_PRIV/*24*/, EDW_REG_N/*0*/); in EcEdwSign()
535 PKA_DIV(LEN_ID_N_PKA_REG_BITS, EDW_REG_D2/*temp*/, EDW_REG_INTEGR, EDW_REG_N); in EcEdwSign()
796 PKA_DIV(LEN_ID_N_PKA_REG_BITS, EDW_REG_T5/*4 not used*/, EDW_REG_INTEGR/*3*/, EDW_REG_N); in EcEdwSignVerify()
Dpka_ec_edw.c600 PKA_DIV(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, EDW_REG_T, EDW_REG_N); in PkaEcEdwDecompress()
606 PKA_DIV(LEN_ID_N_PKA_REG_BITS, EDW_REG_T4, rX, EDW_REG_N); in PkaEcEdwDecompress()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Drsa_alt.c2900 PKA_DIV(MOD_LEN_ID, rT2, rT1, rP); // DP = rT1 = rT1 mod P in mbedtls_alt_rsa_deduce_crt()
2905 PKA_DIV(MOD_LEN_ID, rT3, rT2, rQ); // DQ = rT2 = rT2 mod Q in mbedtls_alt_rsa_deduce_crt()