Searched refs:MNT_ENGINE (Results 1 – 9 of 9) sorted by relevance
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpmontmul.c | 98 …G_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT_ENGINE(p… 99 …G_RET(cpCmp_BNU(BN_NUMBER(pB), BN_SIZE(pB), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT_ENGINE(p… 100 IPP_BADARG_RET(BN_ROOM(pR) < MOD_LEN( MNT_ENGINE(pCtx) ), ippStsOutOfRangeErr); 104 cpSize nsM = MOD_LEN( MNT_ENGINE(pCtx) ); 106 BNU_CHUNK_T* pDataA = gsModPoolAlloc(MNT_ENGINE(pCtx), usedPoolLen); 113 MOD_METHOD( MNT_ENGINE(pCtx) )->mul(pDataR, pDataA, pDataB, MNT_ENGINE(pCtx)); 115 gsModPoolFree(MNT_ENGINE(pCtx), usedPoolLen);
|
D | pcpmontform.c | 91 …G_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT_ENGINE(p… 92 IPP_BADARG_RET(BN_ROOM(pR) < MOD_LEN( MNT_ENGINE(pCtx) ), ippStsOutOfRangeErr); 96 cpSize nsM = MOD_LEN( MNT_ENGINE(pCtx) ); 97 BNU_CHUNK_T* pDataA = gsModPoolAlloc(MNT_ENGINE(pCtx), usedPoolLen); 102 MOD_METHOD( MNT_ENGINE(pCtx) )->encode(BN_NUMBER(pR), pDataA, MNT_ENGINE(pCtx)); 108 gsModPoolFree(MNT_ENGINE(pCtx), usedPoolLen);
|
D | pcpmontexp.c | 100 IPP_BADARG_RET(BN_ROOM(pR) < MOD_LEN( MNT_ENGINE(pCtx) ), ippStsOutOfRangeErr); 103 …G_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT_ENGINE(p… 107 cpMontExpBin_BN(pR, pA, pE, MNT_ENGINE( pCtx) );
|
D | pcpmont_init.c | 79 MNT_ENGINE ( pMont ) = (gsModEngine*)((Ipp8u*)pMont + sizeof(IppsMontState)); in cpMontInit() 83 gsModEngineInit(MNT_ENGINE(pMont), NULL, maxBitSize, poolLength, gsModArithMont()); in cpMontInit()
|
D | pcpmontget.c | 81 cpSize len32 = MOD_LEN(MNT_ENGINE(pMont))*sizeof(BNU_CHUNK_T)/sizeof(Ipp32u); 82 Ipp32u* bnData = (Ipp32u*) MOD_MODULUS( MNT_ENGINE(pMont) );
|
D | pcpmont_set.c | 92 const int poolLen = MOD_MAXPOOL(MNT_ENGINE(pMont)); in cpMontSet() 95 gsModEngineInit(MNT_ENGINE(pMont), pModulus, modulusBitSize, poolLen, gsModArithMont()); in cpMontSet()
|
D | pcpmont_unpackctx.c | 76 gsUnpackModEngineCtx(pBuffer, MNT_ENGINE(pCtx)); in cpUnpackMontCtx()
|
D | pcpmont_packctx.c | 76 gsPackModEngineCtx(MNT_ENGINE(pCtx), pBuffer); in cpPackMontCtx()
|
D | pcpmontgomery.h | 71 #define MNT_ENGINE(eng) ((eng)->pEngine) macro
|