Home
last modified time | relevance | path

Searched refs:MOD_MODULUS (Results 1 – 25 of 32) sorted by relevance

12

/external/epid-sdk/ext/ipp/sources/ippcp/
Dgsmodmethodstuff.h65 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_add()
90 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_sub()
114 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_neg()
138 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_div2()
200 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_red()
240 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_red()
252 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_redX()
276 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_mul()
341 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_mul()
359 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in gs_mont_mulX()
[all …]
Dgsmod_engineinit.c102 MOD_MODULUS(pME) = (BNU_CHUNK_T*)(ptr += sizeof(gsModEngine)); in gsModEngineInit()
111 …ZEXPAND_COPY_BNU((Ipp32u*)MOD_MODULUS(pME), modLen * (cpSize)(sizeof(BNU_CHUNK_T) / sizeof(Ipp32u)… in gsModEngineInit()
114 MOD_MNT_FACTOR(pME) = gsMontFactor(MOD_MODULUS(pME)[0]); in gsModEngineInit()
119 cpMod_BNU(MOD_MNT_R(pME), modLen+1, MOD_MODULUS(pME), modLen); in gsModEngineInit()
124 cpMod_BNU(MOD_MNT_R2(pME), 2*modLen, MOD_MODULUS(pME), modLen); in gsModEngineInit()
Dgsmod_unpackctx.c69 MOD_MODULUS(pCtx) = (BNU_CHUNK_T*)((Ipp8u*)pCtx + IPP_UINT_PTR(MOD_MODULUS(pAlignedBuffer))); in gsUnpackModEngineCtx()
Dgsmod_packctx.c72MOD_MODULUS(pAlignedBuffer) = (BNU_CHUNK_T*)((Ipp8u*)NULL + IPP_UINT_PTR(MOD_MODULUS(pCtx))-IPP_UI… in gsPackModEngineCtx()
Dpcpgfpeckeys.c107 BNU_CHUNK_T* pOrder = MOD_MODULUS(ECP_MONT_R(pEC));
134 …gfec_MulPoint(&T, pPublic, MOD_MODULUS(ECP_MONT_R(pEC)), BITS_BNU_CHUNK(ECP_ORDBITSIZE(pEC)), /*0,…
Dpcpdlp.h115 #define DLP_P(ctx) (MOD_MODULUS(DLP_MONTP0((ctx))))
116 #define DLP_R(ctx) (MOD_MODULUS(DLP_MONTR((ctx))))
Dpcpmontmul.c98 …IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
99 …IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pB), BN_SIZE(pB), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
Dpcpgfpecverify.c141 …gfec_MulBasePoint(&T, MOD_MODULUS(ECP_MONT_R(pEC)), BITS_BNU_CHUNK(ECP_ORDBITSIZE(pEC)), pEC, pScr…
157 BNU_CHUNK_T* pOrder = MOD_MODULUS(pR);
Dpcpmontget.c82 Ipp32u* bnData = (Ipp32u*) MOD_MODULUS( MNT_ENGINE(pMont) );
Dpcpgfpectstpointinsubgroup.c106 …gfec_MulPoint(&T, pP, MOD_MODULUS(ECP_MONT_R(pEC)), BITS_BNU_CHUNK(ECP_ORDBITSIZE(pEC)), /*0,*/ pE…
Dpcpmontexp.c103 …IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
Dpcpgfpecpublickey.c107 BNU_CHUNK_T* pOrder = MOD_MODULUS(ECP_MONT_R(pEC));
Dpcpgfpecprivatekey.c95 BNU_CHUNK_T* pOrder = MOD_MODULUS(ECP_MONT_R(pEC));
Dpcpgfpecmulpoint.c118 …IPP_BADARG_RET(0<cpCmp_BNU(pScalar, scalarLen, MOD_MODULUS(ECP_MONT_R(pEC)), MOD_LEN(ECP_MONT_R(pE…
Dpcpmontform.c91 …IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
Dpcpeccpgenkeyca.c104 BNU_CHUNK_T* pOrder = MOD_MODULUS(pModEngine);
Dgsmod_almmontinv.c66 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in alm_mont_inv()
Dpcpgfpecsetpointrand.c148 …int nsE = cpMod_BNU(pExp, generatedLen, MOD_MODULUS(ECP_MONT_R(pEC)), BITS_BNU_CHUNK(ECP_ORDBITSIZ…
Dpcpgfpecgetsubgroup.c117 BNU_CHUNK_T* pOrderData = MOD_MODULUS(ECP_MONT_R(pEC));
Dpcpeccpget.c164 …BN(ippBigNumPOS, MOD_LEN(pR)*sizeof(BNU_CHUNK_T)/sizeof(Ipp32u), (Ipp32u*)MOD_MODULUS(pR), pOrder);
Dpcpeccpverifynrca.c111 pOrder = MOD_MODULUS(pModEngine);
Dgsmod_almmontinv_ct.c67 const BNU_CHUNK_T* pm = MOD_MODULUS(pME); in alm_mont_inv_ct()
Dgsmodstuff.h83 #define MOD_MODULUS(eng) ((eng)->pModulus) macro
Dpcpeccpverifysm2ca.c136 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR);
Dpcpgfpecverifynr.c141 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR);

12