Home
last modified time | relevance | path

Searched refs:BNU_CHUNK_BITS (Results 1 – 20 of 20) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpbnuimpl.h64 #define BNU_CHUNK_BITS BNU_CHUNK_64BIT macro
70 #define BNU_CHUNK_BITS BNU_CHUNK_32BIT macro
75 #if (BNU_CHUNK_BITS == BNU_CHUNK_64BIT)
77 #elif (BNU_CHUNK_BITS == BNU_CHUNK_32BIT)
80 #error BNU_CHUNK_BITS should be either 64 or 32 bit!
97 #define BNU_CHUNK_2H ((BNU_CHUNK_T)1 << (BNU_CHUNK_BITS/2))
99 #define HI_CHUNK(c) ((BNU_CHUNK_T)(c) >> (BNU_CHUNK_BITS/2))
157 (RL) = (__x1 << BNU_CHUNK_BITS/2) + LO_CHUNK(__x0); \
Dpcpbnumisc.h56 #define BITSIZE_BNU(p,ns) ((ns)*BNU_CHUNK_BITS-cpNLZ_BNU((p)[(ns)-1]))
57 …)>>BNU_CHUNK_LOG2) < (ns))? ((((bnu))[(nbit)>>BNU_CHUNK_LOG2] >>((nbit)&(BNU_CHUNK_BITS))) &1) : 0)
64 #define BITS_BNU_CHUNK(nbits) (((nbits)+BNU_CHUNK_BITS-1)/BNU_CHUNK_BITS)
67 …MASK_BNU_CHUNK(nbits) ((BNU_CHUNK_T)(-1) >>((BNU_CHUNK_BITS- ((nbits)&(BNU_CHUNK_BITS-1))) &(BNU_C…
Dpcpmont_expbinbnu.c117 for(; n<BNU_CHUNK_BITS; n++, eValue<<=1) { in cpMontExpBin_BNU()
122 if(eValue & ((BNU_CHUNK_T)1<<(BNU_CHUNK_BITS-1))) in cpMontExpBin_BNU()
130 for(n=0; n<BNU_CHUNK_BITS; n++, eValue<<=1) { in cpMontExpBin_BNU()
134 if(eValue & ((BNU_CHUNK_T)1<<(BNU_CHUNK_BITS-1))) in cpMontExpBin_BNU()
Dpcpgfpecinitstdbn256.c131 cpGFpECSetStd(BITS_BNU_CHUNK(BNU_CHUNK_BITS), tpmBN_p256p_a,
132 BITS_BNU_CHUNK(BNU_CHUNK_BITS), tpmBN_p256p_b,
133 BITS_BNU_CHUNK(BNU_CHUNK_BITS), tpmBN_p256p_gx,
134 BITS_BNU_CHUNK(BNU_CHUNK_BITS), tpmBN_p256p_gy,
Dpcpbnu_lsr.c72 cpSize nw = nBits/BNU_CHUNK_BITS; in cpLSR_BNU()
78 nBits %= BNU_CHUNK_BITS; in cpLSR_BNU()
85 pR[n] = (lo>>nBits) | (hi<<(BNU_CHUNK_BITS-nBits)); in cpLSR_BNU()
Dgsmod_montinv.c60 int slot = bit/BNU_CHUNK_BITS; in cpPow2_ct()
61 BNU_CHUNK_T value = (BNU_CHUNK_T)1 << (bit%BNU_CHUNK_BITS); in cpPow2_ct()
87 int m = mLen*BNU_CHUNK_BITS; in gs_mont_inv()
Dpcpbnarithmul.c109 IPP_BADARG_RET(nsR*BNU_CHUNK_BITS < (bitSizeA+bitSizeB-1), ippStsOutOfRangeErr);
132 nsR = (bitSizeA + bitSizeB + BNU_CHUNK_BITS - 1) /BNU_CHUNK_BITS;
Dpcpbnu_ntz.c70 cpSize ntz = BNU_CHUNK_BITS; in cpNTZ_BNU()
73 #if (BNU_CHUNK_BITS==BNU_CHUNK_64BIT) in cpNTZ_BNU()
Dpcpbnu_nlz.c70 cpSize nlz = BNU_CHUNK_BITS; in cpNLZ_BNU()
73 #if (BNU_CHUNK_BITS == BNU_CHUNK_64BIT) in cpNLZ_BNU()
Dpcpgfpecgetpointreg.c104 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);
Dpcpbnu_msbit.c74 msb = nsA*BNU_CHUNK_BITS - cpNLZ_BNU(pA[nsA-1]) -1; in cpMSBit_BNU()
Dgsmod_montfactor.c68 for(i=2; i<=BNU_CHUNK_BITS; i++, x<<=1) { in gsMontFactor()
Dpcpbnu_setoctstr.c77 #if (BNU_CHUNK_BITS==BNU_CHUNK_64BIT) in cpFromOctStr_BNU()
Dgsmod_inv.c73 int m = mLen*BNU_CHUNK_BITS; in gs_inv()
Dpcpprngen_bn.c97 IPP_BADARG_RET(nBits> BN_ROOM(pRand)*BNU_CHUNK_BITS, ippStsLengthErr);
Dpcpprngenhw_bn.c90 IPP_BADARG_RET(nBits> BN_ROOM(pRand)*BNU_CHUNK_BITS, ippStsLengthErr);
Dpcpbnu_getoctstr.c96 #if (BNU_CHUNK_BITS==BNU_CHUNK_64BIT) in cpToOctStr_BNU()
Dpcpprime_isprob.h121 if (BNU_CHUNK_BITS != da) in cpIsProbablyPrime()
Dpcptrngenhwca.c199 IPP_BADARG_RET(nBits> BN_ROOM(pRand)*BNU_CHUNK_BITS, ippStsLengthErr);
Dpcpbnuarith.h193 #if (BNU_CHUNK_BITS == BNU_CHUNK_64BIT) in cpDiv_BNU()