/external/chromium_org/third_party/smhasher/src/ |
DifferentialTest.h | 96 // Check all possible keybits-choose-N differentials for collisions, report 135 const int keybits = sizeof(keytype) * 8; local 138 double diffcount = chooseUpToK(keybits,diffbits); 149 printf("Testing %0.f up-to-%d-bit differentials in %d-bit keys -> %d bit hashes.\n",diffcount,diffbits,keybits,hashbits); 250 int keybits = sizeof(keytype) * 8; local 259 for(int keybit = 0; keybit < keybits; keybit++)
|
AvalancheTest.h | 33 const int keybits = keybytes * 8; local 49 for(int iBit = 0; iBit < keybits; iBit++) 76 const int keybits = keybytes * 8; local 79 printf("Testing %3d-bit keys -> %3d-bit hashes, %8d reps",keybits,hashbits,reps); 83 std::vector<int> bins(keybits*hashbits,0); 200 const int keybits = keybytes * 8; local 207 for(int i = 0; i < keybits; i++) 209 if(i % (keybits/10) == 0) printf("."); 242 const int keybits = keybytes * 8; local 257 std::vector<int> bins(keybits*pagesize,0) 350 const int keybits = keybytes * 8; local [all...] |
KeysetTest.h | 164 template < int keybits, typename hashtype > 167 printf("Keyset 'Sparse' - %d-bit keys with %s %d bits set - ",keybits, inclusive ? "up to" : "exactly", setbits); 169 typedef Blob<keybits> keytype; 205 const int keybits = sizeof(keytype) * 8; local 213 int testcount = keybits; 215 printf("Keyset 'Windowed' - %3d-bit key, %3d-bit window - %d tests, %d keys per test\n",keybits,windowbits,testcount,keycount);
|
/external/openssh/ |
auth-rsa.c | 187 int keybits; local 229 keybits = BN_num_bits(key->rsa->n); 230 if (keybits < 0 || bits != (u_int)keybits)
|
auth1.c | 166 int keybits, authenticated = 0; local 184 keybits = BN_num_bits(client_host_key->rsa->n); 185 if (keybits < 0 || bits != (u_int)keybits) {
|
authfd.c | 316 int keybits; local 337 keybits = BN_num_bits(key->rsa->n); 338 if (keybits < 0 || bits != (u_int)keybits)
|
/external/libppp/src/ |
ccp.h | 76 int keybits; member in struct:ccp_config::__anon22792
|
mppe.c | 102 int keybits; /* 40, 56 or 128 bits */ member in struct:mppe_state 133 switch(mp->keybits) { 490 switch(cfg->mppe.keybits) { 550 * If we haven't been configured with a specific number of keybits, allow 553 if (!cfg->mppe.keybits) { 613 /* If we've got a configured number of keybits - the peer must use that */ 614 if (cfg->mppe.keybits) { 656 mp->keybits = 128; 660 mp->keybits = 56; 664 mp->keybits = 40 [all...] |