/external/epid-sdk/ext/ipp/sources/ippcp/ |
pcpgfpecgetsize.c | 61 // ippStsNullPtrErr NULL == pGFp 64 // ippStsContextMatchErr invalid pGFp->idCtx 69 // pGFp Pointer to the IppsGFpState context of the underlying finite field 74 IPPFUN(IppStatus, ippsGFpECGetSize,(const IppsGFpState* pGFp, int* pSize)) 76 IPP_BAD_PTR2_RET(pGFp, pSize); 77 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 78 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 81 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpelemgetsize.c | 64 // ippStsNullPtrErr pGFp == NULL 66 // ippStsContextMatchErr incorrect pGFp's context id 72 // pGFp Pointer to the context of the finite field. 77 IPPFUN(IppStatus, ippsGFpElementGetSize,(const IppsGFpState* pGFp, int* pElementSize)) 79 IPP_BAD_PTR2_RET(pElementSize, pGFp); 80 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 81 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 84 +GFP_FELEN(GFP_PMA(pGFp))*sizeof(BNU_CHUNK_T);
|
pcpgfpeleminit.c | 64 // ippStsNullPtrErr pGFp == NULL 68 // ippStsContextMatchErr invalid pGFp->idCtx 71 // ippStsSizeErr pA && !(0<=lenA && lenA<GFP_FELEN32(GFP_PMA(pGFp))) 73 // ippStsOutOfRangeErr GFPE_ROOM(pR)!=GFP_FELEN(GFP_PMA(pGFp) 82 // pGFp Pointer to the context of the finite field. 86 IPPFUN(IppStatus, ippsGFpElementInit,(const Ipp32u* pA, int lenA, IppsGFpElement* pR, IppsGFpState* pGFp)) 88 IPP_BAD_PTR2_RET(pR, pGFp); 89 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 90 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ) [all...] |
pcpgfpbufsize.c | 63 // ippStsNullPtrErr pGFp == NULL 65 // ippStsContextMatchErr incorrect pGFp's context id 73 // pGFp Pointer to the context of the finite field. 78 IPPFUN(IppStatus, ippsGFpScratchBufferSize,(int nExponents, int ExpBitSize, const IppsGFpState* pGFp, int* pBufferSize)) 80 IPP_BAD_PTR2_RET(pGFp, pBufferSize); 81 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 82 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 88 int elmDataSize = GFP_FELEN(GFP_PMA(pGFp))*sizeof(BNU_CHUNK_T);
|
pcpgfpconj.c | 63 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 80 // pGFp Pointer to the context of the finite field. 85 IppsGFpElement* pR, IppsGFpState* pGFp)) 87 IPP_BAD_PTR3_RET(pA, pR, pGFp); 88 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 89 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 93 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpcpyelem.c | 64 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 79 // pGFp pointer to Finite Field context 82 IPPFUN(IppStatus, ippsGFpCpyElement, (const IppsGFpElement* pA, IppsGFpElement* pR, IppsGFpState* pGFp)) 84 IPP_BAD_PTR3_RET(pA, pR, pGFp); 85 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 86 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 90 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpinitfixed.c | 64 // NULL == pGFp 74 // pGFp pointer to Finite Field context is being initialized 76 IPPFUN(IppStatus, ippsGFpInitFixed,(int primeBitSize, const IppsGFpMethod* pGFpMethod, IppsGFpState* pGFp)) 78 IPP_BAD_PTR2_RET(pGFpMethod, pGFp); 79 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 90 IppStatus sts = cpGFpInitGFp(primeBitSize, pGFp); 94 cpGFpSetGFp(pGFpMethod->modulus, primeBitSize, pGFpMethod, pGFp);
|
pcpgfpiszeroelem.c | 63 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 77 // pGFp Pointer to the context of the finite field. 83 const IppsGFpState* pGFp)) 85 IPP_BAD_PTR3_RET(pA, pResult, pGFp); 86 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 87 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 90 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpneg.c | 63 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 78 // pGFp Pointer to the context of the finite field. 83 IppsGFpElement* pR, IppsGFpState* pGFp)) 85 IPP_BAD_PTR3_RET(pA, pR, pGFp); 86 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 87 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 91 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpsetelemrand.c | 65 // ippStsNullPtrErr NULL == pGFp 69 // ippStsContextMatchErr invalid pGFp->idCtx 80 // pGFp Pointer to the context of the finite field. 84 IPPFUN(IppStatus, ippsGFpSetElementRandom,(IppsGFpElement* pR, IppsGFpState* pGFp, 87 IPP_BAD_PTR3_RET(pR, pGFp, rndFunc); 88 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 89 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 93 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpsqr.c | 64 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 79 // pGFp Pointer to the context of the finite field. 84 IppsGFpElement* pR, IppsGFpState* pGFp)) 86 IPP_BAD_PTR3_RET(pA, pR, pGFp); 87 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 88 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 92 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpsqrt.c | 63 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 75 // ippStsBadArgErr pGFp is not prime 84 // pGFp Pointer to the context of the finite field. 89 IppsGFpElement* pR, IppsGFpState* pGFp)) 91 IPP_BAD_PTR3_RET(pA, pR, pGFp); 92 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 93 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 97 gsModEngine* pGFE = GFP_PMA(pGFp); [all...] |
pcpgfpsetelem.c | 64 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 82 // pGFp pointer to Finite Field context 84 IPPFUN(IppStatus, ippsGFpSetElement,(const Ipp32u* pA, int lenA, IppsGFpElement* pR, IppsGFpState* pGFp)) 86 IPP_BAD_PTR2_RET(pR, pGFp); 87 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 88 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 92 IPP_BADARG_RET( pA && !(0<=lenA && lenA<=GFP_FELEN32(GFP_PMA(pGFp))), ippStsSizeErr ); 93 IPP_BADARG_RET( GFPE_ROOM(pR)!=GFP_FELEN(GFP_PMA(pGFp)), ippStsOutOfRangeErr ) [all...] |
pcpgfpadd.c | 63 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 81 // pGFp Pointer to the context of the finite field. 86 IppsGFpElement* pR, IppsGFpState* pGFp)) 88 IPP_BAD_PTR4_RET(pA, pB, pR, pGFp); 89 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 90 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 95 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpaddpe.c | 63 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 75 // ippStsBadArgErr pGFp does not specify prime field 83 // pGFp Pointer to the context of the finite field. 88 IppsGFpElement* pR, IppsGFpState* pGFp)) 90 IPP_BAD_PTR4_RET(pA, pParentB, pR, pGFp); 91 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 92 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 97 gsModEngine* pGFE = GFP_PMA(pGFp); [all...] |
pcpgfpcmpelem.c | 63 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 80 // pGFp Pointer to the context of the finite field. 86 const IppsGFpState* pGFp)) 88 IPP_BAD_PTR4_RET(pA, pB, pResult, pGFp); 89 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 90 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 94 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpexp.c | 63 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 81 // pGFp Pointer to the context of the finite field. 87 IppsGFpElement* pR, IppsGFpState* pGFp, 90 IPP_BAD_PTR4_RET(pA, pE, pR, pGFp); 91 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 92 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 99 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpgetelem.c | 64 // ippStsNullPtrErr NULL == pGFp 68 // ippStsContextMatchErr invalid pGFp->idCtx 81 // pGFp Pointer to the context of the finite field. 84 IPPFUN(IppStatus, ippsGFpGetElement, (const IppsGFpElement* pA, Ipp32u* pDataA, int lenA, IppsGFpState* pGFp)) 86 IPP_BAD_PTR3_RET(pA, pDataA, pGFp); 87 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 88 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 91 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpinitarbitrary.c | 64 // NULL == pGFp 80 // pGFp pointer to Finite Field context is being initialized 82 IPPFUN(IppStatus, ippsGFpInitArbitrary,(const IppsBigNumState* pPrime, int primeBitSize, IppsGFpState* pGFp)) 84 IPP_BAD_PTR1_RET(pGFp); 85 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 99 IppStatus sts = cpGFpInitGFp(primeBitSize, pGFp); 103 cpGFpSetGFp(BN_NUMBER(pPrime), primeBitSize, ippsGFpMethod_pArb(), pGFp);
|
pcpgfpinv.c | 63 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 82 // pGFp Pointer to the context of the finite field. 87 IppsGFpElement* pR, IppsGFpState* pGFp)) 89 IPP_BAD_PTR3_RET(pA, pR, pGFp); 90 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 91 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 95 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpisunityelem.c | 63 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 77 // pGFp Pointer to the context of the finite field. 83 const IppsGFpState* pGFp)) 85 IPP_BAD_PTR3_RET(pA, pResult, pGFp); 86 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 87 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 90 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpmul.c | 65 // ippStsNullPtrErr NULL == pGFp 70 // ippStsContextMatchErr invalid pGFp->idCtx 83 // pGFp Pointer to the context of the finite field. 88 IppsGFpElement* pR, IppsGFpState* pGFp)) 90 IPP_BAD_PTR4_RET(pA, pB, pR, pGFp); 91 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 92 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 97 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpmulpe.c | 65 // ippStsNullPtrErr NULL == pGFp 70 // ippStsContextMatchErr invalid pGFp->idCtx 77 // ippStsBadArgErr pGFp does not specify prime field 85 // pGFp Pointer to the context of the finite field. 90 IppsGFpElement* pR, IppsGFpState* pGFp)) 92 IPP_BAD_PTR4_RET(pA, pParentB, pR, pGFp); 93 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 94 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 99 gsModEngine* pGFE = GFP_PMA(pGFp); [all...] |
pcpgfpsub.c | 62 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 80 // pGFp Pointer to the context of the finite field. 85 IppsGFpElement* pR, IppsGFpState* pGFp)) 87 IPP_BAD_PTR4_RET(pA, pB, pR, pGFp); 88 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 89 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 94 gsModEngine* pGFE = GFP_PMA(pGFp);
|
pcpgfpsubpe.c | 62 // ippStsNullPtrErr NULL == pGFp 67 // ippStsContextMatchErr invalid pGFp->idCtx 74 // ippStsBadArgErr pGFp does not specify prime field 82 // pGFp Pointer to the context of the finite field. 87 IppsGFpElement* pR, IppsGFpState* pGFp)) 89 IPP_BAD_PTR4_RET(pA, pParentB, pR, pGFp); 90 pGFp = (IppsGFpState*)( IPP_ALIGNED_PTR(pGFp, GFP_ALIGNMENT) ); 91 IPP_BADARG_RET( !GFP_TEST_ID(pGFp), ippStsContextMatchErr ); 96 gsModEngine* pGFE = GFP_PMA(pGFp); [all...] |