Home
last modified time | relevance | path

Searched refs:IPP_BADARG_RET (Results 1 – 25 of 194) sorted by relevance

12345678

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpeccpset.c109 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
114 IPP_BADARG_RET(!BN_VALID_ID(pPrime), ippStsContextMatchErr);
115 IPP_BADARG_RET((cpBN_bitsize(pPrime)>GFP_FEBITLEN(GFP_PMA(ECP_GFP(pEC)))), ippStsRangeErr);
121 IPP_BADARG_RET(!BN_VALID_ID(pA), ippStsContextMatchErr);
122 IPP_BADARG_RET(!BN_VALID_ID(pB), ippStsContextMatchErr);
123 IPP_BADARG_RET(BN_NEGATIVE(pA) || 0<=cpBN_cmp(pA,pPrime), ippStsRangeErr);
124 IPP_BADARG_RET(BN_NEGATIVE(pB) || 0<=cpBN_cmp(pB,pPrime), ippStsRangeErr);
131 IPP_BADARG_RET(!BN_VALID_ID(pGX), ippStsContextMatchErr);
132 IPP_BADARG_RET(!BN_VALID_ID(pGY), ippStsContextMatchErr);
133 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
[all …]
Dpcpgfpecsignnr.c116 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
117 IPP_BADARG_RET(!ECP_SUBGROUP(pEC), ippStsContextMatchErr);
121 IPP_BADARG_RET(1<GFP_EXTDEGREE(pMontP), ippStsNotSupportedModeErr);
126 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
127 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
133 IPP_BADARG_RET(!BN_VALID_ID(pSignR), ippStsContextMatchErr);
134 IPP_BADARG_RET(!BN_VALID_ID(pSignS), ippStsContextMatchErr);
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);
142 IPP_BADARG_RET(!BN_VALID_ID(pRegPrivate), ippStsContextMatchErr);
[all …]
Dpcpgfpecsigndsa.c117 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
118 IPP_BADARG_RET(!ECP_SUBGROUP(pEC), ippStsContextMatchErr);
122 IPP_BADARG_RET(1<GFP_EXTDEGREE(pMontP), ippStsNotSupportedModeErr);
127 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
128 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
134 IPP_BADARG_RET(!BN_VALID_ID(pSignR), ippStsContextMatchErr);
135 IPP_BADARG_RET(!BN_VALID_ID(pSignS), ippStsContextMatchErr);
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);
143 IPP_BADARG_RET(!BN_VALID_ID(pRegPrivate), ippStsContextMatchErr);
[all …]
Dpcpeccpget.c110 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
118 IPP_BADARG_RET(!BN_VALID_ID(pPrime), ippStsContextMatchErr);
119 IPP_BADARG_RET(BN_ROOM(pPrime)<GFP_FELEN(pGFE), ippStsRangeErr);
125 IPP_BADARG_RET(!BN_VALID_ID(pA), ippStsContextMatchErr);
126 IPP_BADARG_RET(!BN_VALID_ID(pB), ippStsContextMatchErr);
127 IPP_BADARG_RET(BN_ROOM(pA)<GFP_FELEN(pGFE), ippStsRangeErr);
128 IPP_BADARG_RET(BN_ROOM(pB)<GFP_FELEN(pGFE), ippStsRangeErr);
135 IPP_BADARG_RET(!BN_VALID_ID(pGX), ippStsContextMatchErr);
136 IPP_BADARG_RET(!BN_VALID_ID(pGY), ippStsContextMatchErr);
137 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
[all …]
Dpcpgfpinit.c88 IPP_BADARG_RET(!pPrimeBN && !pGFpMethod, ippStsNullPtrErr);
90IPP_BADARG_RET((primeBitSize< IPP_MIN_GF_BITSIZE) || (primeBitSize> IPP_MAX_GF_BITSIZE), ippStsSiz…
106 IPP_BADARG_RET(!BN_VALID_ID(pPrimeBN), ippStsContextMatchErr);
107IPP_BADARG_RET(BN_SIGN(pPrimeBN)!= IppsBigNumPOS, ippStsBadArgErr); …
108IPP_BADARG_RET(BITSIZE_BNU(BN_NUMBER(pPrimeBN),BN_SIZE(pPrimeBN)) != primeBitSize, ippStsBadArgErr…
109IPP_BADARG_RET((BN_SIZE(pPrimeBN)==1) && (BN_NUMBER(pPrimeBN)[0]<IPP_MIN_GF_CHAR), ippStsBadArgErr…
110IPP_BADARG_RET(0==(BN_NUMBER(pPrimeBN)[0] & 1), ippStsBadArgErr); …
113 IPP_BADARG_RET(cpID_Prime!=(pGFpMethod->modulusID & cpID_Prime), ippStsBadArgErr);
116IPP_BADARG_RET(pGFpMethod->modulusBitDeg && (primeBitSize!=pGFpMethod->modulusBitDeg), ippStsBadAr…
121IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pPrimeBN), primeLen, pGFpMethod->modulus, primeLen), ippStsBadA…
Dpcpgfpecsetsubgroup.c99 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
102 IPP_BADARG_RET( !GFPE_TEST_ID(pX), ippStsContextMatchErr );
103 IPP_BADARG_RET( !GFPE_TEST_ID(pY), ippStsContextMatchErr );
107 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
108 IPP_BADARG_RET(BN_SIGN(pOrder)!= IppsBigNumPOS, ippStsBadArgErr);
111 IPP_BADARG_RET(!BN_VALID_ID(pCofactor), ippStsContextMatchErr);
112 IPP_BADARG_RET(BN_SIGN(pCofactor)!= IppsBigNumPOS, ippStsBadArgErr);
118 IPP_BADARG_RET( GFPE_ROOM(pX)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
119 IPP_BADARG_RET( GFPE_ROOM(pY)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
128 IPP_BADARG_RET(orderBitSize>maxOrderBits, ippStsRangeErr)
[all …]
Dpcpgfpecsetpointreg.c93 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
94 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pPoint), ippStsContextMatchErr );
99 IPP_BADARG_RET( !BN_VALID_ID(pX), ippStsContextMatchErr );
100 IPP_BADARG_RET( !BN_VALID_ID(pY), ippStsContextMatchErr );
101 IPP_BADARG_RET( !BN_POSITIVE(pX), ippStsOutOfRangeErr);
102 IPP_BADARG_RET( !BN_POSITIVE(pY), ippStsOutOfRangeErr);
109 IPP_BADARG_RET( !GFP_IS_BASIC(pGFE), ippStsBadArgErr )
111 IPP_BADARG_RET( BN_SIZE(pX) > elemLen, ippStsOutOfRangeErr);
112 IPP_BADARG_RET( BN_SIZE(pY) > elemLen, ippStsOutOfRangeErr);
113 IPP_BADARG_RET( ECP_POINT_FELEN(pPoint)!=elemLen, ippStsOutOfRangeErr);
Dpcpgfpecmulpoint.c101 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
102 IPP_BADARG_RET(!ECP_SUBGROUP(pEC), ippStsContextMatchErr);
104 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pP), ippStsContextMatchErr );
105 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pR), ippStsContextMatchErr );
107 IPP_BADARG_RET( ECP_POINT_FELEN(pP)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
108 IPP_BADARG_RET( ECP_POINT_FELEN(pR)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
112 IPP_BADARG_RET(!BN_VALID_ID(pN), ippStsContextMatchErr );
113 IPP_BADARG_RET( BN_NEGATIVE(pN), ippStsBadArgErr );
118IPP_BADARG_RET(0<cpCmp_BNU(pScalar, scalarLen, MOD_MODULUS(ECP_MONT_R(pEC)), MOD_LEN(ECP_MONT_R(pE…
Dpcpgfpecgetsubgroup.c93 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
94 IPP_BADARG_RET(!ECP_SUBGROUP(pEC), ippStsContextMatchErr);
106 IPP_BADARG_RET( !GFPE_TEST_ID(pX), ippStsContextMatchErr );
107 IPP_BADARG_RET( GFPE_ROOM(pX)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
111 IPP_BADARG_RET( !GFPE_TEST_ID(pY), ippStsContextMatchErr );
112 IPP_BADARG_RET( GFPE_ROOM(pY)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
123 IPP_BADARG_RET(!BN_VALID_ID(pOrder), ippStsContextMatchErr);
124 IPP_BADARG_RET(BN_ROOM(pOrder) < orderLen, ippStsLengthErr);
137 IPP_BADARG_RET(!BN_VALID_ID(pCofactor), ippStsContextMatchErr);
138 IPP_BADARG_RET(BN_ROOM(pCofactor) < cofactorLen, ippStsLengthErr);
Dpcpgfpecverifynr.c107 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
108 IPP_BADARG_RET(!ECP_SUBGROUP(pEC), ippStsContextMatchErr);
112 IPP_BADARG_RET(1<GFP_EXTDEGREE(pGFE), ippStsNotSupportedModeErr);
117 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
118 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
122 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pRegPublic), ippStsContextMatchErr );
123 IPP_BADARG_RET( ECP_POINT_FELEN(pRegPublic)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
129 IPP_BADARG_RET(!BN_VALID_ID(pSignR), ippStsContextMatchErr);
130 IPP_BADARG_RET(!BN_VALID_ID(pSignS), ippStsContextMatchErr);
131 IPP_BADARG_RET(BN_NEGATIVE(pSignR), ippStsRangeErr);
[all …]
Dpcpgfpecverifydsa.c107 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
108 IPP_BADARG_RET(!ECP_SUBGROUP(pEC), ippStsContextMatchErr);
112 IPP_BADARG_RET(1<GFP_EXTDEGREE(pGFE), ippStsNotSupportedModeErr);
117 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
118 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
122 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pRegPublic), ippStsContextMatchErr );
123 IPP_BADARG_RET( ECP_POINT_FELEN(pRegPublic)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
129 IPP_BADARG_RET(!BN_VALID_ID(pSignR), ippStsContextMatchErr);
130 IPP_BADARG_RET(!BN_VALID_ID(pSignS), ippStsContextMatchErr);
131 IPP_BADARG_RET(BN_NEGATIVE(pSignR), ippStsRangeErr);
[all …]
Dpcpmontexp.c95 IPP_BADARG_RET(!MNT_VALID_ID(pCtx), ippStsContextMatchErr);
96 IPP_BADARG_RET(!BN_VALID_ID(pA), ippStsContextMatchErr);
97 IPP_BADARG_RET(!BN_VALID_ID(pE), ippStsContextMatchErr);
98 IPP_BADARG_RET(!BN_VALID_ID(pR), ippStsContextMatchErr);
100 IPP_BADARG_RET(BN_ROOM(pR) < MOD_LEN( MNT_ENGINE(pCtx) ), ippStsOutOfRangeErr);
102 IPP_BADARG_RET(BN_NEGATIVE(pA), ippStsBadArgErr);
103IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
105 IPP_BADARG_RET(BN_NEGATIVE(pE), ippStsBadArgErr);
Dpcpeccpsignnrca.c111 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
116 IPP_BADARG_RET(!BN_VALID_ID(pPrivate), ippStsContextMatchErr);
117 IPP_BADARG_RET(BN_NEGATIVE(pPrivate), ippStsIvalidPrivateKey);
122 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
123 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
129 IPP_BADARG_RET(!BN_VALID_ID(pSignX), ippStsContextMatchErr);
130 IPP_BADARG_RET(!BN_VALID_ID(pSignY), ippStsContextMatchErr);
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);
146 IPP_BADARG_RET(cpEqu_BNU_CHUNK(pPriData, priLen, 0) ||
[all …]
Dpcpeccpsigndsaca.c111 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
116 IPP_BADARG_RET(!BN_VALID_ID(pPrivate), ippStsContextMatchErr);
117 IPP_BADARG_RET(BN_NEGATIVE(pPrivate), ippStsIvalidPrivateKey);
122 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
123 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
129 IPP_BADARG_RET(!BN_VALID_ID(pSignX), ippStsContextMatchErr);
130 IPP_BADARG_RET(!BN_VALID_ID(pSignY), ippStsContextMatchErr);
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);
146 IPP_BADARG_RET(cpEqu_BNU_CHUNK(pPriData, priLen, 0) ||
[all …]
Dpcpgfpmulpe.c94 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr );
95 IPP_BADARG_RET( !GFPE_TEST_ID(pA), ippStsContextMatchErr );
96 IPP_BADARG_RET( !GFPE_TEST_ID(pParentB), ippStsContextMatchErr );
97 IPP_BADARG_RET( !GFPE_TEST_ID(pR), ippStsContextMatchErr );
100 IPP_BADARG_RET( GFP_IS_BASIC(pGFE), ippStsBadArgErr )
101IPP_BADARG_RET( (GFPE_ROOM(pA)!=GFP_FELEN(pGFE)) || (GFPE_ROOM(pR)!=GFP_FELEN(pGFE)), ippStsOutOfR…
102 IPP_BADARG_RET( (GFPE_ROOM(pParentB)!=GFP_FELEN(GFP_PARENT(pGFE))), ippStsOutOfRangeErr);
Dpcpgfpaddpe.c92 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr );
93 IPP_BADARG_RET( !GFPE_TEST_ID(pA), ippStsContextMatchErr );
94 IPP_BADARG_RET( !GFPE_TEST_ID(pParentB), ippStsContextMatchErr );
95 IPP_BADARG_RET( !GFPE_TEST_ID(pR), ippStsContextMatchErr );
98 IPP_BADARG_RET( GFP_IS_BASIC(pGFE), ippStsBadArgErr )
99IPP_BADARG_RET( (GFPE_ROOM(pA)!=GFP_FELEN(pGFE)) || (GFPE_ROOM(pR)!=GFP_FELEN(pGFE)), ippStsOutOfR…
100 IPP_BADARG_RET( (GFPE_ROOM(pParentB)!=GFP_FELEN(GFP_PARENT(pGFE))), ippStsOutOfRangeErr);
Dpcpgfpsubpe.c91 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr );
92 IPP_BADARG_RET( !GFPE_TEST_ID(pA), ippStsContextMatchErr );
93 IPP_BADARG_RET( !GFPE_TEST_ID(pParentB), ippStsContextMatchErr );
94 IPP_BADARG_RET( !GFPE_TEST_ID(pR), ippStsContextMatchErr );
97 IPP_BADARG_RET( GFP_IS_BASIC(pGFE), ippStsBadArgErr )
98IPP_BADARG_RET( (GFPE_ROOM(pA)!=GFP_FELEN(pGFE)) || (GFPE_ROOM(pR)!=GFP_FELEN(pGFE)), ippStsOutOfR…
99 IPP_BADARG_RET( (GFPE_ROOM(pParentB)!=GFP_FELEN(GFP_PARENT(pGFE))), ippStsOutOfRangeErr);
Dpcpgfpecaddpoint.c93 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
94 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pP), ippStsContextMatchErr );
95 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pQ), ippStsContextMatchErr );
96 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pR), ippStsContextMatchErr );
98 IPP_BADARG_RET( ECP_POINT_FELEN(pP)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
99 IPP_BADARG_RET( ECP_POINT_FELEN(pQ)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
100 IPP_BADARG_RET( ECP_POINT_FELEN(pR)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
Dpcpgfpecgetpoint.c96 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
97 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pPoint), ippStsContextMatchErr );
99 IPP_BADARG_RET( pX && !GFPE_TEST_ID(pX), ippStsContextMatchErr );
100 IPP_BADARG_RET( pY && !GFPE_TEST_ID(pY), ippStsContextMatchErr );
102 IPP_BADARG_RET( pX && GFPE_ROOM(pX)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
103 IPP_BADARG_RET( pY && GFPE_ROOM(pY)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
104 IPP_BADARG_RET( ECP_POINT_FELEN(pPoint)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
Dpcpgfpecsetpoint.c93 IPP_BADARG_RET( !ECP_TEST_ID(pEC), ippStsContextMatchErr );
94 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pPoint), ippStsContextMatchErr );
97 IPP_BADARG_RET( !GFPE_TEST_ID(pX), ippStsContextMatchErr );
98 IPP_BADARG_RET( !GFPE_TEST_ID(pY), ippStsContextMatchErr );
100 IPP_BADARG_RET( GFPE_ROOM(pX)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
101 IPP_BADARG_RET( GFPE_ROOM(pY)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
102 IPP_BADARG_RET( ECP_POINT_FELEN(pPoint)!=GFP_FELEN(GFP_PMA(ECP_GFP(pEC))), ippStsOutOfRangeErr);
Dpcpeccpverifysm2ca.c104 IPP_BADARG_RET(!ECP_TEST_ID(pEC), ippStsContextMatchErr);
112 IPP_BADARG_RET(!BN_VALID_ID(pMsgDigest), ippStsContextMatchErr);
113 IPP_BADARG_RET(BN_NEGATIVE(pMsgDigest), ippStsMessageErr);
117 IPP_BADARG_RET( !ECP_POINT_TEST_ID(pRegPublic), ippStsContextMatchErr );
118 IPP_BADARG_RET( ECP_POINT_FELEN(pRegPublic)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);
127 IPP_BADARG_RET(!BN_VALID_ID(pSignR), ippStsContextMatchErr);
128 IPP_BADARG_RET(!BN_VALID_ID(pSignS), ippStsContextMatchErr);
129 IPP_BADARG_RET(BN_NEGATIVE(pSignR), ippStsRangeErr);
130 IPP_BADARG_RET(BN_NEGATIVE(pSignS), ippStsRangeErr);
143 IPP_BADARG_RET(0<=cpCmp_BNU(pMsgData, msgLen, pOrder, orderLen), ippStsMessageErr);
Dpcpmontmul.c92 IPP_BADARG_RET(!MNT_VALID_ID(pCtx), ippStsContextMatchErr);
93 IPP_BADARG_RET(!BN_VALID_ID(pA), ippStsContextMatchErr);
94 IPP_BADARG_RET(!BN_VALID_ID(pB), ippStsContextMatchErr);
95 IPP_BADARG_RET(!BN_VALID_ID(pR), ippStsContextMatchErr);
97 IPP_BADARG_RET(BN_NEGATIVE(pA) || BN_NEGATIVE(pB), ippStsBadArgErr);
98IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
99IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pB), BN_SIZE(pB), MOD_MODULUS( MNT_ENGINE(pCtx) ), MOD_LEN( MNT…
100 IPP_BADARG_RET(BN_ROOM(pR) < MOD_LEN( MNT_ENGINE(pCtx) ), ippStsOutOfRangeErr);
Dpcpgfpxinit.c99 IPP_BADARG_RET( !GFP_TEST_ID(pGroundGF), ippStsContextMatchErr );
102 IPP_BADARG_RET( extDeg<IPP_MIN_GF_EXTDEG || extDeg>IPP_MAX_GF_EXTDEG, ippStsBadArgErr);
106 IPP_BADARG_RET( 1>nElm || nElm>extDeg, ippStsBadArgErr);
109 IPP_BADARG_RET(cpID_Poly != (pGFpMethod->modulusID & cpID_Poly), ippStsBadArgErr);
111IPP_BADARG_RET(pGFpMethod->modulusBitDeg && (pGFpMethod->modulusBitDeg!=extDeg), ippStsBadArgErr);
124 IPP_BADARG_RET(!GFPE_TEST_ID(pGroundElm), ippStsContextMatchErr);
125 IPP_BADARG_RET(GFPE_ROOM(pGroundElm)!=polyTermlen, ippStsOutOfRangeErr);
Dpcpbnarithminv.c86 IPP_BADARG_RET(!BN_VALID_ID(pA), ippStsContextMatchErr);
88 IPP_BADARG_RET(!BN_VALID_ID(pM), ippStsContextMatchErr);
90 IPP_BADARG_RET(!BN_VALID_ID(pInv), ippStsContextMatchErr);
92 IPP_BADARG_RET(BN_ROOM(pInv) < BN_SIZE(pM), ippStsOutOfRangeErr);
93 IPP_BADARG_RET(BN_NEGATIVE(pA) || (BN_SIZE(pA)==1 && BN_NUMBER(pA)[0]==0), ippStsBadArgErr);
94 IPP_BADARG_RET(BN_NEGATIVE(pM) || (BN_SIZE(pM)==1 && BN_NUMBER(pM)[0]==0), ippStsBadModulusErr);
95IPP_BADARG_RET(cpCmp_BNU(BN_NUMBER(pA), BN_SIZE(pA), BN_NUMBER(pM), BN_SIZE(pM)) >= 0, ippStsScale…
Dpcpgfpsetelemhash.c92 IPP_BADARG_RET(ippHashAlg_Unknown==hashID, ippStsNotSupportedModeErr);
95 IPP_BADARG_RET((msgLen<0), ippStsLengthErr);
96 IPP_BADARG_RET((msgLen && !pMsg), ippStsNullPtrErr);
100 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr);
101 IPP_BADARG_RET( !GFPE_TEST_ID(pElm), ippStsContextMatchErr);
104 IPP_BADARG_RET( !GFP_IS_BASIC(pGFE), ippStsBadArgErr);
105 IPP_BADARG_RET( GFPE_ROOM(pElm)!=GFP_FELEN(pGFE), ippStsOutOfRangeErr);

12345678