Lines Matching refs:pGFE
84 static void cpGFEInit(gsModEngine* pGFE, int modulusBitSize, int peBitSize, int numpe) in cpGFEInit() argument
89 Ipp8u* ptr = (Ipp8u*)pGFE; in cpGFEInit()
95 GFP_PARENT(pGFE) = NULL; in cpGFEInit()
96 GFP_EXTDEGREE(pGFE) = 1; in cpGFEInit()
97 GFP_FEBITLEN(pGFE) = modulusBitSize; in cpGFEInit()
98 GFP_FELEN(pGFE) = modLen; in cpGFEInit()
99 GFP_FELEN32(pGFE) = BITS2WORD32_SIZE(modulusBitSize); in cpGFEInit()
100 GFP_PELEN(pGFE) = pelmLen; in cpGFEInit()
102 GFP_MODULUS(pGFE) = (BNU_CHUNK_T*)(ptr); ptr += modLen*sizeof(BNU_CHUNK_T); in cpGFEInit()
103 GFP_MNT_R(pGFE) = (BNU_CHUNK_T*)(ptr); ptr += modLen*sizeof(BNU_CHUNK_T); in cpGFEInit()
104 GFP_MNT_RR(pGFE) = (BNU_CHUNK_T*)(ptr); ptr += modLen*sizeof(BNU_CHUNK_T); in cpGFEInit()
105 GFP_HMODULUS(pGFE) = (BNU_CHUNK_T*)(ptr); ptr += modLen*sizeof(BNU_CHUNK_T); in cpGFEInit()
106 GFP_QNR(pGFE) = (BNU_CHUNK_T*)(ptr); ptr += modLen*sizeof(BNU_CHUNK_T); in cpGFEInit()
107 GFP_POOL(pGFE) = (BNU_CHUNK_T*)(ptr);/* ptr += modLen*sizeof(BNU_CHUNK_T);*/ in cpGFEInit()
108 GFP_MAXPOOL(pGFE) = numpe; in cpGFEInit()
109 GFP_USEDPOOL(pGFE) = 0; in cpGFEInit()
111 cpGFpElementPadd(GFP_MODULUS(pGFE), modLen, 0); in cpGFEInit()
112 cpGFpElementPadd(GFP_MNT_R(pGFE), modLen, 0); in cpGFEInit()
113 cpGFpElementPadd(GFP_MNT_RR(pGFE), modLen, 0); in cpGFEInit()
114 cpGFpElementPadd(GFP_HMODULUS(pGFE), modLen, 0); in cpGFEInit()
115 cpGFpElementPadd(GFP_QNR(pGFE), modLen, 0); in cpGFEInit()