Home
last modified time | relevance | path

Searched refs:pOrder (Results 1 – 23 of 23) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpecgetsubgroup.c87 IppsBigNumState* pOrder,
116 if(pOrder) {
122 pOrder = (IppsBigNumState*)( IPP_ALIGNED_PTR(pOrder, BN_ALIGNMENT) );
123 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
124 IPP_BADARG_RET(BN_ROOM(pOrder) < orderLen, ippStsLengthErr);
126 ZEXPAND_COPY_BNU(BN_NUMBER(pOrder), BN_ROOM(pOrder), pOrderData, orderLen);
127 BN_SIZE(pOrder) = orderLen;
128 BN_SIGN(pOrder) = ippBigNumPOS;
Dpcpgfpecsetsubgroup.c93 const IppsBigNumState* pOrder,
105 IPP_BAD_PTR2_RET(pOrder, pCofactor);
106 pOrder = (IppsBigNumState*)( IPP_ALIGNED_PTR(pOrder, BN_ALIGNMENT) );
107 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
108 IPP_BADARG_RET(BN_SIGN(pOrder)!= IppsBigNumPOS, ippStsBadArgErr);
125 BNU_CHUNK_T* pOrderData = BN_NUMBER(pOrder);
126 int orderLen= BN_SIZE(pOrder);
Dpcpeccpset.c102 const IppsBigNumState* pOrder, int cofactor,
127 IPP_BAD_PTR3_RET(pGX,pGY, pOrder);
130 pOrder = (IppsBigNumState*)( IPP_ALIGNED_PTR(pOrder, ALIGN_VAL) );
133 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
136 IPP_BADARG_RET((cpBN_bitsize(pOrder)>ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
147 BN_SIZE(pOrder), BN_NUMBER(pOrder),
Dpcpeccpget.c100 IppsBigNumState* pOrder, int* cofactor,
131 IPP_BAD_PTR3_RET(pGX,pGY, pOrder);
134 pOrder= (IppsBigNumState*)( IPP_ALIGNED_PTR(pOrder,ALIGN_VAL) );
137 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
140 IPP_BADARG_RET((BN_ROOM(pOrder)*BITSIZE(BNU_CHUNK_T)<ECP_ORDBITSIZE(pEC)), ippStsRangeErr);
164 …BN(ippBigNumPOS, MOD_LEN(pR)*sizeof(BNU_CHUNK_T)/sizeof(Ipp32u), (Ipp32u*)MOD_MODULUS(pR), pOrder);
Dpcpeccpverifynrca.c99 BNU_CHUNK_T* pOrder; variable
111 pOrder = MOD_MODULUS(pModEngine);
122 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, orderLen), ippStsMessageErr);
152 0>cpCmp_BNU(BN_NUMBER(pSignX),BN_SIZE(pSignX), pOrder,orderLen) &&
153 0>cpCmp_BNU(BN_NUMBER(pSignY),BN_SIZE(pSignY), pOrder,orderLen)) {
174 elmLen = cpMod_BNU(pH1, elmLen, pOrder, orderLen);
178 cpModSub_BNU(pH1, pH2, pH1, pOrder, orderLen, pF);
Dpcpeccpverifysm2ca.c136 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
143 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, orderLen), ippStsMessageErr);
148 0>cpCmp_BNU(BN_NUMBER(pSignR), BN_SIZE(pSignR), pOrder, orderLen) &&
149 0>cpCmp_BNU(BN_NUMBER(pSignS), BN_SIZE(pSignS), pOrder, orderLen)) {
164 cpModAdd_BNU(t, r, s, pOrder, orderLen, f);
178 ns = cpMod_BNU(t, elmLen, pOrder, orderLen);
185 cpModAdd_BNU(t, t, f, pOrder, orderLen, f);
Dpcpgfpecsignnr.c151 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
170 0<=cpCmp_BNU(pPriData, priLen, pOrder, ordLen), ippStsIvalidPrivateKey);
172 0<=cpCmp_BNU(pEphData, ephLen, pOrder, ordLen), ippStsEphemeralKeyErr);
175 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
193 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
201 cpModAdd_BNU(dataC, dataC, buffF, pOrder, ordLen, dataD);
210 cpModSub_BNU(dataD, buffF, dataD, pOrder, ordLen, buffT);
Dpcpgfpecsigndsa.c152 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
171 0<=cpCmp_BNU(pPriData, priLen, pOrder, ordLen), ippStsIvalidPrivateKey);
173 0<=cpCmp_BNU(pEphData, ephLen, pOrder, ordLen), ippStsEphemeralKeyErr);
176 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
196 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
210 ns = cpMod_BNU(buffMsg, msgLen, pOrder, ordLen);
222 cpModAdd_BNU(dataD, dataD, buffF, pOrder, ordLen, buffT);
Dpcpgfpecverifynr.c141 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
145 …IPP_BADARG_RET((0<=cpCmp_BNU(BN_NUMBER(pMsgDigest), BN_SIZE(pMsgDigest), pOrder, orderLen)), ippSt…
150 0>cpCmp_BNU(BN_NUMBER(pSignR), BN_SIZE(pSignR), pOrder, orderLen) &&
151 0>cpCmp_BNU(BN_NUMBER(pSignS), BN_SIZE(pSignS), pOrder, orderLen)) {
174 elmLen = cpMod_BNU(h1, elmLen, pOrder, orderLen);
179 cpModSub_BNU(h1, h2, h1, pOrder, orderLen, h2);
Dpcpeccpsignnrca.c136 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
147 0<=cpCmp_BNU(pPriData, priLen, pOrder, ordLen), ippStsIvalidPrivateKey);
149 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
170 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
177 cpModAdd_BNU(dataC, dataC, buffF, pOrder, ordLen, dataD);
185 cpModSub_BNU(dataD, ECP_PRIVAT_E(pEC), dataD, pOrder, ordLen, buffF);
Dpcpeccpverifydsaca.c123 BNU_CHUNK_T* pOrder = MOD_MODULUS(pModEngine); variable
127 …IPP_BADARG_RET(0<=cpCmp_BNU(BN_NUMBER(pMsgDigest), BN_SIZE(pMsgDigest), pOrder, orderLen), ippStsM…
132 0>cpCmp_BNU(BN_NUMBER(pSignX), BN_SIZE(pSignX), pOrder, orderLen) &&
133 0>cpCmp_BNU(BN_NUMBER(pSignY), BN_SIZE(pSignY), pOrder, orderLen)) {
153 BN_Set(pOrder, orderLen, &R);
182 elmLen = cpMod_BNU(h1, elmLen, pOrder, orderLen);
Dpcpgfpecverifydsa.c141 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
145 …IPP_BADARG_RET((0<=cpCmp_BNU(BN_NUMBER(pMsgDigest), BN_SIZE(pMsgDigest), pOrder, orderLen)), ippSt…
150 0>cpCmp_BNU(BN_NUMBER(pSignR), BN_SIZE(pSignR), pOrder, orderLen) &&
151 0>cpCmp_BNU(BN_NUMBER(pSignS), BN_SIZE(pSignS), pOrder, orderLen)) {
185 elmLen = cpMod_BNU(h1, elmLen, pOrder, orderLen);
Dpcpeccpsigndsaca.c136 BNU_CHUNK_T* pOrder = MOD_MODULUS(pMontR); variable
147 0<=cpCmp_BNU(pPriData, priLen, pOrder, ordLen), ippStsIvalidPrivateKey);
149 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, ordLen), ippStsMessageErr);
173 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
194 cpModAdd_BNU(dataD, dataD, buffF, pOrder, ordLen, buffT);
Dpcpgfpecpublickey.c107 BNU_CHUNK_T* pOrder = MOD_MODULUS(ECP_MONT_R(pEC)); variable
111 || 0<=cpCmp_BNU(pS, nsS, pOrder, orderLen), ippStsIvalidPrivateKey);
Dpcpgfpecprivatekey.c95 BNU_CHUNK_T* pOrder = MOD_MODULUS(ECP_MONT_R(pEC)); variable
110 (0 <= cpCmp_BNU(pX, nsX, pOrder, orderLen)) );
Dpcpgfpeckeys.c107 BNU_CHUNK_T* pOrder = MOD_MODULUS(ECP_MONT_R(pEC)); variable
111 if(cpEqu_BNU_CHUNK(pS, nsS, 0) || 0<=cpCmp_BNU(pS, nsS, pOrder, orderLen)) {
Dpcpeccpgenkeyca.c104 BNU_CHUNK_T* pOrder = MOD_MODULUS(pModEngine); variable
119 (0 <= cpCmp_BNU(pX, nsX, pOrder, orderLen)) );
Dpcpgfpecverify.c157 BNU_CHUNK_T* pOrder = MOD_MODULUS(pR); variable
160 … *pResult = (primeLen==orderLen && GFP_EQ(pPrime, pOrder, primeLen))? ippECIsWeakSSSA : ippECValid;
/external/epid-sdk/ext/ipp/include/
Dippcp.h937 … const IppsBigNumState* pGX,const IppsBigNumState* pGY,const IppsBigNumState* pOrder,
959 IppsBigNumState* pGX,IppsBigNumState* pGY,IppsBigNumState* pOrder,
1117 const IppsBigNumState* pOrder,
1143 IppsBigNumState* pOrder,IppsBigNumState* pCofactor,
/external/sqlite/dist/orig/
Dshell.c5991 IdxConstraint *pOrder; /* ORDER BY columns */ member
6418 pNew->pNext = pScan->pOrder; in expertBestIndex()
6419 pNew->pLink = pScan->pOrder; in expertBestIndex()
6420 pScan->pOrder = pNew; in expertBestIndex()
6951 if( rc==SQLITE_OK && pIter->pOrder ){ in idxCreateCandidates()
6952 rc = idxCreateFromWhere(p, pIter, pIter->pOrder); in idxCreateCandidates()
6981 idxConstraintFree(p->pOrder); in idxScanFree()
Dsqlite3.c150453 struct sqlite3_index_orderby *pOrder = &pInfo->aOrderBy[0];
150454 if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){
150455 if( pOrder->desc ){
/external/sqlite/dist/
Dshell.c5997 IdxConstraint *pOrder; /* ORDER BY columns */ member
6424 pNew->pNext = pScan->pOrder; in expertBestIndex()
6425 pNew->pLink = pScan->pOrder; in expertBestIndex()
6426 pScan->pOrder = pNew; in expertBestIndex()
6957 if( rc==SQLITE_OK && pIter->pOrder ){ in idxCreateCandidates()
6958 rc = idxCreateFromWhere(p, pIter, pIter->pOrder); in idxCreateCandidates()
6987 idxConstraintFree(p->pOrder); in idxScanFree()
Dsqlite3.c150469 struct sqlite3_index_orderby *pOrder = &pInfo->aOrderBy[0];
150470 if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){
150471 if( pOrder->desc ){