Searched refs:BN_ROOM (Results 1 – 25 of 33) sorted by relevance
12
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpbn.h | 78 #define BN_ROOM(pBN) ((pBN)->room) macro 101 ZEXPAND_COPY_BNU(BN_NUMBER(pDst), BN_ROOM(pDst), BN_NUMBER(pSrc), BN_SIZE(pSrc)); in cpBN_copy() 109 ZEXPAND_BNU(BN_NUMBER(pBN),0, (int)BN_ROOM(pBN)); in cpBN_zero() 125 ZEXPAND_BNU(BN_NUMBER(pBN),0, (int)BN_ROOM(pBN)); in cpBN_chunk() 133 if(BN_ROOM(pBN) >= size) { in cpBN_power2() 136 ZEXPAND_BNU(BN_NUMBER(pBN),0, BN_ROOM(pBN)); in cpBN_power2() 187 ZEXPAND_BNU(BN_NUMBER(pBN),0, BN_ROOM(pBN)); in BN_Word() 195 ZEXPAND_COPY_BNU(BN_NUMBER(pBN), BN_ROOM(pBN), pData, len); in BN_Set() 203 BN_ROOM(pBN) = len; in BN_Make()
|
D | pcpeccpget.c | 119 IPP_BADARG_RET(BN_ROOM(pPrime)<GFP_FELEN(pGFE), ippStsRangeErr); 127 IPP_BADARG_RET(BN_ROOM(pA)<GFP_FELEN(pGFE), ippStsRangeErr); 128 IPP_BADARG_RET(BN_ROOM(pB)<GFP_FELEN(pGFE), ippStsRangeErr); 138 IPP_BADARG_RET(BN_ROOM(pGX)<GFP_FELEN(pGFE), ippStsRangeErr); 139 IPP_BADARG_RET(BN_ROOM(pGY)<GFP_FELEN(pGFE), ippStsRangeErr); 140 IPP_BADARG_RET((BN_ROOM(pOrder)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
|
D | pcpgfpecgetsubgroup.c | 124 IPP_BADARG_RET(BN_ROOM(pOrder) < orderLen, ippStsLengthErr); 126 ZEXPAND_COPY_BNU(BN_NUMBER(pOrder), BN_ROOM(pOrder), pOrderData, orderLen); 138 IPP_BADARG_RET(BN_ROOM(pCofactor) < cofactorLen, ippStsLengthErr); 140 ZEXPAND_COPY_BNU(BN_NUMBER(pCofactor), BN_ROOM(pCofactor), pCofactorData, cofactorLen);
|
D | pcpbn_unpack.c | 74 …)pAlignedBuffer+IPP_UINT_PTR(BN_NUMBER(pAlignedBuffer)), BN_NUMBER(pBN), BN_ROOM(pBN)*sizeof(BNU_C… in cpUnpackBigNumCtx() 75 …)pAlignedBuffer+IPP_UINT_PTR(BN_BUFFER(pAlignedBuffer)), BN_BUFFER(pBN), BN_ROOM(pBN)*sizeof(BNU_C… in cpUnpackBigNumCtx()
|
D | pcpbnsetwords.c | 90 IPP_BADARG_RET(len > BN_ROOM(pBN), ippStsOutOfRangeErr); 92 …ZEXPAND_COPY_BNU((Ipp32u*)BN_NUMBER(pBN), BN_ROOM(pBN)*(int)(sizeof(BNU_CHUNK_T)/sizeof(Ipp32u)), …
|
D | pcpbn_pack.c | 72 …ER(pBN), (Ipp8u*)pAlignedBuffer+IPP_UINT_PTR(BN_NUMBER(pAlignedBuffer)), BN_ROOM(pBN)*sizeof(BNU_C… in cpPackBigNumCtx() 73 …ER(pBN), (Ipp8u*)pAlignedBuffer+IPP_UINT_PTR(BN_BUFFER(pAlignedBuffer)), BN_ROOM(pBN)*sizeof(BNU_C… in cpPackBigNumCtx()
|
D | pcpgfpecgetpointreg.c | 104 IPP_BADARG_RET(BN_ROOM(pX)*BNU_CHUNK_BITS<GFP_FEBITLEN(pGFE), ippStsOutOfRangeErr); 109 IPP_BADARG_RET(BN_ROOM(pY)*BNU_CHUNK_BITS<GFP_FEBITLEN(pGFE), ippStsOutOfRangeErr);
|
D | pcpbnarithgcd.c | 89 IPP_BADARG_RET(BN_ROOM(pGCD) < IPP_MIN(BN_SIZE(pA), BN_SIZE(pB)), ippStsOutOfRangeErr); 143 cpSize nsXmax = BN_ROOM(x)*(sizeof(BNU_CHUNK_T)/sizeof(Ipp32u)); 144 cpSize nsYmax = BN_ROOM(y)*(sizeof(BNU_CHUNK_T)/sizeof(Ipp32u)); 145 cpSize nsGmax = BN_ROOM(g)*(sizeof(BNU_CHUNK_T)/sizeof(Ipp32u));
|
D | pcpgfpecdh.c | 117 IPP_BADARG_RET((BN_ROOM(pShare)<GFP_FELEN(pGFE)), ippStsRangeErr); 136 int nsShare = BN_ROOM(pShare);
|
D | pcpbnarithdiv.c | 98 IPP_BADARG_RET(BN_ROOM(pR)<BN_SIZE(pB), ippStsOutOfRangeErr); 99 IPP_BADARG_RET((int)BN_ROOM(pQ)<(int)(BN_SIZE(pA)-BN_SIZE(pB)), ippStsOutOfRangeErr);
|
D | pcpbnarithmul.c | 95 cpSize nsR = BN_ROOM(pR); 134 IPP_BADARG_RET(nsR>BN_ROOM(pR), ippStsOutOfRangeErr);
|
D | pcpbnarithmac.c | 103 IPP_BADARG_RET(BN_ROOM(pR)<nsP, ippStsOutOfRangeErr); 109 cpSize room = BN_ROOM(pR);
|
D | pcpgfpecdhc.c | 114 IPP_BADARG_RET((BN_ROOM(pShare)<GFP_FELEN(pGFE)), ippStsRangeErr); 148 int nsShare = BN_ROOM(pShare);
|
D | pcpeccpsignnrca.c | 131 IPP_BADARG_RET((BN_ROOM(pSignX)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr); 132 IPP_BADARG_RET((BN_ROOM(pSignY)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
|
D | pcpeccpsigndsaca.c | 131 IPP_BADARG_RET((BN_ROOM(pSignX)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr); 132 IPP_BADARG_RET((BN_ROOM(pSignY)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
|
D | pcpgfpecsignnr.c | 135 IPP_BADARG_RET((BN_ROOM(pSignR)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr); 136 IPP_BADARG_RET((BN_ROOM(pSignS)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
|
D | pcpgfpecsigndsa.c | 136 IPP_BADARG_RET((BN_ROOM(pSignR)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr); 137 IPP_BADARG_RET((BN_ROOM(pSignS)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
|
D | pcpbngetlen.c | 79 *pSize = BN_ROOM(pBN)*sizeof(BNU_CHUNK_T)/sizeof(Ipp32u);
|
D | pcpbnsetoctstr.c | 97 IPP_BADARG_RET((int)(sizeof(BNU_CHUNK_T)*BN_ROOM(pBN))<strLen, ippStsSizeErr);
|
D | pcpbninit.c | 87 BN_ROOM(pBN) = len; /* close to what has been passed by user */
|
D | pcpprngen_bn.c | 97 IPP_BADARG_RET(nBits> BN_ROOM(pRand)*BNU_CHUNK_BITS, ippStsLengthErr);
|
D | pcpprngenhw_bn.c | 90 IPP_BADARG_RET(nBits> BN_ROOM(pRand)*BNU_CHUNK_BITS, ippStsLengthErr);
|
D | pcpmontexp.c | 100 IPP_BADARG_RET(BN_ROOM(pR) < MOD_LEN( MNT_ENGINE(pCtx) ), ippStsOutOfRangeErr);
|
D | pcpgfpecprivatekey.c | 91 IPP_BADARG_RET((BN_ROOM(pPrivate)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsSizeErr);
|
D | pcpbnarithminv.c | 92 IPP_BADARG_RET(BN_ROOM(pInv) < BN_SIZE(pM), ippStsOutOfRangeErr);
|
12