/external/chromium_org/third_party/smhasher/src/ |
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...] |
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++)
|
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/chromium_org/third_party/openssl/openssl/crypto/aes/ |
aes_wrap.c | 143 int AES_wrap_unwrap_test(const unsigned char *kek, int keybits, 155 if (AES_set_encrypt_key(kek, keybits, &wctx)) 164 if (AES_set_decrypt_key(kek, keybits, &wctx))
|
/external/openssl/crypto/aes/ |
aes_wrap.c | 143 int AES_wrap_unwrap_test(const unsigned char *kek, int keybits, 155 if (AES_set_encrypt_key(kek, keybits, &wctx)) 164 if (AES_set_decrypt_key(kek, keybits, &wctx))
|