Lines Matching refs:pMont
76 IppsMontState* pMont) in cpSafeMontExp_Binary() argument
82 int len = IPP_MULTIPLE_OF(pMont->n->size, BNUBASE_TYPE_SIZE); in cpSafeMontExp_Binary()
83 cpMemset32u(pMont->wb->number, 0, len); in cpSafeMontExp_Binary()
84 pMont->wb->number[len] = 1; in cpSafeMontExp_Binary()
86 cpMod_BNU(pMont->wb->number, len + 1, pMont->n->number, pMont->n->size, &pY->size); in cpSafeMontExp_Binary()
88 cpMemcpy32u(pY->number, pMont->wb->number, pY->size); in cpSafeMontExp_Binary()
110 pMont->n->number, pMont->n->size, in cpSafeMontExp_Binary()
111 r_number,&r_size, pMont->n0, pMont->wb->number); in cpSafeMontExp_Binary()
114 pMont->n->number, pMont->n->size, in cpSafeMontExp_Binary()
115 r_number,&r_size, pMont->n0, pMont->wb->number, pMont->pBuffer); in cpSafeMontExp_Binary()
120 pMont->n->number, pMont->n->size, in cpSafeMontExp_Binary()
121 r_number,&r_size, pMont->n0, pMont->wb->number); in cpSafeMontExp_Binary()
124 pMont->n->number, pMont->n->size, in cpSafeMontExp_Binary()
125 r_number,&r_size, pMont->n0, pMont->wb->number, pMont->pBuffer); in cpSafeMontExp_Binary()
132 r_size = pMont->n->size; in cpSafeMontExp_Binary()
133 if( pX->size < pMont->n->size ) in cpSafeMontExp_Binary()
160 pMont->n->number, pMont->n->size, in cpSafeMontExp_Binary()
161 r_number,&r_size, pMont->n0, pMont->wb->number); in cpSafeMontExp_Binary()
164 pMont->n->number, pMont->n->size, in cpSafeMontExp_Binary()
165 r_number,&r_size, pMont->n0, pMont->wb->number, pMont->pBuffer); in cpSafeMontExp_Binary()
226 IppsMontState* pMont) in cpSafeMontExp_Binary() argument
235 cpBN_copy(MNT_1(pMont), pY); in cpSafeMontExp_Binary()
249 Ipp32u* pModulus = BN_NUMBER(MNT_MODULO(pMont)); in cpSafeMontExp_Binary()
250 int mSize = BN_SIZE(MNT_MODULO(pMont)); in cpSafeMontExp_Binary()
251 Ipp32u* pHelper = MNT_HELPER(pMont); in cpSafeMontExp_Binary()
257 Ipp32u* tData = BN_NUMBER(MNT_PRODUCT(pMont)); in cpSafeMontExp_Binary()
258 Ipp32u* pBuffer = BN_BUFFER(MNT_PRODUCT(pMont)); in cpSafeMontExp_Binary()
259 Ipp32u* pMontOne= BN_NUMBER(MNT_1(pMont)); in cpSafeMontExp_Binary()
262 ZEXPAND_BNU(pMontOne, BN_SIZE(MNT_1(pMont)), mSize); in cpSafeMontExp_Binary()
290 pHelper, pBuffer, MNT_BUFFER(pMont)); in cpSafeMontExp_Binary()
311 pHelper, pBuffer, MNT_BUFFER(pMont)); in cpSafeMontExp_Binary()
335 pHelper, pBuffer, MNT_BUFFER(pMont)); in cpSafeMontExp_Binary()
356 pHelper, pBuffer, MNT_BUFFER(pMont)); in cpSafeMontExp_Binary()