Home
last modified time | relevance | path

Searched refs:modLen (Results 1 – 6 of 6) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dgsmod_engineinit.c89 int modLen = BITS_BNU_CHUNK(modulusBitSize); in gsModEngineInit() local
99 MOD_LEN(pME) = modLen; 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()
111 …ZEXPAND_COPY_BNU((Ipp32u*)MOD_MODULUS(pME), modLen * (cpSize)(sizeof(BNU_CHUNK_T) / sizeof(Ipp32u)… in gsModEngineInit()
117 ZEXPAND_BNU(MOD_MNT_R(pME), 0, modLen); in gsModEngineInit()
118 MOD_MNT_R(pME)[modLen] = 1; in gsModEngineInit()
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()
[all …]
Dpcpgfp.c86 int modLen = BITS_BNU_CHUNK(modulusBitSize); in cpGFEInit() local
98 GFP_FELEN(pGFE) = modLen; 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()
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()
[all …]
Dgsmod_enginegetsize.c77 int modLen = BITS_BNU_CHUNK(modulusBitSize); in gsModEngineGetSize() local
85 + modLen*sizeof(BNU_CHUNK_T) /* modulus */ in gsModEngineGetSize()
86 + modLen*sizeof(BNU_CHUNK_T) /* mont_R */ in gsModEngineGetSize()
87 + modLen*sizeof(BNU_CHUNK_T) /* mont_R^2 */ in gsModEngineGetSize()
Dpcpgfpecgetpointoctstring.c87 IPP_BADARG_RET(pPoint->elementSize != pGFE->modLen, ippStsOutOfRangeErr);
93 cpGFpElementConstruct(&ptX, cpGFpGetPool(1, pGFE), pGFE->modLen);
94 cpGFpElementConstruct(&ptY, cpGFpGetPool(1, pGFE), pGFE->modLen);
Dpcpgfpecsetpointoctstring.c90 cpGFpElementConstruct(&ptX, cpGFpGetPool(1, pGFE), pGFE->modLen);
91 cpGFpElementConstruct(&ptY, cpGFpGetPool(1, pGFE), pGFE->modLen);
Dgsmodstuff.h60 int modLen; /* length of modulus (BNU_CHUNK_T) */ member
79 #define MOD_LEN(eng) ((eng)->modLen)