Home
last modified time | relevance | path

Searched refs:pME (Results 1 – 10 of 10) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
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() argument
65 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_add()
66 int mLen = MOD_LEN(pME); in gs_mont_add()
69 BNU_CHUNK_T* pBuffer = gsModPoolAlloc(pME, polLength); in gs_mont_add()
76 gsModPoolFree(pME, polLength); 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() argument
90 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_sub()
91 int mLen = MOD_LEN(pME); in gs_mont_sub()
94 BNU_CHUNK_T* pBuffer = gsModPoolAlloc(pME, polLength); in gs_mont_sub()
101 gsModPoolFree(pME, polLength); in gs_mont_sub()
[all …]
Dgsmod_engineinit.c78 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()
[all …]
Dgsmod_montinv.c78 BNU_CHUNK_T* gs_mont_inv(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME, alm_inv alm_inve… in gs_mont_inv() argument
80 int k = alm_inversion(pr, pa, pME); in gs_mont_inv()
86 int mLen = MOD_LEN(pME); in gs_mont_inv()
88 mod_mul mon_mul = MOD_METHOD(pME)->mul; in gs_mont_inv()
90 BNU_CHUNK_T* t = gsModPoolAlloc(pME, 1); in gs_mont_inv()
94 mon_mul(pr, pr, MOD_MNT_R2(pME), pME); in gs_mont_inv()
101 mon_mul(pr, pr, t, pME); in gs_mont_inv()
103 gsModPoolFree(pME, 1); in gs_mont_inv()
Dgsmod_inv.c64 BNU_CHUNK_T* gs_inv(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME, alm_inv alm_inversion) in gs_inv() argument
66 int k = alm_inversion(pr, pa, pME); in gs_inv()
72 int mLen = MOD_LEN(pME); in gs_inv()
74 mod_mul mon_mul = MOD_METHOD(pME)->mul; in gs_inv()
76 BNU_CHUNK_T* t = gsModPoolAlloc(pME, 1); in gs_inv()
82 mon_mul(pr, pr, t, pME); in gs_inv()
87 mon_mul(pr, pr, t, pME); in gs_inv()
89 gsModPoolFree(pME, 1); in gs_inv()
Dgsmodstuff.h104 IppStatus gsModEngineInit(gsModEngine* pME, const Ipp32u* pModulus, int modulusBitSize, int numpe, …
128 __INLINE BNU_CHUNK_T* gsModPoolAlloc(gsModEngine* pME, int poolReq) in gsModPoolAlloc() argument
130 BNU_CHUNK_T* pPool = MOD_BUFFER(pME, pME->poolLenUsed); in gsModPoolAlloc()
132 if(pME->poolLenUsed + poolReq > pME->poolLen) in gsModPoolAlloc()
135 pME->poolLenUsed += poolReq; in gsModPoolAlloc()
153 __INLINE void gsModPoolFree(gsModEngine* pME, int poolReq) in gsModPoolFree() argument
155 if(pME->poolLenUsed < poolReq) in gsModPoolFree()
156 poolReq = pME->poolLenUsed; in gsModPoolFree()
157 pME->poolLenUsed -= poolReq; in gsModPoolFree()
162 BNU_CHUNK_T* gsModGetPool(gsModEngine* pME);
Dgsmod_getpool.c58 BNU_CHUNK_T* gsModGetPool(gsModEngine* pME) in gsModGetPool() argument
61 pPool = (pME->poolLenUsed >= pME->poolLen)? NULL : MOD_BUFFER(pME, pME->poolLenUsed); in gsModGetPool()
Dgsmod_almmontinv.c64 int alm_mont_inv(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME) in alm_mont_inv() argument
66 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in alm_mont_inv()
67 int mLen = MOD_LEN(pME); in alm_mont_inv()
70 BNU_CHUNK_T* pBuffer = gsModPoolAlloc(pME, polLength); in alm_mont_inv()
126 gsModPoolFree(pME, polLength); in alm_mont_inv()
Dgsmod_almmontinv_ct.c65 int alm_mont_inv_ct(BNU_CHUNK_T* pr, const BNU_CHUNK_T* pa, gsModEngine* pME) in alm_mont_inv_ct() argument
67 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in alm_mont_inv_ct()
68 int mLen = MOD_LEN(pME); in alm_mont_inv_ct()
69 int modulusBitSize = MOD_BITSIZE(pME); in alm_mont_inv_ct()
72 BNU_CHUNK_T* pBuffer = gsModPoolAlloc(pME, polLength); in alm_mont_inv_ct()
157 gsModPoolFree(pME, polLength); in alm_mont_inv_ct()
Dpcpprime_isprob.h100 gsModEngine* pME, in cpIsProbablyPrime() argument
128 cpSub_BNU(pMontPrime1, pPrime, MOD_MNT_R(pME), ns); in cpIsProbablyPrime()
139 pME, pScratchBuffer); in cpIsProbablyPrime()
/external/ImageMagick/PerlMagick/t/reference/write/composite/
DDifference.miff66 …HV�kTQ�z@6�pA=�aUW�\X\�YRQ�ZFA�TEA�WML�EQV�M5:�O53�E;=�d//�U?C�OBJ�YHM�nRG�pME�cFJ�WSZ�nRT�sVR�nTV…