Lines Matching refs:blockcount
29 uint32_t * blocks, int blockcount, in CombinationKeygenRecurse() argument
34 for(int i = 0; i < blockcount; i++) in CombinationKeygenRecurse()
47 CombinationKeygenRecurse(key,len+1,maxlen,blocks,blockcount,hash,hashes); in CombinationKeygenRecurse()
53 bool CombinationKeyTest ( hashfunc<hashtype> hash, int maxlen, uint32_t * blocks, int blockcount, b… in CombinationKeyTest() argument
55 printf("Keyset 'Combination' - up to %d blocks from a set of %d - ",maxlen,blockcount); in CombinationKeyTest()
63 CombinationKeygenRecurse<hashtype>(key,0,maxlen,blocks,blockcount,hash,hashes); in CombinationKeyTest()
85 void PermutationKeygenRecurse ( pfHash hash, uint32_t * blocks, int blockcount, int k, std::vector<… in PermutationKeygenRecurse() argument
87 if(k == blockcount-1) in PermutationKeygenRecurse()
91 hash(blocks,blockcount * sizeof(uint32_t),0,&h); in PermutationKeygenRecurse()
98 for(int i = k; i < blockcount; i++) in PermutationKeygenRecurse()
102 PermutationKeygenRecurse(hash,blocks,blockcount,k+1,hashes); in PermutationKeygenRecurse()
109 bool PermutationKeyTest ( hashfunc<hashtype> hash, uint32_t * blocks, int blockcount, bool testColl… in PermutationKeyTest() argument
111 printf("Keyset 'Permutation' - %d blocks - ",blockcount); in PermutationKeyTest()
117 PermutationKeygenRecurse<hashtype>(hash,blocks,blockcount,0,hashes); in PermutationKeyTest()