Home
last modified time | relevance | path

Searched refs:PKA_SHR_FILL0 (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpki_modular_arithmetic.c67 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_A, PKA_REG_A, 32-1); in PkiCalcJacobiSymbol()
77 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_A, PKA_REG_A, (t & 0x1F) - 1); in PkiCalcJacobiSymbol()
142 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_T, PKA_REG_Y1, 2-1); in PkiIsModSquareRootExists()
152 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_Z, PKA_REG_YT, 2-1); in PkiIsModSquareRootExists()
157 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_T, PKA_REG_T, 3-1); in PkiIsModSquareRootExists()
164 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_T, PKA_REG_T, 3-1); in PkiIsModSquareRootExists()
192 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y1, PKA_REG_Y1, 32-1); in PkiIsModSquareRootExists()
204 PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y1, PKA_REG_Y1, i-1); in PkiIsModSquareRootExists()
221PKA_SHR_FILL0(LEN_ID_N_PKA_REG_BITS, PKA_REG_Y1, PKA_REG_Y1, 1-1); /* PKA_REG_Y1 = (PKA_REG_Y1+1)… in PkiIsModSquareRootExists()
Dpka.c213 PKA_SHR_FILL0(lenId+1, rRes/*Res*/, rRes/*P*/, 1-1/*S*/); in PkaModDivideBy2()
639PKA_SHR_FILL0(lenId+1/*LenID*/, regTempN, regTempN, CC_BITS_IN_32BIT_WORD-1); in PkaCalcNpIntoPkaReg()
642 PKA_SHR_FILL0(lenId+1/*LenID*/, regTempN, regTempN, sh-1); in PkaCalcNpIntoPkaReg()
1022 PKA_SHR_FILL0(LenID+1, rT/*Result*/, rT/*N*/, CC_BITS_IN_32BIT_WORD-1/*S*/); in PkaGetBitFromPkaReg()
1027 PKA_SHR_FILL0(LenID+1, rT/*Result*/, rT/*N*/, numBits-1/*S*/); in PkaGetBitFromPkaReg()
Dpka.h157 #define PKA_SHR_FILL0(lenId, Res, OpA, S) \ macro
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/
Drsa_genkey.c173 PKA_SHR_FILL0(lenId+1, rA1/*Res*/, rA1/*OpA*/, 1-1/*S*/); in PkaRsaKgX931Jacobi()
306 PKA_SHR_FILL0(lenId+1, rT0/*Res*/, rT0/*P*/, 1-1/*OpB*/); in PkaRsaKgX931MillerRabinTest()
1407 PKA_SHR_FILL0(LEN_ID_N_BITS, rP, rP, 0/*shift-1*/); in RsaCalculateNandD()
1408 PKA_SHR_FILL0(LEN_ID_N_BITS, rQ, rQ, 0/*shift-1*/); in RsaCalculateNandD()