Lines Matching refs:pME
78 IppStatus gsModEngineInit(gsModEngine* pME, const Ipp32u* pModulus, int modulusBitSize, int numpe, … in gsModEngineInit() argument
91 Ipp8u* ptr = (Ipp8u*)pME; in gsModEngineInit()
94 PaddBlock(0, pME, sizeof(gsModEngine)); in gsModEngineInit()
96 MOD_PARENT(pME) = NULL; in gsModEngineInit()
97 MOD_EXTDEG(pME) = 1; in gsModEngineInit()
98 MOD_BITSIZE(pME) = modulusBitSize; in gsModEngineInit()
99 MOD_LEN(pME) = modLen; in gsModEngineInit()
100 MOD_PELEN(pME) = pelmLen; in gsModEngineInit()
101 MOD_METHOD(pME) = method; in gsModEngineInit()
102 MOD_MODULUS(pME) = (BNU_CHUNK_T*)(ptr += sizeof(gsModEngine)); in gsModEngineInit()
103 MOD_MNT_R(pME) = (BNU_CHUNK_T*)(ptr += modLen*sizeof(BNU_CHUNK_T)); in gsModEngineInit()
104 MOD_MNT_R2(pME) = (BNU_CHUNK_T*)(ptr += modLen*sizeof(BNU_CHUNK_T)); in gsModEngineInit()
105 MOD_POOL_BUF(pME) = (BNU_CHUNK_T*)(ptr += modLen*sizeof(BNU_CHUNK_T)); in gsModEngineInit()
106 MOD_MAXPOOL(pME) = numpe; in gsModEngineInit()
107 MOD_USEDPOOL(pME) = 0; in gsModEngineInit()
111 …ZEXPAND_COPY_BNU((Ipp32u*)MOD_MODULUS(pME), modLen * (cpSize)(sizeof(BNU_CHUNK_T) / sizeof(Ipp32u)… in gsModEngineInit()
114 MOD_MNT_FACTOR(pME) = gsMontFactor(MOD_MODULUS(pME)[0]); in gsModEngineInit()
117 ZEXPAND_BNU(MOD_MNT_R(pME), 0, modLen); in gsModEngineInit()
118 MOD_MNT_R(pME)[modLen] = 1; in gsModEngineInit() local
119 cpMod_BNU(MOD_MNT_R(pME), modLen+1, MOD_MODULUS(pME), modLen); in gsModEngineInit()
122 ZEXPAND_BNU(MOD_MNT_R2(pME), 0, modLen); in gsModEngineInit()
123 COPY_BNU(MOD_MNT_R2(pME)+modLen, MOD_MNT_R(pME), modLen); in gsModEngineInit()
124 cpMod_BNU(MOD_MNT_R2(pME), 2*modLen, MOD_MODULUS(pME), modLen); in gsModEngineInit()