Home
last modified time | relevance | path

Searched refs:gsModEngine (Results 1 – 25 of 136) sorted by relevance

123456

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpxstuff.h62 __INLINE int degree(const BNU_CHUNK_T* pE, const gsModEngine* pGFEx) in degree()
72 __INLINE gsModEngine* cpGFpBasic(const gsModEngine* pGFEx) in cpGFpBasic()
77 return (gsModEngine*)pGFEx; in cpGFpBasic()
79 __INLINE int cpGFpBasicDegreeExtension(const gsModEngine* pGFEx) in cpGFpBasicDegreeExtension()
92 __INLINE int cpGFpxCopyToChunk(BNU_CHUNK_T* pElm, const Ipp32u* pA, int nsA, const gsModEngine* pGF… in cpGFpxCopyToChunk()
94 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxCopyToChunk()
111 __INLINE int cpGFpxCopyFromChunk(Ipp32u* pA, const BNU_CHUNK_T* pElm, const gsModEngine* pGFEx) in cpGFpxCopyFromChunk()
113 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxCopyFromChunk()
128 BNU_CHUNK_T* cpGFpxRand(BNU_CHUNK_T* pR, gsModEngine* pGFEx, IppBitSupplier rndFunc, void* pRndPara…
131 BNU_CHUNK_T* cpGFpxSet (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pDataA, int nsA, gsModEngine* pGFEx);
[all …]
Dpcpngmontexpstuff.h85 const gsModEngine* pMont) in gsMontEnc_BNU()
89 MOD_METHOD( pMont )->encode(pR, pR, (gsModEngine*)pMont); in gsMontEnc_BNU()
95 gsModEngine* pMont) in gsMontDec_BNU()
98 MOD_METHOD( pMont )->decode(pR, pXmont, (gsModEngine*)pMont); in gsMontDec_BNU()
104 gsModEngine* pMont) in gsMontEnc_BN()
127 gsModEngine* pMont,
138 gsModEngine* pMont,
143 gsModEngine* pMont,
151 gsModEngine* pMont,
156 gsModEngine* pMont,
[all …]
Dpcpmontgomery.h65 gsModEngine* pEngine; /* Modular arith engine structure */
96 gsModEngine* pModEngine) in cpMontRed_BNU()
104 gsModEngine* pModEngine) in cpMontMul_BNU()
112 gsModEngine* pModEngine) in cpMontMul_BNU_EX()
131 gsModEngine* pModEngine) in cpMontSqr_BNU()
138 gsModEngine* pModEngine) in cpMontSqr_BNU_EX()
151 gsModEngine* pModEngine) in cpMontEnc_BNU()
163 gsModEngine* pModEngine) in cpMontEnc_BNU_EX()
178 gsModEngine* pModEngine) in cpMontDec_BNU()
193 gsModEngine* pModEngine) in cpMontMul_BN()
[all …]
Dgsmodstuff.h73 } gsModEngine; typedef
104 IppStatus gsModEngineInit(gsModEngine* pME, const Ipp32u* pModulus, int modulusBitSize, int numpe, …
128 __INLINE BNU_CHUNK_T* gsModPoolAlloc(gsModEngine* pME, int poolReq) in gsModPoolAlloc()
153 __INLINE void gsModPoolFree(gsModEngine* pME, int poolReq) in gsModPoolFree()
162 BNU_CHUNK_T* gsModGetPool(gsModEngine* pME);
167 typedef int (*alm_inv)(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pMA);
170 int alm_mont_inv(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pMA);
173 int alm_mont_inv_ct(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pMA);
176 BNU_CHUNK_T* gs_mont_inv(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pMA, alm_inv invf);
179 BNU_CHUNK_T* gs_inv(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pMA, alm_inv invf);
[all …]
Dpcpgfpstuff.h73 gsModEngine* pGFE; /* arithmethic engine */
155 …CHUNK_T* cpGFpAdd(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, gsModEngine* pGFE) in cpGFpAdd()
160 …CHUNK_T* cpGFpSub(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, gsModEngine* pGFE) in cpGFpSub()
165 __INLINE BNU_CHUNK_T* cpGFpNeg(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFE) in cpGFpNeg()
170 …CHUNK_T* cpGFpMul(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, gsModEngine* pGFE) in cpGFpMul()
175 __INLINE BNU_CHUNK_T* cpGFpSqr(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFE) in cpGFpSqr()
180 __INLINE BNU_CHUNK_T* cpGFpHalve(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFE) in cpGFpHalve()
222 BNU_CHUNK_T* cpGFpRand(BNU_CHUNK_T* pR, gsModEngine* pGFE, IppBitSupplier rndFunc, void* pRndParam);
225 BNU_CHUNK_T* cpGFpSet (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pDataA, int nsA, gsModEngine* pGFE);
228 BNU_CHUNK_T* cpGFpGet (BNU_CHUNK_T* pDataA, int nsA, const BNU_CHUNK_T* pR, gsModEngine* pGFE);
[all …]
Dgsmodmethodstuff.h63 …UNK_T* gs_mont_add(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, const BNU_CHUNK_T* pb, gsModEngine* pME) in gs_mont_add()
88 …UNK_T* gs_mont_sub(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, const BNU_CHUNK_T* pb, gsModEngine* pME) in gs_mont_sub()
112 static BNU_CHUNK_T* gs_mont_neg(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME) in gs_mont_neg()
136 static BNU_CHUNK_T* gs_mont_div2(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME) in gs_mont_div2()
165 static BNU_CHUNK_T* gs_mont_mul2(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME) in gs_mont_mul2()
177 static BNU_CHUNK_T* gs_mont_mul3(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME) in gs_mont_mul3()
198 static BNU_CHUNK_T* gs_mont_red(BNU_CHUNK_T* pr, BNU_CHUNK_T* prod, gsModEngine* pME) in gs_mont_red()
238 static BNU_CHUNK_T* gs_mont_red(BNU_CHUNK_T* pr, BNU_CHUNK_T* prod, gsModEngine* pME) in gs_mont_red()
250 static BNU_CHUNK_T* gs_mont_redX(BNU_CHUNK_T* pr, BNU_CHUNK_T* prod, gsModEngine* pME) in gs_mont_redX()
274 …UNK_T* gs_mont_mul(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, const BNU_CHUNK_T* pb, gsModEngine* pME) in gs_mont_mul()
[all …]
Dpcpgfpx.c64 gsModEngine* pGFEp = GFP_PMA(pGroundGF); in InitGFpxCtx()
72 GFP_PMA(pGFpx) = (gsModEngine*)ptr; in InitGFpxCtx()
74 gsModEngine* pGFEx = GFP_PMA(pGFpx); in InitGFpxCtx()
77 PaddBlock(0, ptr, sizeof(gsModEngine)); in InitGFpxCtx()
78 ptr += sizeof(gsModEngine); in InitGFpxCtx()
Dpcpgfpx_inv.c60 gsModEngine* pGFEx) in gfpxPolyDiv()
67 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in gfpxPolyDiv()
77 gsModEngine* pBasicGFE = cpGFpBasic(pGroundGFE); in gfpxPolyDiv()
135 …NK_T* gfpxGeneratorDiv(BNU_CHUNK_T* pQ, BNU_CHUNK_T* pR, const BNU_CHUNK_T* pB, gsModEngine* pGFEx) in gfpxGeneratorDiv()
143 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in gfpxGeneratorDiv()
178 BNU_CHUNK_T* cpGFpxInv(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx) in cpGFpxInv()
184 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxInv()
197 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxInv()
198 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxInv()
Dgsmod_unpackctx.c58 void gsUnpackModEngineCtx(const Ipp8u* pBuffer, gsModEngine* pCtx) in gsUnpackModEngineCtx()
60 gsModEngine* pAlignedBuffer = (gsModEngine*)pBuffer; in gsUnpackModEngineCtx()
65 int ctxSize = sizeof(gsModEngine) in gsUnpackModEngineCtx()
Dgsmod_packctx.c61 void gsPackModEngineCtx(const gsModEngine* pCtx, Ipp8u* pBuffer) in gsPackModEngineCtx()
63 gsModEngine* pAlignedBuffer = (gsModEngine*)pBuffer; in gsPackModEngineCtx()
68 int ctxSize = sizeof(gsModEngine) in gsPackModEngineCtx()
Dpcpgfp.c69 ctxSize = sizeof(gsModEngine) in cpGFpGetSize()
84 static void cpGFEInit(gsModEngine* pGFE, int modulusBitSize, int peBitSize, int numpe) in cpGFEInit()
92 PaddBlock(0, ptr, sizeof(gsModEngine)); in cpGFEInit()
93 ptr += sizeof(gsModEngine); in cpGFEInit()
128 GFP_PMA(pGF) = (gsModEngine*)(ptr+sizeof(IppsGFpState)); in cpGFpInitGFp()
Dpcpgfpec_setpoint.c61 gsModEngine* pGFE = GFP_PMA(pGF); in gfec_IsAffinePointAtInfinity()
74 gsModEngine* pBasicGFE = cpGFpBasic(pGFE); in gfec_IsAffinePointAtInfinity()
93 gsModEngine* pGFE = GFP_PMA(pGF); in gfec_SetPoint()
98 gsModEngine* pBasicGFE = cpGFpBasic(pGFE); in gfec_SetPoint()
Dpcpngmontexpstuff_avx512.h98 gsModEngine* pMont,
105 gsModEngine* pMont,
112 gsModEngine* pMont,
119 gsModEngine* pMont,
Dpcpngmontexpstuff_sse2.h96 gsModEngine* pMont,
103 gsModEngine* pMont,
110 gsModEngine* pMont,
117 gsModEngine* pMont,
Dpcpngrsa.h66 gsModEngine* pMontN; /* montgomery engine (N) */
97 gsModEngine* pMontP; /* montgomery engine (P) */
98 gsModEngine* pMontQ; /* montgomery engine (Q) */
99 gsModEngine* pMontN; /* montgomery engine (N) */
Dpcpngmontexpstuff_avx2.h118 gsModEngine* pMont,
125 gsModEngine* pMont,
132 gsModEngine* pMont,
139 gsModEngine* pMont,
Dgsmod_engineinit.c78 IppStatus gsModEngineInit(gsModEngine* pME, const Ipp32u* pModulus, int modulusBitSize, int numpe, … in gsModEngineInit()
94 PaddBlock(0, pME, sizeof(gsModEngine)); in gsModEngineInit()
102 MOD_MODULUS(pME) = (BNU_CHUNK_T*)(ptr += sizeof(gsModEngine)); in gsModEngineInit()
Dpcpdlp.h75 gsModEngine* pMontP0; /* Montgomery P-engine */
76 gsModEngine* pMontP1; /* Montgomery P-engine (for multithread version) */
77 gsModEngine* pMontR; /* Montgomery R-engine */
Dpcpgfpx_conj.c55 BNU_CHUNK_T* cpGFpxConj(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx) in cpGFpxConj()
57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxConj()
Dpcpgfpx_neg.c55 BNU_CHUNK_T* cpGFpxNeg(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx) in cpGFpxNeg()
57 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxNeg()
Dpcpgfpx_sub_gfe.c55 …FpxSub_GFE(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pGroundB, gsModEngine* pGFEx) in cpGFpxSub_GFE()
57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxSub_GFE()
Dpcpgfpx_add_gfe.c55 …FpxAdd_GFE(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pGroundB, gsModEngine* pGFEx) in cpGFpxAdd_GFE()
57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxAdd_GFE()
Dpcpgfpx_mul_gfe.c55 …FpxMul_GFE(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pGroundB, gsModEngine* pGFEx) in cpGFpxMul_GFE()
57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_GFE()
Dpcpgfpx_rand.c56 BNU_CHUNK_T* cpGFpxRand(BNU_CHUNK_T* pR, gsModEngine* pGFEx, IppBitSupplier rndFunc, void* pRndPara… in cpGFpxRand()
62 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxRand()
Dpcpgfpx_get.c55 BNU_CHUNK_T* cpGFpxGet(BNU_CHUNK_T* pDataA, int nsA, const BNU_CHUNK_T* pE, gsModEngine* pGFEx) in cpGFpxGet()
63 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxGet()

123456