Home
last modified time | relevance | path

Searched refs:pModulus (Results 1 – 16 of 16) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpmontred.h59 const BNU_CHUNK_T* pModulus, cpSize nsM, BNU_CHUNK_T m0);
64 const BNU_CHUNK_T* pModulus, cpSize nsM, BNU_CHUNK_T m0);
68 const BNU_CHUNK_T* pModulus, cpSize nsM, BNU_CHUNK_T m0) in cpMontRed_BNU_opt() argument
71 cpMontRedAdx_BNU(pR, pProduct, pModulus, nsM, m0); in cpMontRed_BNU_opt()
73 IsFeatureEnabled(ippCPUID_ADCOX)? cpMontRedAdx_BNU(pR, pProduct, pModulus, nsM, m0) in cpMontRed_BNU_opt()
74 : cpMontRedAdc_BNU(pR, pProduct, pModulus, nsM, m0); in cpMontRed_BNU_opt()
76 cpMontRedAdc_BNU(pR, pProduct, pModulus, nsM, m0); in cpMontRed_BNU_opt()
Dpcpngmontexpstuff_avx2.h87 void cpMontMul1024_avx2(Ipp64u* pR, const Ipp64u* pA, const Ipp64u* pB, const Ipp64u* pModulus, …
89 void cpMontMul4n_avx2 (Ipp64u* pR, const Ipp64u* pA, const Ipp64u* pB, const Ipp64u* pModulus, …
91 void cpMontMul4n1_avx2 (Ipp64u* pR, const Ipp64u* pA, const Ipp64u* pB, const Ipp64u* pModulus, …
93 void cpMontMul4n2_avx2 (Ipp64u* pR, const Ipp64u* pA, const Ipp64u* pB, const Ipp64u* pModulus, …
95 void cpMontMul4n3_avx2 (Ipp64u* pR, const Ipp64u* pA, const Ipp64u* pB, const Ipp64u* pModulus, …
98 void cpMontSqr1024_avx2(Ipp64u* pR, const Ipp64u* pA, const Ipp64u* pModulus, int mLen, Ipp64u k…
105 void cpMontRed_avx2(Ipp64u* pR, Ipp64u* pProduct, const Ipp64u* pModulus, int mLen, Ipp64u k0);
Dpcpmontset.c76 IPPFUN(IppStatus, ippsMontSet,(const Ipp32u* pModulus, int size, IppsMontState* pCtx))
78 IPP_BAD_PTR2_RET(pModulus, pCtx);
85 IPP_BADARG_RET((pModulus[0] & 1) == 0, ippStsBadModulusErr);
89 return cpMontSet(pModulus, size, pCtx);
Dpcpmont_set.c83 IppStatus cpMontSet(const Ipp32u* pModulus, cpSize len32, IppsMontState* pMont) in cpMontSet() argument
88 IPP_BADARG_RET((pModulus[0] & 1) == 0, ippStsBadModulusErr); in cpMontSet()
93 int modulusBitSize = cpGetBitSize((len32 - 1) << 5, pModulus[len32-1]); in cpMontSet()
95 gsModEngineInit(MNT_ENGINE(pMont), pModulus, modulusBitSize, poolLen, gsModArithMont()); in cpMontSet()
Dgsmod_engineinit.c78 IppStatus gsModEngineInit(gsModEngine* pME, const Ipp32u* pModulus, int modulusBitSize, int numpe, … in gsModEngineInit() argument
81 IPP_BADARG_RET((pModulus) && (pModulus[0] & 1) == 0, ippStsBadModulusErr); in gsModEngineInit()
109 if (pModulus) { in gsModEngineInit()
111 …2u*)MOD_MODULUS(pME), modLen * (cpSize)(sizeof(BNU_CHUNK_T) / sizeof(Ipp32u)), pModulus, modLen32); in gsModEngineInit()
Dpcpmont_expsafebinary.c249 Ipp32u* pModulus = BN_NUMBER(MNT_MODULO(pMont)); in cpSafeMontExp_Binary() local
282 pModulus, mSize, in cpSafeMontExp_Binary()
288 pModulus, mSize, in cpSafeMontExp_Binary()
303 pModulus, mSize, in cpSafeMontExp_Binary()
309 pModulus, mSize, in cpSafeMontExp_Binary()
327 pModulus, mSize, in cpSafeMontExp_Binary()
333 pModulus, mSize, in cpSafeMontExp_Binary()
348 pModulus, mSize, in cpSafeMontExp_Binary()
354 pModulus, mSize, in cpSafeMontExp_Binary()
Dpcpgfpmethod_256.h67 …56_add(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, const BNU_CHUNK_T* pModulus);
68 …56_sub(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, const BNU_CHUNK_T* pModulus);
69 BNU_CHUNK_T* gf256_neg(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pModulus);
70 …_T* pR,const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, const BNU_CHUNK_T* pModulus, BNU_CHUNK_T m0);
71 BNU_CHUNK_T* gf256_sqrm(BNU_CHUNK_T* pR,const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pModulus, BNU_CHU…
72 BNU_CHUNK_T* gf256_div2(BNU_CHUNK_T* pR,const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pModulus);
Dpcpmontred.c72 const BNU_CHUNK_T* pModulus, cpSize nsM, BNU_CHUNK_T m0) in cpMontRedAdc_BNU() argument
82 extension = cpAddMulDgt_BNU(pProduct+n, pModulus, nsM, u); in cpMontRedAdc_BNU()
91 extension = cpAddMulDgt_BNU(pProduct+nsM-1, pModulus, nsM, m0); in cpMontRedAdc_BNU()
95 carry -= cpSub_BNU(pR, pProduct+nsM, pModulus, nsM); in cpMontRedAdc_BNU()
Dpcpmontget.c73 IPPFUN(IppStatus, ippsMontGet,(Ipp32u* pModulus, int* pSize, const IppsMontState* pMont))
75 IPP_BAD_PTR3_RET(pMont, pModulus, pSize);
85 COPY_BNU(pModulus, bnData, len32);
Dpcpgfp_set.c58 const BNU_CHUNK_T* pModulus = GFP_MODULUS(pGFE); in cpGFpSet() local
61 if(0 <= cpCmp_BNU(pDataA, nsA, pModulus, elemLen)) in cpGFpSet()
Dgsmodstuff.h64 BNU_CHUNK_T* pModulus; /* modulus */ member
83 #define MOD_MODULUS(eng) ((eng)->pModulus)
104 IppStatus gsModEngineInit(gsModEngine* pME, const Ipp32u* pModulus, int modulusBitSize, int numpe, …
Dpcpgfpecsetpointhash_rmf.c127 BNU_CHUNK_T* pModulus = GFP_MODULUS(pGFE); variable
152 hashValLen = cpMod_BNU(hashVal, hashValLen, pModulus, elemLen);
Dpcpgfpecsetpointhash.c127 BNU_CHUNK_T* pModulus = GFP_MODULUS(pGFE); variable
152 hashValLen = cpMod_BNU(hashVal, hashValLen, pModulus, elemLen);
Dpcpbnuarith.h220 __INLINE cpSize cpMod_BNU(BNU_CHUNK_T* pX, cpSize nsX, BNU_CHUNK_T* pModulus, cpSize nsM) in cpMod_BNU() argument
222 return cpDiv_BNU(NULL,NULL, pX,nsX, pModulus, nsM); in cpMod_BNU()
Dpcpmontgomery.h330 IppStatus cpMontSet(const Ipp32u* pModulus, cpSize len32, IppsMontState* pMont);
/external/epid-sdk/ext/ipp/include/
Dippcp.h663 IPPAPI(IppStatus, ippsRSA_SetPublicKey,(const IppsBigNumState* pModulus,
666 IPPAPI(IppStatus, ippsRSA_GetPublicKey,(IppsBigNumState* pModulus,
673 IPPAPI(IppStatus, ippsRSA_SetPrivateKeyType1,(const IppsBigNumState* pModulus,
676 IPPAPI(IppStatus, ippsRSA_GetPrivateKeyType1,(IppsBigNumState* pModulus,
709 IppsBigNumState* pModulus,