/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpbnarithsub.c | 90 cpSize nsB = BN_SIZE(pB); variable 92 IPP_BADARG_RET(nsR < IPP_MAX(nsA, nsB), ippStsOutOfRangeErr); 105 if(nsA < nsB) { 106 SWAP(nsA, nsB); 110 carry = cpAdd_BNU(pDataR, pDataA, pDataB, nsB); 111 if(nsA>nsB) 112 carry = cpInc_BNU(pDataR+nsB, pDataA+nsB, nsA-nsB, carry); 123 int cmpRes= cpCmp_BNU(pDataA, nsA, pDataB, nsB); 133 SWAP(nsA, nsB); 137 carry = cpSub_BNU(pDataR, pDataA, pDataB, nsB); [all …]
|
D | pcpbnarithadd.c | 90 cpSize nsB = BN_SIZE(pB); variable 92 IPP_BADARG_RET(nsR < IPP_MAX(nsA, nsB), ippStsOutOfRangeErr); 105 if(nsA < nsB) { 106 SWAP(nsA, nsB); 110 carry = cpAdd_BNU(pDataR, pDataA, pDataB, nsB); 111 if(nsA>nsB) 112 carry = cpInc_BNU(pDataR+nsB, pDataA+nsB, nsA-nsB, carry); 123 int cmpRes = cpCmp_BNU(pDataA, nsA, pDataB, nsB); 133 SWAP(nsA, nsB); 137 carry = cpSub_BNU(pDataR, pDataA, pDataB, nsB); [all …]
|
D | pcpprime_isco.h | 59 BNU_CHUNK_T* pB, int nsB, in cpIsCoPrime() argument 62 if (nsA>nsB) { in cpIsCoPrime() 64 SWAP(nsA, nsB); in cpIsCoPrime() 71 BNU_CHUNK_T* pBuffB = pDataB + nsB + 1; in cpIsCoPrime() 72 BNU_CHUNK_T* pDataGcd = pBuffB + nsB + 1; in cpIsCoPrime() 73 BNU_CHUNK_T* pBuffGcd = pDataGcd + nsB + 1; in cpIsCoPrime() 76 BN_Make(pDataB, pBuffB, nsB, &bnB); in cpIsCoPrime() 77 BN_Make(pDataGcd, pBuffGcd, nsB, &bnGcd); in cpIsCoPrime() 81 COPY_BNU(pDataB, pB, nsB) in cpIsCoPrime() 82 BN_Set(pDataB, nsB, &bnB); in cpIsCoPrime()
|
D | pcpbnuarith.h | 71 const BNU_CHUNK_T* pB, cpSize nsB); 75 const BNU_CHUNK_T* pB, cpSize nsB); 96 const BNU_CHUNK_T* pB, cpSize nsB) in cpMul_BNU_school() argument 99 return cpMulAdx_BNU_school(pR, pA,nsA, pB,nsB); in cpMul_BNU_school() 101 return IsFeatureEnabled(ippCPUID_ADCOX)? cpMulAdx_BNU_school(pR, pA,nsA, pB,nsB) in cpMul_BNU_school() 102 : cpMulAdc_BNU_school(pR, pA,nsA, pB,nsB); in cpMul_BNU_school() 104 return cpMulAdc_BNU_school(pR, pA,nsA, pB,nsB); in cpMul_BNU_school() 156 const BNU_CHUNK_T* pB, cpSize nsB, in cpMul_BNU() argument 160 return cpMul_BNU_school(pR, pA,nsA, pB,nsB); in cpMul_BNU() 188 … cpDiv_BNU(BNU_CHUNK_T* pQ, cpSize* pnsQ, BNU_CHUNK_T* pA, cpSize nsA, BNU_CHUNK_T* pB, cpSize nsB) in cpDiv_BNU() argument [all …]
|
D | pcpbnarithmul.c | 94 cpSize nsB = BN_SIZE(pB); variable 98 cpSize bitSizeB = BITSIZE_BNU(pDataB, nsB); 121 COPY_BNU(bData, pDataB, nsB); 130 cpMul_BNU_school(pDataR, aData, nsA, bData, nsB);
|
D | pcpbnu32misc.h | 68 __INLINE int cpCmp_BNU32(const Ipp32u* pA, cpSize nsA, const Ipp32u* pB, cpSize nsB) in cpCmp_BNU32() argument 70 if(nsA!=nsB) in cpCmp_BNU32() 71 return nsA>nsB? 1 : -1; in cpCmp_BNU32()
|
D | pcpbnu_arith_mul_adc.c | 89 const BNU_CHUNK_T* pB, cpSize nsB) in cpMulAdc_BNU_school() argument 98 ZEXPAND_BNU(pr, 0, nsA+nsB); in cpMulAdc_BNU_school() 100 for(i=0; i<nsB; i++ ) { in cpMulAdc_BNU_school()
|
D | pcpbnarithmac.c | 93 cpSize nsB = BN_SIZE(pB); variable 96 cpSize bitSizeB = BITSIZE_BNU(pDataB, nsB); 122 cpMul_BNU_school(pDataP, pDataA, nsA, pDataB, nsB);
|
D | pcpbnu_arith_minv.c | 71 const BNU_CHUNK_T* pB, cpSize nsB) in cpMac_BNU() argument 74 ZEXPAND_BNU(pR, nsR, nsA+nsB-1); in cpMac_BNU() 80 for(i=0; i<nsB && !expansion; i++) { in cpMac_BNU()
|
D | pcpbnumisc.h | 143 __INLINE int cpCmp_BNU(const BNU_CHUNK_T* pA, cpSize nsA, const BNU_CHUNK_T* pB, cpSize nsB) in cpCmp_BNU() argument 145 if(nsA!=nsB) in cpCmp_BNU() 146 return nsA>nsB? 1 : -1; in cpCmp_BNU()
|
D | pcpbnarithdiv.c | 105 cpSize nsB = BN_SIZE(pB); variable 112 nsR = cpDiv_BNU(pDataQ, &nsQ, pDataA, nsA, pDataB, nsB);
|
D | pcpmontgomery.h | 111 const BNU_CHUNK_T* pB, cpSize nsB, in cpMontMul_BNU_EX() argument 121 ZEXPAND_COPY_BNU(pDataR, nsM, pB, nsB); in cpMontMul_BNU_EX()
|