/external/chromium_org/crypto/ |
D | symmetric_key_openssl.cc | 25 size_t key_size_in_bits) { in GenerateRandomKey() argument 31 if (key_size_in_bits != 128 && key_size_in_bits != 256) in GenerateRandomKey() 34 size_t key_size_in_bytes = key_size_in_bits / 8; in GenerateRandomKey() 35 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8); in GenerateRandomKey() 54 size_t key_size_in_bits) { in DeriveKeyFromPassword() argument 61 if (key_size_in_bits != 128 && key_size_in_bits != 256) in DeriveKeyFromPassword() 65 size_t key_size_in_bytes = key_size_in_bits / 8; in DeriveKeyFromPassword() 66 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8); in DeriveKeyFromPassword()
|
D | symmetric_key_nss.cc | 19 size_t key_size_in_bits) { in GenerateRandomKey() argument 27 if (key_size_in_bits != 128 && key_size_in_bits != 256) in GenerateRandomKey() 35 key_size_in_bits / 8, NULL); in GenerateRandomKey() 47 size_t key_size_in_bits) { in DeriveKeyFromPassword() argument 49 if (salt.empty() || iterations == 0 || key_size_in_bits == 0) in DeriveKeyFromPassword() 56 if (key_size_in_bits != 128 && key_size_in_bits != 256) in DeriveKeyFromPassword() 77 key_size_in_bits / 8, in DeriveKeyFromPassword()
|
D | symmetric_key_win.cc | 28 ALG_ID GetAESAlgIDForKeySize(size_t key_size_in_bits) { in GetAESAlgIDForKeySize() argument 30 switch (key_size_in_bits) { in GetAESAlgIDForKeySize() 99 bool GenerateAESKey(size_t key_size_in_bits, in GenerateAESKey() argument 105 ALG_ID alg = GetAESAlgIDForKeySize(key_size_in_bits); in GenerateAESKey() 137 bool CheckHMACKeySize(size_t key_size_in_bits, ALG_ID alg) { in CheckHMACKeySize() argument 158 return (key_size_in_bits >= (hash_size / 2 * 8) && in CheckHMACKeySize() 159 (key_size_in_bits % 8) == 0); in CheckHMACKeySize() 167 bool GenerateHMACKey(size_t key_size_in_bits, in GenerateHMACKey() argument 176 if (!CheckHMACKeySize(key_size_in_bits, alg)) in GenerateHMACKey() 187 DWORD key_size_in_bytes = static_cast<DWORD>(key_size_in_bits / 8); in GenerateHMACKey() [all …]
|
D | symmetric_key.h | 41 size_t key_size_in_bits); 52 size_t key_size_in_bits);
|
D | symmetric_key_unittest.cc | 73 unsigned int key_size_in_bits; member 96 test_data.rounds, test_data.key_size_in_bits)); in TEST_P() 101 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()); in TEST_P()
|
/external/chromium_org/net/base/ |
D | keygen_handler.cc | 17 KeygenHandler::KeygenHandler(int key_size_in_bits, in KeygenHandler() argument 20 : key_size_in_bits_(key_size_in_bits), in KeygenHandler()
|
D | keygen_handler.h | 32 KeygenHandler(int key_size_in_bits,
|
/external/chromium_org/content/browser/ |
D | resource_context_impl.cc | 73 uint32 key_size_in_bits, in CreateKeygenHandler() argument 78 new net::KeygenHandler(key_size_in_bits, challenge_string, url))); in CreateKeygenHandler()
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
D | nsKeygenHandler.h | 61 std::string GenKeyAndSignChallenge(int key_size_in_bits,
|
D | nsKeygenHandler.cpp | 95 std::string GenKeyAndSignChallenge(int key_size_in_bits, in GenKeyAndSignChallenge() argument 123 rsaKeyGenParams.keySizeInBits = key_size_in_bits; in GenKeyAndSignChallenge()
|
/external/chromium_org/content/public/browser/ |
D | resource_context.h | 54 uint32 key_size_in_bits,
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_message_filter.cc | 1032 int key_size_in_bits; in OnKeygen() local 1035 key_size_in_bits = 2048; in OnKeygen() 1038 key_size_in_bits = 1024; in OnKeygen() 1048 key_size_in_bits, in OnKeygen()
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_io_data.cc | 932 uint32 key_size_in_bits, in CreateKeygenHandler() argument 939 new net::KeygenHandler(key_size_in_bits, challenge_string, url)); in CreateKeygenHandler() 958 new net::KeygenHandler(key_size_in_bits, challenge_string, url))); in CreateKeygenHandler()
|
D | profile_io_data.h | 502 uint32 key_size_in_bits,
|