HomeSort by relevance Sort by last modified time
    Searched refs:pPrime (Results 1 - 14 of 14) sorted by null

  /external/epid-sdk/ext/ipp/sources/ippcp/
pcpgfpinitarbitrary.c 63 // ippStsNullPtrErr NULL == pPrime
68 // ippStsContextMatchErr incorrect pPrime context ID
78 // pPrime pointer to the prime context
82 IPPFUN(IppStatus, ippsGFpInitArbitrary,(const IppsBigNumState* pPrime, int primeBitSize, IppsGFpState* pGFp))
89 IPP_BAD_PTR1_RET(pPrime);
90 pPrime = (IppsBigNumState*)( IPP_ALIGNED_PTR(pPrime, BN_ALIGNMENT) );
91 IPP_BADARG_RET(!BN_VALID_ID(pPrime), ippStsContextMatchErr);
92 IPP_BADARG_RET(BN_SIGN(pPrime)!= IppsBigNumPOS, ippStsBadArgErr); /* prime is negative */
93 IPP_BADARG_RET(BITSIZE_BNU(BN_NUMBER(pPrime),BN_SIZE(pPrime)) != primeBitSize, ippStsBadArgErr); /* primeBitSize == bitsize(prime) *
    [all...]
pcpeccpset.c 63 // ippStsNullPtrErr NULL == pPrime
72 // ippStsContextMatchErr illegal pPrime->idCtx
81 // pPrime
89 // pPrime pointer to the retrieval prime (specify FG(p))
99 IPPFUN(IppStatus, ippsECCPSet, (const IppsBigNumState* pPrime,
111 /* test pPrime */
112 IPP_BAD_PTR1_RET(pPrime);
113 pPrime = (IppsBigNumState*)( IPP_ALIGNED_PTR(pPrime, BN_ALIGNMENT) );
114 IPP_BADARG_RET(!BN_VALID_ID(pPrime), ippStsContextMatchErr)
    [all...]
pcpgfp_setgfp.c 58 static void cpGFESet(gsModEngine* pGFE, const BNU_CHUNK_T* pPrime, int primeBitSize, const gsModMethod* method)
66 COPY_BNU(GFP_MODULUS(pGFE), pPrime, primeLen);
88 IppStatus cpGFpSetGFp(const BNU_CHUNK_T* pPrime, int primeBitSize, const IppsGFpMethod* method, IppsGFpState* pGF)
90 cpGFESet(GFP_PMA(pGF), pPrime, primeBitSize, method->arith);
pcpprimeg.h 63 BNU_CHUNK_T* pPrime; /* prime value */
76 #define PRIME_NUMBER(ctx) ((ctx)->pPrime)
103 int cpMimimalPrimeTest(const Ipp32u* pPrime, cpSize ns);
107 int cpPrimeTest(const BNU_CHUNK_T* pPrime, cpSize primeLen,
pcpeccpget.c 62 // ippStsNullPtrErr NULL == pPrime
71 // ippStsContextMatchErr illegal pPrime->idCtx
80 // pPrime
88 // pPrime pointer to the retrieval prime (specify FG(p))
97 IPPFUN(IppStatus, ippsECCPGet, (IppsBigNumState* pPrime,
115 /* test pPrime */
116 IPP_BAD_PTR1_RET(pPrime);
117 pPrime = (IppsBigNumState*)( IPP_ALIGNED_PTR(pPrime, ALIGN_VAL) );
118 IPP_BADARG_RET(!BN_VALID_ID(pPrime), ippStsContextMatchErr)
    [all...]
pcpprime_isprob.h 97 static int cpIsProbablyPrime(BNU_CHUNK_T* pPrime, int bitSize,
104 int ret = cpMimimalPrimeTest((Ipp32u*)pPrime, BITS2WORD32_SIZE(bitSize));
117 cpDec_BNU(pPrime1, pPrime, ns, 1);
128 cpSub_BNU(pMontPrime1, pPrime, MOD_MNT_R(pME), ns);
pcpgfpecbindstd192r1.c 57 static IppStatus cpGFpECBindGxyTbl(const BNU_CHUNK_T* pPrime,
74 IPP_BADARG_RET(cpCmp_BNU(pPrime, elemLen, GFP_MODULUS(pGFE), elemLen), ippStsBadArgErr);
pcpgfpecbindstd224r1.c 57 static IppStatus cpGFpECBindGxyTbl(const BNU_CHUNK_T* pPrime,
74 IPP_BADARG_RET(cpCmp_BNU(pPrime, elemLen, GFP_MODULUS(pGFE), elemLen), ippStsBadArgErr);
pcpgfpecbindstd256r1.c 57 static IppStatus cpGFpECBindGxyTbl(const BNU_CHUNK_T* pPrime,
74 IPP_BADARG_RET(cpCmp_BNU(pPrime, elemLen, GFP_MODULUS(pGFE), elemLen), ippStsBadArgErr);
pcpgfpecbindstd384r1.c 57 static IppStatus cpGFpECBindGxyTbl(const BNU_CHUNK_T* pPrime,
74 IPP_BADARG_RET(cpCmp_BNU(pPrime, elemLen, GFP_MODULUS(pGFE), elemLen), ippStsBadArgErr);
pcpgfpecbindstd521r1.c 57 static IppStatus cpGFpECBindGxyTbl(const BNU_CHUNK_T* pPrime,
74 IPP_BADARG_RET(cpCmp_BNU(pPrime, elemLen, GFP_MODULUS(pGFE), elemLen), ippStsBadArgErr);
pcpgfpecverify.c 153 BNU_CHUNK_T* pPrime = GFP_MODULUS(pGFE);
160 *pResult = (primeLen==orderLen && GFP_EQ(pPrime, pOrder, primeLen))? ippECIsWeakSSSA : ippECValid;
pcpgfpstuff.h 218 IppStatus cpGFpSetGFp(const BNU_CHUNK_T* pPrime, int primeBitSize, const IppsGFpMethod* method, IppsGFpState* pGF);
  /external/epid-sdk/ext/ipp/include/
ippcp.h     [all...]

Completed in 269 milliseconds