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

  /external/chromium_org/third_party/smhasher/src/
Stats.h 41 template< typename hashtype >
42 int FindCollisions ( std::vector<hashtype> & hashes,
43 HashSet<hashtype> & collisions,
68 template < class keytype, typename hashtype >
69 int PrintCollisions ( hashfunc<hashtype> hash, std::vector<keytype> & keys )
73 typedef std::map<hashtype,keytype> htab;
80 hashtype h = hash(&k1,sizeof(keytype),0);
105 template< typename hashtype >
106 double TestDistribution ( std::vector<hashtype> & hashes, bool drawDiagram )
112 const int hashbits = sizeof(hashtype) * 8
    [all...]
KeysetTest.h 27 template< typename hashtype >
30 pfHash hash, std::vector<hashtype> & hashes )
40 hashtype h;
52 template< typename hashtype >
53 bool CombinationKeyTest ( hashfunc<hashtype> hash, int maxlen, uint32_t * blocks, int blockcount, bool testColl, bool testDist, bool drawDiagram )
59 std::vector<hashtype> hashes;
63 CombinationKeygenRecurse<hashtype>(key,0,maxlen,blocks,blockcount,hash,hashes);
73 result &= TestHashList<hashtype>(hashes,testColl,testDist,drawDiagram);
84 template< typename hashtype >
85 void PermutationKeygenRecurse ( pfHash hash, uint32_t * blocks, int blockcount, int k, std::vector<hashtype> & hashes
    [all...]
main.cpp 127 template < typename hashtype >
128 void test ( hashfunc<hashtype> hash, HashInfo * info )
130 const int hashbits = sizeof(hashtype) * 8;
162 TinySpeedTest(hashfunc<hashtype>(info->hash),sizeof(hashtype),i,info->verification,true,cycles);
178 result &= DiffTest< Blob<64>, hashtype >(hash,5,1000,dumpCollisions);
179 result &= DiffTest< Blob<128>, hashtype >(hash,4,1000,dumpCollisions);
180 result &= DiffTest< Blob<256>, hashtype >(hash,3,1000,dumpCollisions);
195 result &= DiffDistTest2<uint64_t,hashtype>(hash);
209 result &= AvalancheTest< Blob< 32>, hashtype > (hash,300000)
    [all...]
AvalancheTest.h 27 template < typename keytype, typename hashtype >
31 const int hashbytes = sizeof(hashtype);
37 hashtype A,B;
68 template < typename keytype, typename hashtype >
74 const int hashbytes = sizeof(hashtype);
85 calcBias<keytype,hashtype>(hash,bins,reps,r);
110 template< typename keytype, typename hashtype >
116 const int hashbytes = sizeof(hashtype);
122 hashtype h1,h2;
137 hashtype d = h1 ^ h2
    [all...]
DifferentialTest.h 103 template < typename keytype, typename hashtype >
104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int start, int bitsleft, std::vector<keytype> & diffs )
132 template < typename keytype, typename hashtype >
136 const int hashbits = sizeof(hashtype) * 8;
147 hashtype h1,h2;
161 DiffTestRecurse<keytype,hashtype>(hash,k1,k2,h1,h2,0,diffbits,diffs);
188 template < typename keytype, typename hashtype >
192 std::vector<hashtype> A(trials),B(trials);
214 hashtype h2
    [all...]
Types.h 47 template< typename hashtype, typename keytype >
48 struct CollisionMap : public std::map< hashtype, std::vector<keytype> >
52 template< typename hashtype >
53 struct HashSet : public std::set<hashtype>
117 template<typename hashtype>
120 typedef std::vector<hashtype> hashvec;
153 template<typename hashtype>
156 typedef HashSet<hashtype> hashset;
157 typedef CollisionMap<hashtype,ByteVec> collmap;
168 hashtype h
    [all...]
Bitslice.cpp 53 template< typename hashtype >
54 void Bitslice ( std::vector<hashtype> & hashes, slice_vec & slices )
56 const int hashbytes = sizeof(hashtype);
KeysetTest.cpp 269 template< typename hashtype >
270 void DumpCollisionMap ( CollisionMap<hashtype,ByteVec> & cmap )
272 typedef CollisionMap<hashtype,ByteVec> cmap_t;
276 const hashtype & hash = (*it).first;
279 printbytes(&hash,sizeof(hashtype));
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
perfect.h 67 } hashtype; member in struct:hashform
perfect.c 119 switch(form->hashtype)
143 fprintf(stderr, "perfect.c: Illegal hash type %ld\n", (ub4)form->hashtype);
728 *alen = ((form->hashtype==INT_HT) && *smax>131072) ?
731 if ((form->hashtype == INT_HT) && *smax < 32)
833 if (form->hashtype == AB_HT)
905 if ((form->hashtype != INT_HT && ++bad_perfect >= RETRY_PERFECT) ||
906 (form->hashtype == INT_HT && ++bad_perfect >= RETRY_HEX))
    [all...]
genperf.c 172 form.hashtype = STRING_HT;
  /external/ipsec-tools/src/racoon/
remoteconf.h 144 int hashtype; member in struct:isakmpsa
pfkey.c 456 ipsecdoi2pfkey_aalg(hashtype)
457 u_int hashtype;
459 switch (hashtype) {
488 "Not supported hash type: %u\n", hashtype);
496 "Invalid hash type: %u\n", hashtype);
686 keylen_aalg(hashtype)
687 u_int hashtype;
691 if (hashtype == 0)
694 res = alg_ipsec_hmacdef_hashlen(hashtype);
697 "invalid hmac algorithm %u.\n", hashtype);
    [all...]
ipsec_doi.c 377 plog(LLV_DEBUG, LOCATION, NULL, "hashtype = %s:%s\n",
379 s->hashtype),
381 tsap->hashtype));
402 tsap->hashtype == s->hashtype &&
513 if (sa.hashtype != s->hashtype) {
515 "rejected hashtype: "
521 s->hashtype),
523 sa.hashtype));
    [all...]
nattraversal.c 131 saddr2str(addr), iph1->approval->hashtype,
handler.c 1465 if (approval->hashtype != p->hashtype) {
1467 "Reload: hashtype mismatch\n");
remoteconf.c 604 alg_oakley_hashdef_name(prop->hashtype));
oakley.c 389 type = iph1->approval->hashtype;
419 type = iph1->approval->hashtype;
    [all...]
cfparse.y     [all...]
  /external/ipsec-tools/
setup.c 307 p->hashtype = hash;

Completed in 245 milliseconds