crypto 21 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java import javax.crypto.KeyGenerator; crypto 22 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java import javax.crypto.Mac; crypto 23 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java import javax.crypto.SecretKey; crypto 24 chrome/android/java/src/org/chromium/chrome/browser/WebappAuthenticator.java import javax.crypto.spec.SecretKeySpec; crypto 36 chrome/app/signature_validator_win.cc uint8 hash[crypto::kSHA256Length] = {}; crypto 40 chrome/app/signature_validator_win.cc crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length); crypto 81 chrome/app/signature_validator_win_unittest.cc uint8 hash[crypto::kSHA256Length] = {0}; crypto 85 chrome/app/signature_validator_win_unittest.cc crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length); crypto 233 chrome/browser/certificate_manager_model.cc is_tpm_available = crypto::IsTPMTokenEnabledForNSS(); crypto 58 chrome/browser/chromeos/attestation/fake_certificate.cc scoped_ptr<crypto::RSAPrivateKey> test_key( crypto 59 chrome/browser/chromeos/attestation/fake_certificate.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo( crypto 939 chrome/browser/chromeos/login/kiosk_browsertest.cc const std::string sha256 = crypto::SHA256HashString(crx_content); crypto 45 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::RandBytes(&result, sizeof(result)); crypto 54 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc scoped_ptr<crypto::SymmetricKey> key( crypto 55 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 56 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::SymmetricKey::AES, crypto 66 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc scoped_ptr<crypto::SymmetricKey> key(crypto::SymmetricKey::GenerateRandomKey( crypto 67 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::SymmetricKey::AES, kHMACKeySizeInBits)); crypto 86 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 229 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::RandBytes(&master_key_bytes, sizeof(master_key_bytes)); crypto 688 chrome/browser/chromeos/login/parallel_authenticator.cc crypto::SHA256HashString(ascii_salt + password, crypto 31 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc crypto::ScopedPK11Slot public_slot) { crypto 32 chrome/browser/chromeos/net/cert_verify_proc_chromeos.cc profile_filter_.Init(public_slot.Pass(), crypto::ScopedPK11Slot()); crypto 28 chrome/browser/chromeos/net/cert_verify_proc_chromeos.h explicit CertVerifyProcChromeOS(crypto::ScopedPK11Slot public_slot); crypto 32 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), crypto 33 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 35 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 37 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), crypto 38 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 40 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 109 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user_1_; crypto 110 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user_2_; crypto 113 chrome/browser/chromeos/policy/auto_enrollment_client.cc crypto::SHA256HashString(server_backed_state_key_); crypto 103 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc std::string hash = crypto::SHA256HashString(state_key); crypto 109 chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc crypto::kSHA256Length); crypto 33 chrome/browser/chromeos/policy/cloud_external_data_manager_base_test_util.cc const std::string hash = crypto::SHA256HashString(data); crypto 163 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData))); crypto 168 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData))); crypto 341 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc k10BytePolicy, crypto::SHA256HashString(k10ByteData), 10, &data)); crypto 401 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 406 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 462 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData))); crypto 478 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData))); crypto 500 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData))); crypto 530 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc k10BytePolicy, crypto::SHA256HashString(k10ByteData), k10ByteData)); crypto 558 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 563 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 568 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 584 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 591 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 595 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData), crypto 611 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 623 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData))); crypto 635 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 651 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 656 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 672 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData))); crypto 712 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 718 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k20ByteData), crypto 769 chrome/browser/chromeos/policy/cloud_external_data_manager_base_unittest.cc crypto::SHA256HashString(k10ByteData))); crypto 68 chrome/browser/chromeos/policy/cloud_external_data_store.cc if (data->size() <= max_size && crypto::SHA256HashString(*data) == hash) crypto 48 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc : kData1Hash(crypto::SHA256HashString(kData1)), crypto 49 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc kData2Hash(crypto::SHA256HashString(kData2)), crypto 159 chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc hash.size() != crypto::kSHA256Length) { crypto 417 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc state_keys->push_back(crypto::SHA256HashString( crypto 418 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc crypto::SHA256HashString(group_code_key) + crypto 419 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc crypto::SHA256HashString(disk_serial_number) + crypto 420 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc crypto::SHA256HashString(machine_id) + crypto 421 chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc crypto::SHA256HashString(base::Int64ToString(quantized_time)))); crypto 304 chrome/browser/chromeos/policy/device_local_account_browsertest.cc scoped_ptr<crypto::RSAPrivateKey> signing_key( crypto 49 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()))); crypto 120 chrome/browser/chromeos/policy/policy_cert_verifier_browsertest.cc crypto::ScopedTestNSSDB test_nssdb_; crypto 39 chrome/browser/chromeos/settings/device_settings_service.cc scoped_ptr<crypto::RSAPrivateKey> private_key) crypto 23 chrome/browser/chromeos/settings/device_settings_service.h namespace crypto { crypto 45 chrome/browser/chromeos/settings/device_settings_service.h scoped_ptr<crypto::RSAPrivateKey> private_key); crypto 56 chrome/browser/chromeos/settings/device_settings_service.h crypto::RSAPrivateKey* private_key() { crypto 65 chrome/browser/chromeos/settings/device_settings_service.h scoped_ptr<crypto::RSAPrivateKey> private_key_; crypto 20 chrome/browser/chromeos/settings/mock_owner_key_util.cc crypto::RSAPrivateKey* MockOwnerKeyUtil::FindPrivateKey( crypto 39 chrome/browser/chromeos/settings/mock_owner_key_util.cc const crypto::RSAPrivateKey& key) { crypto 43 chrome/browser/chromeos/settings/mock_owner_key_util.cc void MockOwnerKeyUtil::SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key) { crypto 24 chrome/browser/chromeos/settings/mock_owner_key_util.h virtual crypto::RSAPrivateKey* FindPrivateKey( crypto 36 chrome/browser/chromeos/settings/mock_owner_key_util.h void SetPublicKeyFromPrivateKey(const crypto::RSAPrivateKey& key); crypto 39 chrome/browser/chromeos/settings/mock_owner_key_util.h void SetPrivateKey(scoped_ptr<crypto::RSAPrivateKey> key); crypto 46 chrome/browser/chromeos/settings/mock_owner_key_util.h scoped_ptr<crypto::RSAPrivateKey> private_key_; crypto 68 chrome/browser/chromeos/settings/owner_key_util.cc crypto::RSAPrivateKey* OwnerKeyUtilImpl::FindPrivateKey( crypto 70 chrome/browser/chromeos/settings/owner_key_util.cc return crypto::RSAPrivateKey::FindFromPublicKeyInfo(key); crypto 21 chrome/browser/chromeos/settings/owner_key_util.h namespace crypto { crypto 41 chrome/browser/chromeos/settings/owner_key_util.h virtual crypto::RSAPrivateKey* FindPrivateKey( crypto 64 chrome/browser/chromeos/settings/owner_key_util.h virtual crypto::RSAPrivateKey* FindPrivateKey( crypto 96 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<crypto::RSAPrivateKey> private_key; crypto 301 chrome/browser/chromeos/settings/session_manager_operation.cc scoped_ptr<crypto::SignatureCreator> signature_creator( crypto 302 chrome/browser/chromeos/settings/session_manager_operation.cc crypto::SignatureCreator::Create(owner_key->private_key())); crypto 67 chrome/browser/chromeos/settings/token_encryptor.cc crypto::SymmetricKey* CryptohomeTokenEncryptor::PassphraseToKey( crypto 70 chrome/browser/chromeos/settings/token_encryptor.cc return crypto::SymmetricKey::DeriveKeyFromPassword( crypto 71 chrome/browser/chromeos/settings/token_encryptor.cc crypto::SymmetricKey::AES, passphrase, salt, 1000, 256); crypto 75 chrome/browser/chromeos/settings/token_encryptor.cc crypto::SymmetricKey* key, crypto 78 chrome/browser/chromeos/settings/token_encryptor.cc crypto::Encryptor encryptor; crypto 79 chrome/browser/chromeos/settings/token_encryptor.cc if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { crypto 97 chrome/browser/chromeos/settings/token_encryptor.cc crypto::SymmetricKey* key, crypto 109 chrome/browser/chromeos/settings/token_encryptor.cc crypto::Encryptor encryptor; crypto 110 chrome/browser/chromeos/settings/token_encryptor.cc if (!encryptor.Init(key, crypto::Encryptor::CTR, std::string())) { crypto 13 chrome/browser/chromeos/settings/token_encryptor.h namespace crypto { crypto 50 chrome/browser/chromeos/settings/token_encryptor.h crypto::SymmetricKey* PassphraseToKey(const std::string& passphrase, crypto 54 chrome/browser/chromeos/settings/token_encryptor.h std::string EncryptTokenWithKey(crypto::SymmetricKey* key, crypto 59 chrome/browser/chromeos/settings/token_encryptor.h std::string DecryptTokenWithKey(crypto::SymmetricKey* key, crypto 69 chrome/browser/chromeos/settings/token_encryptor.h scoped_ptr<crypto::SymmetricKey> system_salt_key_; crypto 31 chrome/browser/component_updater/component_patcher_operation.cc using crypto::SecureHash; crypto 209 chrome/browser/component_updater/component_patcher_operation.cc expected_hash.size() != crypto::kSHA256Length) crypto 216 chrome/browser/component_updater/component_patcher_operation.cc uint8 actual_hash[crypto::kSHA256Length] = {0}; crypto 28 chrome/browser/component_updater/component_unpacker.cc using crypto::SecureHash; crypto 61 chrome/browser/component_updater/component_unpacker.cc crypto::SignatureVerifier verifier; crypto 183 chrome/browser/devtools/adb/android_rsa.cc crypto::RSAPrivateKey* AndroidRSAPrivateKey(Profile* profile) { crypto 187 chrome/browser/devtools/adb/android_rsa.cc scoped_ptr<crypto::RSAPrivateKey> key; crypto 190 chrome/browser/devtools/adb/android_rsa.cc key.reset(crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); crypto 193 chrome/browser/devtools/adb/android_rsa.cc key.reset(crypto::RSAPrivateKey::Create(2048)); crypto 206 chrome/browser/devtools/adb/android_rsa.cc std::string AndroidRSAPublicKey(crypto::RSAPrivateKey* key) { crypto 261 chrome/browser/devtools/adb/android_rsa.cc std::string AndroidRSASign(crypto::RSAPrivateKey* key, crypto 265 chrome/browser/devtools/adb/android_rsa.cc if (!crypto::SignatureCreator::Sign(key, vector_as_array(&digest), crypto 10 chrome/browser/devtools/adb/android_rsa.h namespace crypto { crypto 16 chrome/browser/devtools/adb/android_rsa.h crypto::RSAPrivateKey* AndroidRSAPrivateKey(Profile* profile); crypto 18 chrome/browser/devtools/adb/android_rsa.h std::string AndroidRSAPublicKey(crypto::RSAPrivateKey* key); crypto 20 chrome/browser/devtools/adb/android_rsa.h std::string AndroidRSASign(crypto::RSAPrivateKey* key, crypto 69 chrome/browser/devtools/adb/android_usb_device.cc crypto::RSAPrivateKey* rsa_key, crypto 185 chrome/browser/devtools/adb/android_usb_device.cc crypto::RSAPrivateKey* rsa_key, crypto 230 chrome/browser/devtools/adb/android_usb_device.cc static void EnumerateOnFileThread(crypto::RSAPrivateKey* rsa_key, crypto 309 chrome/browser/devtools/adb/android_usb_device.cc void AndroidUsbDevice::Enumerate(crypto::RSAPrivateKey* rsa_key, crypto 317 chrome/browser/devtools/adb/android_usb_device.cc AndroidUsbDevice::AndroidUsbDevice(crypto::RSAPrivateKey* rsa_key, crypto 18 chrome/browser/devtools/adb/android_usb_device.h namespace crypto { crypto 69 chrome/browser/devtools/adb/android_usb_device.h static void Enumerate(crypto::RSAPrivateKey* rsa_key, crypto 74 chrome/browser/devtools/adb/android_usb_device.h AndroidUsbDevice(crypto::RSAPrivateKey* rsa_key, crypto 133 chrome/browser/devtools/adb/android_usb_device.h scoped_ptr<crypto::RSAPrivateKey> rsa_key_; crypto 234 chrome/browser/devtools/android_device.cc scoped_ptr<crypto::RSAPrivateKey> rsa_key_; crypto 36 chrome/browser/devtools/devtools_adb_bridge.h namespace crypto { crypto 323 chrome/browser/enumerate_modules_model_win.cc crypto::SHA256HashString(input, hash, sizeof(hash)); crypto 49 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc crypto::NSSDestroyer<CERTCertificate, CERT_DestroyCertificate> > crypto 87 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc crypto::EnsureNSSInit(); crypto 108 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc crypto::ScopedSECKEYPublicKey ca_public_key( crypto 118 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); crypto 77 chrome/browser/extensions/api/identity/web_auth_flow.cc crypto::RandBytes(WriteInto(&random_bytes, 33), 32); crypto 108 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc crypto::RandBytes(&pipe_name_token, sizeof(pipe_name_token)); crypto 21 chrome/browser/extensions/api/music_manager_private/device_id.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 59 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc NetworkingPrivateCrypto crypto; crypto 62 chrome/browser/extensions/api/networking_private/networking_private_credentials_getter_mac.cc if (!crypto.EncryptByteString(public_key_data, key_data, &ciphertext)) { crypto 43 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc NetworkingPrivateCrypto crypto; crypto 44 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc return crypto.VerifyCredentials(properties.certificate, crypto 103 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc NetworkingPrivateCrypto crypto; crypto 106 chrome/browser/extensions/api/networking_private/networking_private_service_client.cc if (!crypto.EncryptByteString(public_key_data, params->data, &ciphertext)) { crypto 82 chrome/browser/extensions/convert_user_script.cc char raw[crypto::kSHA256Length] = {0}; crypto 84 chrome/browser/extensions/convert_user_script.cc crypto::SHA256HashString(script_name, raw, crypto::kSHA256Length); crypto 85 chrome/browser/extensions/convert_user_script.cc base::Base64Encode(std::string(raw, crypto::kSHA256Length), &key); crypto 52 chrome/browser/extensions/convert_web_app.cc char raw[crypto::kSHA256Length] = {0}; crypto 54 chrome/browser/extensions/convert_web_app.cc crypto::SHA256HashString(app_url.spec().c_str(), raw, crypto 55 chrome/browser/extensions/convert_web_app.cc crypto::kSHA256Length); crypto 56 chrome/browser/extensions/convert_web_app.cc base::Base64Encode(std::string(raw, crypto::kSHA256Length), &key); crypto 89 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* key_pair, crypto 121 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* ExtensionCreator::ReadInputKey(const base::FilePath& crypto 144 chrome/browser/extensions/extension_creator.cc return crypto::RSAPrivateKey::CreateFromPrivateKeyInfo( crypto 148 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* ExtensionCreator::GenerateKey(const base::FilePath& crypto 150 chrome/browser/extensions/extension_creator.cc scoped_ptr<crypto::RSAPrivateKey> key_pair( crypto 151 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey::Create(kRSAKeySize)); crypto 212 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* private_key, crypto 214 chrome/browser/extensions/extension_creator.cc scoped_ptr<crypto::SignatureCreator> signature_creator( crypto 215 chrome/browser/extensions/extension_creator.cc crypto::SignatureCreator::Create(private_key)); crypto 239 chrome/browser/extensions/extension_creator.cc crypto::RSAPrivateKey* private_key, crypto 300 chrome/browser/extensions/extension_creator.cc scoped_ptr<crypto::RSAPrivateKey> key_pair; crypto 17 chrome/browser/extensions/extension_creator.h namespace crypto { crypto 69 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* key_pair, crypto 73 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* ReadInputKey(const base::FilePath& private_key_path); crypto 77 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* GenerateKey(const base::FilePath& private_key_path); crypto 85 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* private_key, crypto 90 chrome/browser/extensions/extension_creator.h crypto::RSAPrivateKey* private_key, crypto 90 chrome/browser/extensions/install_signer.cc scoped_ptr<crypto::SecureHash> hash( crypto 91 chrome/browser/extensions/install_signer.cc crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 96 chrome/browser/extensions/install_signer.cc std::string result_bytes(crypto::kSHA256Length, 0); crypto 255 chrome/browser/extensions/install_signer.cc crypto::SignatureVerifier verifier; crypto 355 chrome/browser/extensions/install_signer.cc crypto::RandBytes(string_as_array(&salt_), salt_.size()); crypto 543 chrome/browser/extensions/sandboxed_unpacker.cc crypto::SignatureVerifier verifier; crypto 145 chrome/browser/internal_auth.cc const crypto::HMAC* engine, crypto 248 chrome/browser/internal_auth.cc scoped_ptr<crypto::HMAC> new_engine( crypto 249 chrome/browser/internal_auth.cc new crypto::HMAC(crypto::HMAC::SHA256)); crypto 300 chrome/browser/internal_auth.cc scoped_ptr<crypto::HMAC> engine_; crypto 301 chrome/browser/internal_auth.cc scoped_ptr<crypto::HMAC> old_engine_; crypto 339 chrome/browser/internal_auth.cc scoped_ptr<crypto::HMAC> new_engine(new crypto::HMAC(crypto::HMAC::SHA256)); crypto 418 chrome/browser/internal_auth.cc scoped_ptr<crypto::HMAC> engine_; crypto 21 chrome/browser/media/desktop_streams_registry.cc crypto::RandBytes(buffer, arraysize(buffer)); crypto 257 chrome/browser/metrics/variations/variations_seed_store.cc crypto::SignatureVerifier verifier; crypto 26 chrome/browser/net/nss_context.h crypto::ScopedPK11Slot GetPublicNSSKeySlotForResourceContext( crypto 33 chrome/browser/net/nss_context.h crypto::ScopedPK11Slot GetPrivateNSSKeySlotForResourceContext( crypto 35 chrome/browser/net/nss_context.h const base::Callback<void(crypto::ScopedPK11Slot)>& callback) crypto 23 chrome/browser/net/nss_context_chromeos.cc crypto::ScopedPK11Slot private_slot(crypto::GetPrivateSlotForChromeOSUser( crypto 50 chrome/browser/net/nss_context_chromeos.cc void DidGetPrivateSlot(crypto::ScopedPK11Slot private_slot) { crypto 53 chrome/browser/net/nss_context_chromeos.cc crypto::GetPublicSlotForChromeOSUser(username_hash_), crypto 79 chrome/browser/net/nss_context_chromeos.cc crypto::ScopedPK11Slot GetPublicNSSKeySlotForResourceContext( crypto 82 chrome/browser/net/nss_context_chromeos.cc return crypto::GetPublicSlotForChromeOSUser(GetUsername(context)); crypto 85 chrome/browser/net/nss_context_chromeos.cc crypto::ScopedPK11Slot GetPrivateNSSKeySlotForResourceContext( crypto 87 chrome/browser/net/nss_context_chromeos.cc const base::Callback<void(crypto::ScopedPK11Slot)>& callback) { crypto 89 chrome/browser/net/nss_context_chromeos.cc return crypto::GetPrivateSlotForChromeOSUser(GetUsername(context), callback); crypto 11 chrome/browser/net/nss_context_linux.cc crypto::ScopedPK11Slot GetPublicNSSKeySlotForResourceContext( crypto 14 chrome/browser/net/nss_context_linux.cc return crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()); crypto 17 chrome/browser/net/nss_context_linux.cc crypto::ScopedPK11Slot GetPrivateNSSKeySlotForResourceContext( crypto 19 chrome/browser/net/nss_context_linux.cc const base::Callback<void(crypto::ScopedPK11Slot)>& callback) { crypto 21 chrome/browser/net/nss_context_linux.cc return crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot()); crypto 146 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc crypto::RandBytes(rand, 3 * sizeof(rand[0])); crypto 149 chrome/browser/password_manager/password_store_factory.cc crypto::AppleKeychain* keychain = crypto 152 chrome/browser/password_manager/password_store_factory.cc new crypto::MockAppleKeychain() : new crypto::AppleKeychain(); crypto 29 chrome/browser/password_manager/password_store_mac.cc using crypto::AppleKeychain; crypto 16 chrome/browser/password_manager/password_store_mac.h namespace crypto { crypto 32 chrome/browser/password_manager/password_store_mac.h crypto::AppleKeychain* keychain, crypto 92 chrome/browser/password_manager/password_store_mac.h scoped_ptr<crypto::AppleKeychain> keychain_; crypto 16 chrome/browser/password_manager/password_store_mac_internal.h using crypto::AppleKeychain; crypto 25 chrome/browser/password_manager/password_store_mac_unittest.cc using crypto::MockAppleKeychain; crypto 64 chrome/browser/password_manager/password_store_mac_unittest.cc crypto::AppleKeychain* keychain, crypto 91 chrome/browser/policy/test/local_policy_test_server.cc const crypto::RSAPrivateKey* key, const std::string& signature) { crypto 18 chrome/browser/policy/test/local_policy_test_server.h namespace crypto { crypto 44 chrome/browser/policy/test/local_policy_test_server.h bool SetSigningKeyAndSignature(const crypto::RSAPrivateKey* key, crypto 23 chrome/browser/prefs/pref_hash_calculator.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 37 chrome/browser/prefs/pref_hash_calculator.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 61 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 305 chrome/browser/prerender/prerender_local_predictor.cc scoped_ptr<crypto::SecureHash> hash( crypto 306 chrome/browser/prerender/prerender_local_predictor.cc crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 414 chrome/browser/prerender/prerender_local_predictor.cc scoped_ptr<crypto::SecureHash> hash( crypto 415 chrome/browser/prerender/prerender_local_predictor.cc crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 13 chrome/browser/profile_resetter/jtl_foundation.cc Hasher::Hasher(const std::string& seed) : hmac_(crypto::HMAC::SHA256) { crypto 186 chrome/browser/profile_resetter/jtl_foundation.h crypto::HMAC hmac_; crypto 744 chrome/browser/profile_resetter/jtl_interpreter.cc crypto::SHA256HashString(program_, digest, arraysize(digest)); crypto 255 chrome/browser/profiles/profile_io_data.cc &crypto::InitializeTPMForChromeOSUser, username_hash, slot_id)); crypto 289 chrome/browser/profiles/profile_io_data.cc if (!crypto::InitializeNSSForChromeOSUser( crypto 297 chrome/browser/profiles/profile_io_data.cc if (crypto::IsTPMTokenEnabledForNSS()) { crypto 298 chrome/browser/profiles/profile_io_data.cc if (crypto::IsTPMTokenReady(base::Bind( crypto 305 chrome/browser/profiles/profile_io_data.cc crypto::InitializePrivateSoftwareSlotForChromeOSUser(username_hash); crypto 857 chrome/browser/profiles/profile_io_data.cc delegate.PassAs<crypto::NSSCryptoModuleDelegate>()); crypto 989 chrome/browser/profiles/profile_io_data.cc crypto::ScopedPK11Slot public_slot = crypto 990 chrome/browser/profiles/profile_io_data.cc crypto::GetPublicSlotForChromeOSUser(username_hash_); crypto 121 chrome/browser/renderer_host/pepper/device_id_fetcher.cc crypto::RandBytes(salt_bytes, arraysize(salt_bytes)); crypto 167 chrome/browser/renderer_host/pepper/device_id_fetcher.cc crypto::SHA256HashString(input, &id_buf, sizeof(id_buf)); crypto 173 chrome/browser/renderer_host/pepper/device_id_fetcher.cc crypto::SHA256HashString(input, &id_buf, sizeof(id_buf)); crypto 633 chrome/browser/safe_browsing/client_side_detection_service.cc if (model.bad_subnet(i).prefix().size() != crypto::kSHA256Length) { crypto 553 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet->set_prefix(std::string(crypto::kSHA256Length, '.')); crypto 557 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet->set_prefix(std::string(crypto::kSHA256Length, '.')); crypto 568 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet->set_prefix(std::string(crypto::kSHA256Length, '.')); crypto 572 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet->set_prefix(std::string(crypto::kSHA256Length, ',')); crypto 576 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet->set_prefix(std::string(crypto::kSHA256Length, '.')); crypto 580 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet->set_prefix(std::string(crypto::kSHA256Length, '.')); crypto 588 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(bad_subnets[mask].count(std::string(crypto::kSHA256Length, '.'))); crypto 589 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(bad_subnets[mask].count(std::string(crypto::kSHA256Length, ','))); crypto 593 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(bad_subnets[mask].count(std::string(crypto::kSHA256Length, '.'))); crypto 597 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(bad_subnets[mask].count(std::string(crypto::kSHA256Length, '.'))); crypto 1654 chrome/browser/safe_browsing/safe_browsing_database.cc DCHECK_EQ(crypto::kSHA256Length, arraysize(it->full_hash.full_hash)); crypto 1675 chrome/browser/safe_browsing/safe_browsing_database.cc << " raw:" << base::HexEncode(full_hash, crypto::kSHA256Length) crypto 38 chrome/browser/safe_browsing/safe_browsing_database_unittest.cc std::string hash(crypto::kSHA256Length, '\0'); crypto 24 chrome/browser/safe_browsing/safe_browsing_util.cc crypto::SHA256HashString(str, &h.full_hash, sizeof(h.full_hash)); crypto 535 chrome/browser/safe_browsing/safe_browsing_util.cc DCHECK_EQ(crypto::kSHA256Length, hash_in.size()); crypto 537 chrome/browser/safe_browsing/safe_browsing_util.cc memcpy(hash_out.full_hash, hash_in.data(), crypto::kSHA256Length); crypto 542 chrome/browser/safe_browsing/safe_browsing_util.cc DCHECK_EQ(crypto::kSHA256Length, sizeof(hash.full_hash)); crypto 43 chrome/browser/signin/local_auth.cc scoped_ptr<crypto::SymmetricKey> password_key( crypto 44 chrome/browser/signin/local_auth.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 45 chrome/browser/signin/local_auth.cc crypto::SymmetricKey::AES, crypto 115 chrome/browser/signin/local_auth.cc crypto::RandBytes(WriteInto(&salt_str, kHash1Bytes + 1), kHash1Bytes); crypto 183 chrome/browser/signin/local_auth.cc return crypto::SecureMemEqual(password_saved, password_check, crypto 730 chrome/browser/ssl/ssl_browser_tests.cc crypto::ScopedTestNSSDB test_nssdb; crypto 312 chrome/browser/sync/glue/bookmark_change_processor.cc syncer::Cryptographer* crypto = trans.GetCryptographer(); crypto 317 chrome/browser/sync/glue/bookmark_change_processor.cc const bool can_decrypt = crypto->CanDecrypt(specifics.encrypted()); crypto 537 chrome/browser/sync/glue/generic_change_processor.cc syncer::Cryptographer* crypto = trans.GetCryptographer(); crypto 542 chrome/browser/sync/glue/generic_change_processor.cc const bool can_decrypt = crypto->CanDecrypt(specifics.encrypted()); crypto 134 chrome/browser/sync/glue/typed_url_change_processor.cc syncer::Cryptographer* crypto = trans->GetCryptographer(); crypto 139 chrome/browser/sync/glue/typed_url_change_processor.cc const bool can_decrypt = crypto->CanDecrypt(specifics.encrypted()); crypto 29 chrome/browser/ui/crypto_module_delegate_nss.cc base::Callback<void(crypto::ScopedPK11Slot)> get_slot_callback; crypto 42 chrome/browser/ui/crypto_module_delegate_nss.cc crypto::ScopedPK11Slot ChromeNSSCryptoModuleDelegate::RequestSlot() { crypto 92 chrome/browser/ui/crypto_module_delegate_nss.cc crypto::ScopedPK11Slot slot) { crypto 98 chrome/browser/ui/crypto_module_delegate_nss.cc crypto::CryptoModuleBlockingPasswordDelegate* crypto 24 chrome/browser/ui/crypto_module_delegate_nss.h : public crypto::NSSCryptoModuleDelegate { crypto 44 chrome/browser/ui/crypto_module_delegate_nss.h virtual crypto::ScopedPK11Slot RequestSlot() OVERRIDE; crypto 56 chrome/browser/ui/crypto_module_delegate_nss.h void DidGetSlot(const base::Closure& callback, crypto::ScopedPK11Slot slot); crypto 70 chrome/browser/ui/crypto_module_delegate_nss.h crypto::ScopedPK11Slot slot_; crypto 76 chrome/browser/ui/crypto_module_delegate_nss.h crypto::CryptoModuleBlockingPasswordDelegate* crypto 47 chrome/browser/ui/metro_pin_tab_helper_win.cc uint8 hash[crypto::kSHA256Length]; crypto 48 chrome/browser/ui/metro_pin_tab_helper_win.cc crypto::SHA256HashString(base::UTF16ToUTF8(url_str), hash, sizeof(hash)); crypto 46 chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc base::Bind(&crypto::IsTPMTokenReady, base::Closure()), crypto 72 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc test_nssdb_.reset(new crypto::ScopedTestNSSDB()); crypto 181 chrome/browser/ui/webui/options/certificate_manager_browsertest.cc scoped_ptr<crypto::ScopedTestNSSDB> test_nssdb_; crypto 81 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::EnsureNSSInit(); crypto 96 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::NSSDestroyer<CERTCertificate, CERT_DestroyCertificate> > crypto 111 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::ScopedSECKEYPublicKey ca_public_key( crypto 139 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::ScopedSECKEYPublicKey public_key(CERT_ExtractPublicKey(cert.get())); crypto 169 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::EnsureNSSInit(); crypto 176 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::ScopedSECKEYPublicKey public_key( crypto 211 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::EnsureNSSInit(); crypto 218 chrome/common/extensions/api/networking_private/networking_private_crypto.cc scoped_ptr<crypto::RSAPrivateKey> private_key( crypto 219 chrome/common/extensions/api/networking_private/networking_private_crypto.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(private_key_data)); crypto 19 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc NetworkingPrivateCrypto crypto; crypto 21 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc if (crypto.DecryptByteString(private_key_pem, encrypted, &decrypted)) crypto 92 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc NetworkingPrivateCrypto crypto; crypto 94 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_TRUE(crypto.VerifyCredentials( crypto 99 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_FALSE(crypto.VerifyCredentials( crypto 103 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_FALSE(crypto.VerifyCredentials( crypto 107 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_FALSE(crypto.VerifyCredentials( crypto 113 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_FALSE(crypto.VerifyCredentials( crypto 119 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc NetworkingPrivateCrypto crypto; crypto 154 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_TRUE(crypto.EncryptByteString(public_key, plain, &encrypted_output)); crypto 159 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_TRUE(crypto.EncryptByteString(public_key, plain, &encrypted_output)); crypto 162 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc EXPECT_FALSE(crypto.EncryptByteString( crypto 167 chrome/common/extensions/api/networking_private/networking_private_crypto_unittest.cc crypto.EncryptByteString(kBadKeyData, kTestData, &encrypted_output)); crypto 202 chrome/common/net/x509_certificate_model_nss.cc *issued = crypto::PRTimeToBaseTime(pr_issued); crypto 203 chrome/common/net/x509_certificate_model_nss.cc *expires = crypto::PRTimeToBaseTime(pr_expires); crypto 335 chrome/common/net/x509_certificate_model_nss.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(1024)); crypto 62 chrome/installer/util/auto_launch_util.cc crypto::SHA256HashString(input, hash, sizeof(hash)); crypto 29 chrome/plugin/chrome_content_plugin_client.cc crypto::ForceNSSNoDBInit(); crypto 30 chrome/plugin/chrome_content_plugin_client.cc crypto::EnsureNSSInit(); crypto 293 chrome/renderer/chrome_render_process_observer.cc crypto::InitNSSSafely(); crypto 194 chrome/renderer/safe_browsing/phishing_classifier.cc crypto::SHA256HashString(it->first), it->second); crypto 67 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(url_tld_token_net_)); crypto 68 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(page_link_domain_phishing_)); crypto 69 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(page_term_login_)); crypto 70 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString("login")); crypto 71 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(features::kUrlTldToken + crypto 73 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(features::kPageLinkDomain + crypto 75 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(features::kPageTerm + crypto 77 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString("login")); crypto 241 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc hashes_to_check[crypto::SHA256HashString(word_lower)] = word_lower; crypto 251 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc hashes_to_check[crypto::SHA256HashString(current_term)] = current_term; crypto 50 chrome/renderer/safe_browsing/phishing_term_feature_extractor_unittest.cc term_hashes_.insert(crypto::SHA256HashString(*it)); crypto 459 chrome/test/chromedriver/chrome_launcher.cc crypto::SHA256HashString(input, hash, sizeof(hash)); crypto 583 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 595 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 613 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 779 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 827 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 871 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 995 chrome/utility/chrome_content_utility_client.cc NetworkingPrivateCrypto crypto; crypto 996 chrome/utility/chrome_content_utility_client.cc success = crypto.EncryptByteString(public_key, key_data, &ciphertext); crypto 29 chrome/utility/importer/nss_decryptor_system_nss.cc crypto::EnsureNSSInit(); crypto 90 chromeos/cert_loader.cc crypto::ScopedPK11Slot slot(database_->GetPrivateSlot()); crypto 101 chromeos/cert_loader.cc crypto::ScopedPK11Slot slot(database_->GetPrivateSlot()); crypto 38 chromeos/cert_loader_unittest.cc void FailOnPrivateSlotCallback(crypto::ScopedPK11Slot slot) { crypto 56 chromeos/cert_loader_unittest.cc crypto::GetPublicSlotForChromeOSUser(primary_user_.username_hash())); crypto 96 chromeos/cert_loader_unittest.cc crypto::ScopedTestNSSChromeOSUser* user, crypto 102 chromeos/cert_loader_unittest.cc crypto::ScopedPK11Slot private_slot( crypto 103 chromeos/cert_loader_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 109 chromeos/cert_loader_unittest.cc crypto::GetPublicSlotForChromeOSUser(user->username_hash()), crypto 164 chromeos/cert_loader_unittest.cc crypto::ScopedTestNSSChromeOSUser primary_user_; crypto 218 chromeos/cert_loader_unittest.cc crypto::ScopedTestNSSChromeOSUser secondary_user("secondary"); crypto 248 chromeos/cert_loader_unittest.cc crypto::ScopedTestNSSChromeOSUser secondary_user("secondary"); crypto 309 chromeos/cert_loader_unittest.cc primary_db_.reset(new net::NSSCertDatabaseChromeOS(crypto::ScopedPK11Slot(), crypto 310 chromeos/cert_loader_unittest.cc crypto::ScopedPK11Slot())); crypto 213 chromeos/dbus/fake_cryptohome_client.cc std::string(crypto::kTestTPMTokenName), crypto 58 chromeos/network/client_cert_resolver_unittest.cc private_slot_ = crypto::GetPrivateSlotForChromeOSUser( crypto 60 chromeos/network/client_cert_resolver_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()); crypto 63 chromeos/network/client_cert_resolver_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), crypto 64 chromeos/network/client_cert_resolver_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 66 chromeos/network/client_cert_resolver_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 245 chromeos/network/client_cert_resolver_unittest.cc crypto::ScopedTestNSSChromeOSUser user_; crypto 247 chromeos/network/client_cert_resolver_unittest.cc crypto::ScopedPK11Slot private_slot_; crypto 51 chromeos/network/network_cert_migrator_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), crypto 52 chromeos/network/network_cert_migrator_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 54 chromeos/network/network_cert_migrator_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 187 chromeos/network/network_cert_migrator_unittest.cc crypto::ScopedTestNSSChromeOSUser user_; crypto 59 chromeos/network/network_connection_handler_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), crypto 60 chromeos/network/network_connection_handler_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 62 chromeos/network/network_connection_handler_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 187 chromeos/network/network_connection_handler_unittest.cc crypto::ScopedTestNSSChromeOSUser user_; crypto 322 chromeos/network/onc/onc_certificate_importer_impl.cc crypto::ScopedPK11Slot private_slot(target_nssdb_->GetPrivateSlot()); crypto 79 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), crypto 80 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc crypto::GetPublicSlotForChromeOSUser(private_user_.username_hash()))); crypto 175 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc crypto::ScopedTestNSSChromeOSUser user_; crypto 176 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc crypto::ScopedTestNSSChromeOSUser private_user_; crypto 112 chromeos/network/onc/onc_utils.cc scoped_ptr<crypto::SymmetricKey> key( crypto 113 chromeos/network/onc/onc_utils.cc crypto::SymmetricKey::DeriveKeyFromPassword(crypto::SymmetricKey::AES, crypto 132 chromeos/network/onc/onc_utils.cc crypto::HMAC hmac_verifier(crypto::HMAC::SHA1); crypto 139 chromeos/network/onc/onc_utils.cc crypto::Encryptor decryptor; crypto 140 chromeos/network/onc/onc_utils.cc if (!decryptor.Init(key.get(), crypto::Encryptor::CBC, initial_vector)) { crypto 47 chromeos/tpm_token_loader.cc crypto::OpenPersistentNSSDB(); crypto 48 chromeos/tpm_token_loader.cc crypto::EnableTPMTokenForNSS(); crypto 209 chromeos/tpm_token_loader.cc &crypto::InitializeTPMToken, crypto 338 components/autofill/content/browser/wallet/wallet_client.cc crypto::RandBytes(&(one_time_pad_[0]), one_time_pad_.size()); crypto 368 components/nacl/loader/nacl_helper_linux.cc crypto::DisableNSSForkCheck(); crypto 372 components/nacl/loader/nacl_helper_linux.cc crypto::ForceNSSNoDBInit(); crypto 375 components/nacl/loader/nacl_helper_linux.cc crypto::LoadNSSLibraries(); crypto 44 components/nacl/loader/nacl_validation_query.cc hasher_(crypto::HMAC::SHA256), crypto 55 components/nacl/loader/nacl_validation_query.cc crypto::ForceNSSNoDBInit(); crypto 75 components/nacl/loader/nacl_validation_query.h crypto::HMAC hasher_; crypto 12 components/os_crypt/keychain_password_mac.h namespace crypto { crypto 18 components/os_crypt/keychain_password_mac.h explicit KeychainPassword(const crypto::AppleKeychain& keychain) crypto 31 components/os_crypt/keychain_password_mac.h const crypto::AppleKeychain& keychain_; crypto 35 components/os_crypt/os_crypt_posix.cc crypto::SymmetricKey* GetEncryptionKey() { crypto 44 components/os_crypt/os_crypt_posix.cc scoped_ptr<crypto::SymmetricKey> encryption_key( crypto 45 components/os_crypt/os_crypt_posix.cc crypto::SymmetricKey::DeriveKeyFromPassword(crypto::SymmetricKey::AES, crypto 84 components/os_crypt/os_crypt_posix.cc scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); crypto 89 components/os_crypt/os_crypt_posix.cc crypto::Encryptor encryptor; crypto 90 components/os_crypt/os_crypt_posix.cc if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) crypto 126 components/os_crypt/os_crypt_posix.cc scoped_ptr<crypto::SymmetricKey> encryption_key(GetEncryptionKey()); crypto 131 components/os_crypt/os_crypt_posix.cc crypto::Encryptor encryptor; crypto 132 components/os_crypt/os_crypt_posix.cc if (!encryptor.Init(encryption_key.get(), crypto::Encryptor::CBC, iv)) crypto 523 components/policy/core/common/cloud/cloud_policy_validator.cc crypto::SignatureVerifier verifier; crypto 135 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc builder_.payload().set_secure_hash(crypto::SHA256HashString(kTestPolicy)); crypto 533 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc crypto::SHA256HashString(kInvalidTestPolicy)); crypto 320 components/policy/core/common/cloud/component_cloud_policy_store.cc return crypto::SHA256HashString(data) == secure_hash && crypto 48 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc return crypto::SHA256HashString(kTestPolicy); crypto 234 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc const std::string invalid_data_hash = crypto::SHA256HashString(kInvalidData); crypto 107 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc builder_.payload().set_secure_hash(crypto::SHA256HashString(kTestPolicy)); crypto 208 components/policy/core/common/cloud/component_cloud_policy_updater_unittest.cc crypto::SHA256HashString(kTestPolicy), crypto 257 components/policy/core/common/cloud/external_policy_data_updater.cc if (crypto::SHA256HashString(*data) != request_.hash) { crypto 112 components/policy/core/common/cloud/external_policy_data_updater_unittest.cc crypto::SHA256HashString(kExternalPolicyDataPayload), crypto 166 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::RSAPrivateKey> PolicyBuilder::GetSigningKey() { crypto 168 components/policy/core/common/cloud/policy_builder.cc return scoped_ptr<crypto::RSAPrivateKey>(); crypto 169 components/policy/core/common/cloud/policy_builder.cc return scoped_ptr<crypto::RSAPrivateKey>( crypto 170 components/policy/core/common/cloud/policy_builder.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(raw_signing_key_)); crypto 173 components/policy/core/common/cloud/policy_builder.cc void PolicyBuilder::SetSigningKey(const crypto::RSAPrivateKey& key) { crypto 186 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::RSAPrivateKey> PolicyBuilder::GetNewSigningKey() { crypto 188 components/policy/core/common/cloud/policy_builder.cc return scoped_ptr<crypto::RSAPrivateKey>(); crypto 189 components/policy/core/common/cloud/policy_builder.cc return scoped_ptr<crypto::RSAPrivateKey>( crypto 190 components/policy/core/common/cloud/policy_builder.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(raw_new_signing_key_)); crypto 215 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::RSAPrivateKey> policy_signing_key = GetNewSigningKey(); crypto 227 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::RSAPrivateKey> old_signing_key = GetSigningKey(); crypto 267 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::RSAPrivateKey> PolicyBuilder::CreateTestSigningKey() { crypto 270 components/policy/core/common/cloud/policy_builder.cc return scoped_ptr<crypto::RSAPrivateKey>( crypto 271 components/policy/core/common/cloud/policy_builder.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(raw_signing_key)); crypto 275 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::RSAPrivateKey> PolicyBuilder::CreateTestOtherSigningKey() { crypto 278 components/policy/core/common/cloud/policy_builder.cc return scoped_ptr<crypto::RSAPrivateKey>( crypto 279 components/policy/core/common/cloud/policy_builder.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(raw_new_signing_key)); crypto 295 components/policy/core/common/cloud/policy_builder.cc crypto::RSAPrivateKey* key, crypto 297 components/policy/core/common/cloud/policy_builder.cc scoped_ptr<crypto::SignatureCreator> signature_creator( crypto 298 components/policy/core/common/cloud/policy_builder.cc crypto::SignatureCreator::Create(key)); crypto 59 components/policy/core/common/cloud/policy_builder.h scoped_ptr<crypto::RSAPrivateKey> GetSigningKey(); crypto 60 components/policy/core/common/cloud/policy_builder.h void SetSigningKey(const crypto::RSAPrivateKey& key); crypto 69 components/policy/core/common/cloud/policy_builder.h scoped_ptr<crypto::RSAPrivateKey> GetNewSigningKey(); crypto 84 components/policy/core/common/cloud/policy_builder.h static scoped_ptr<crypto::RSAPrivateKey> CreateTestSigningKey(); crypto 85 components/policy/core/common/cloud/policy_builder.h static scoped_ptr<crypto::RSAPrivateKey> CreateTestOtherSigningKey(); crypto 98 components/policy/core/common/cloud/policy_builder.h crypto::RSAPrivateKey* key, crypto 32 components/rappor/byte_vector_utils.cc bool HMAC_Rotate(const crypto::HMAC& hmac, crypto 34 components/rappor/byte_vector_utils.cc crypto::HMAC* result) { crypto 45 components/rappor/byte_vector_utils.cc bool HMAC_Rehash(const crypto::HMAC& hmac, ByteVector* value) { crypto 57 components/rappor/byte_vector_utils.cc const crypto::HMAC& hmac1, crypto 59 components/rappor/byte_vector_utils.cc crypto::HMAC* out_hmac) { crypto 61 components/rappor/byte_vector_utils.cc crypto::HMAC temp_hmac(crypto::HMAC::SHA256); crypto 62 components/rappor/byte_vector_utils.cc crypto::HMAC* hmac2 = provided_data.size() > 0 ? &temp_hmac : out_hmac; crypto 118 components/rappor/byte_vector_utils.cc crypto::RandBytes(&bytes[0], bytes.size()); crypto 140 components/rappor/byte_vector_utils.cc hmac_(crypto::HMAC::SHA256), crypto 151 components/rappor/byte_vector_utils.cc crypto::HMAC hmac1(crypto::HMAC::SHA256); crypto 167 components/rappor/byte_vector_utils.cc hmac_(crypto::HMAC::SHA256), crypto 98 components/rappor/byte_vector_utils.h crypto::HMAC hmac_; crypto 70 components/signin/core/browser/signin_internals_util.cc crypto::SHA256HashString(str, &hash_val[0], kTruncateSize); crypto 744 content/app/content_main_runner.cc crypto::EarlySetupForNSSInit(); crypto 403 content/browser/browser_main_loop.cc crypto::EnsureNSPRInit(); crypto 45 content/browser/download/base_file.cc memcpy(sha256_hash_, kEmptySha256Hash, crypto::kSHA256Length); crypto 47 content/browser/download/base_file.cc secure_hash_.reset(crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 197 content/browser/download/base_file.cc secure_hash_->Finish(sha256_hash_, crypto::kSHA256Length); crypto 234 content/browser/download/base_file.cc return (hash.size() == crypto::kSHA256Length && crypto 235 content/browser/download/base_file.cc 0 == memcmp(hash.data(), kEmptySha256Hash, crypto::kSHA256Length)); crypto 24 content/browser/download/base_file.h namespace crypto { crypto 137 content/browser/download/base_file.h static const unsigned char kEmptySha256Hash[crypto::kSHA256Length]; crypto 164 content/browser/download/base_file.h scoped_ptr<crypto::SecureHash> secure_hash_; crypto 166 content/browser/download/base_file.h unsigned char sha256_hash_[crypto::kSHA256Length]; crypto 39 content/browser/download/base_file_unittest.cc static const unsigned char kEmptySha256Hash[crypto::kSHA256Length]; crypto 85 content/browser/download/base_file_unittest.cc secure_hash_.reset(crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 86 content/browser/download/base_file_unittest.cc memcpy(sha256_hash_, kEmptySha256Hash, crypto::kSHA256Length); crypto 95 content/browser/download/base_file_unittest.cc secure_hash_->Finish(sha256_hash_, crypto::kSHA256Length); crypto 212 content/browser/download/base_file_unittest.cc scoped_ptr<crypto::SecureHash> secure_hash_; crypto 214 content/browser/download/base_file_unittest.cc unsigned char sha256_hash_[crypto::kSHA256Length]; crypto 593 content/browser/download/base_file_unittest.cc std::string empty(crypto::kSHA256Length, '\x00'); crypto 595 content/browser/download/base_file_unittest.cc std::string not_empty(crypto::kSHA256Length, '\x01'); crypto 600 content/browser/download/base_file_unittest.cc also_not_empty[crypto::kSHA256Length - 1] = '\x01'; crypto 42 content/browser/media/webrtc_identity_store.cc scoped_ptr<crypto::RSAPrivateKey> key; crypto 49 content/browser/net/sqlite_persistent_cookie_store_unittest.cc scoped_ptr<crypto::SymmetricKey> key_; crypto 50 content/browser/net/sqlite_persistent_cookie_store_unittest.cc crypto::Encryptor encryptor_; crypto 54 content/browser/net/sqlite_persistent_cookie_store_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 55 content/browser/net/sqlite_persistent_cookie_store_unittest.cc crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256)) { crypto 57 content/browser/net/sqlite_persistent_cookie_store_unittest.cc encryptor_.Init(key_.get(), crypto::Encryptor::CBC, iv); crypto 132 content/browser/renderer_host/p2p/socket_host.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 333 content/browser/storage_partition_impl_map.cc crypto::SHA256HashString(partition_name, &buffer[0], crypto 139 content/child/blink_platform_impl.h virtual blink::WebCrypto* crypto() OVERRIDE; crypto 125 content/child/webcrypto/platform_crypto_nss.cc explicit SymKey(crypto::ScopedPK11SymKey key) : key_(key.Pass()) {} crypto 134 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey key_; crypto 141 content/child/webcrypto/platform_crypto_nss.cc explicit PublicKey(crypto::ScopedSECKEYPublicKey key) : key_(key.Pass()) {} crypto 150 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPublicKey key_; crypto 157 content/child/webcrypto/platform_crypto_nss.cc explicit PrivateKey(crypto::ScopedSECKEYPrivateKey key) : key_(key.Pass()) {} crypto 166 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPrivateKey key_; crypto 226 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem param(PK11_ParamFromIV(CKM_AES_CBC_PAD, &iv_item)); crypto 230 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11Context context(PK11_CreateContextBySymKey( crypto 442 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPublicKey public_key(SECKEY_ConvertToPublicKey(key)); crypto 495 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey* unwrapped_key) { crypto 500 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem param_item( crypto 517 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey new_key(PK11_UnwrapSymKey(wrapping_key->key(), crypto 772 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11Slot slot(PK11_GetInternalSlot()); crypto 773 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey pk11_sym_key( crypto 814 content/child/webcrypto/platform_crypto_nss.cc crypto::NSSDestroyer<CERTSubjectPublicKeyInfo, crypto 859 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPublicKey sec_public_key( crypto 883 content/child/webcrypto/platform_crypto_nss.cc const crypto::ScopedSECItem spki_der( crypto 931 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 950 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem encoded_key( crypto 956 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem encoded_key( crypto 984 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11Slot slot(PK11_GetInternalSlot()); crypto 997 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPrivateKey private_key(seckey_private_key); crypto 1140 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem signature_item(SECITEM_AllocItem(NULL, NULL, 0)); crypto 1223 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11Slot slot(PK11_GetInternalKeySlot()); crypto 1265 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPrivateKey scoped_sec_private_key( crypto 1282 content/child/webcrypto/platform_crypto_nss.cc new PublicKey(crypto::ScopedSECKEYPublicKey(sec_public_key)), crypto 1297 content/child/webcrypto/platform_crypto_nss.cc void Init() { crypto::EnsureNSSInit(); } crypto 1325 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11Slot slot(PK11_GetInternalKeySlot()); crypto 1329 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey pk11_key( crypto 1387 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem pubkey_der( crypto 1393 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECKEYPublicKey pubkey( crypto 1427 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedSECItem param_item( crypto 1463 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey unwrapped_key; crypto 1487 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey decrypted; crypto 1559 content/child/webcrypto/platform_crypto_nss.cc crypto::ScopedPK11SymKey unwrapped_key( crypto 98 content/child/webcrypto/platform_crypto_openssl.cc crypto::ScopedOpenSSL<EVP_CIPHER_CTX, EVP_CIPHER_CTX_free> context( crypto 167 content/child/webcrypto/platform_crypto_openssl.cc crypto::OpenSSLErrStackTracer(FROM_HERE); crypto 219 content/child/webcrypto/platform_crypto_openssl.cc crypto::OpenSSLErrStackTracer(FROM_HERE); crypto 237 content/child/webcrypto/platform_crypto_openssl.cc crypto::ScopedOpenSSL<EVP_MD_CTX, EVP_MD_CTX_destroy> digest_context_; crypto 247 content/child/webcrypto/platform_crypto_openssl.cc void Init() { crypto::EnsureOpenSSLInit(); } crypto 283 content/child/webcrypto/platform_crypto_openssl.cc crypto::OpenSSLErrStackTracer(FROM_HERE); crypto 357 content/child/webcrypto/platform_crypto_openssl.cc crypto::ScopedOpenSSLSafeSizeBuffer<EVP_MAX_MD_SIZE> hmac_result( crypto 360 content/child/webcrypto/platform_crypto_openssl.cc crypto::OpenSSLErrStackTracer(FROM_HERE); crypto 177 content/child/webcrypto/shared_crypto.cc crypto::SecureMemEqual( crypto 116 content/ppapi_plugin/ppapi_plugin_main.cc crypto::InitNSSSafely(); crypto 5 content/public/android/java/src/org/chromium/content/browser/crypto/ByteArrayGenerator.java package org.chromium.content.browser.crypto; crypto 5 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java package org.chromium.content.browser.crypto; crypto 20 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java import javax.crypto.Cipher; crypto 21 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java import javax.crypto.KeyGenerator; crypto 22 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java import javax.crypto.spec.IvParameterSpec; crypto 23 content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java import javax.crypto.spec.SecretKeySpec; crypto 5 content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java package org.chromium.content.browser.crypto; crypto 14 content/public/android/javatests/src/org/chromium/content/browser/crypto/CipherFactoryTest.java import javax.crypto.Cipher; crypto 18 content/public/browser/media_device_id.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 36 content/renderer/p2p/socket_client_impl.cc crypto::RandBytes(&random_socket_id_, sizeof(random_socket_id_)); crypto 326 content/zygote/zygote_main_linux.cc crypto::LoadNSSLibraries(); crypto 19 crypto/apple_keychain.h namespace crypto { crypto 13 crypto/capi_util.h namespace crypto { crypto 13 crypto/cssm_init.h namespace crypto { crypto 11 crypto/curve25519.h namespace crypto { crypto 26 crypto/ec_private_key.h namespace crypto { crypto 39 crypto/ec_private_key_nss.cc crypto::EnsureNSSInit(); crypto 40 crypto/ec_private_key_nss.cc crypto::ScopedPK11Slot slot(GetTempKeySlot()); crypto 19 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair1( crypto 20 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::Create()); crypto 21 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair2( crypto 22 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::Create()); crypto 46 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair3( crypto 47 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 49 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair4( crypto 50 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 82 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair1( crypto 83 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::Create()); crypto 92 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair2( crypto 93 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 128 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair_nss( crypto 129 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 210 crypto/ec_private_key_unittest.cc scoped_ptr<crypto::ECPrivateKey> keypair_openssl( crypto 211 crypto/ec_private_key_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 14 crypto/ec_signature_creator.h namespace crypto { crypto 11 crypto/ec_signature_creator_impl.h namespace crypto { crypto 20 crypto/ec_signature_creator_unittest.cc scoped_ptr<crypto::ECPrivateKey> key_original( crypto 21 crypto/ec_signature_creator_unittest.cc crypto::ECPrivateKey::Create()); crypto 30 crypto/ec_signature_creator_unittest.cc scoped_ptr<crypto::ECPrivateKey> key( crypto 31 crypto/ec_signature_creator_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 36 crypto/ec_signature_creator_unittest.cc scoped_ptr<crypto::ECSignatureCreator> signer( crypto 37 crypto/ec_signature_creator_unittest.cc crypto::ECSignatureCreator::Create(key.get())); crypto 66 crypto/ec_signature_creator_unittest.cc crypto::SignatureVerifier verifier; crypto 21 crypto/encryptor.h namespace crypto { crypto 15 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> key( crypto 16 crypto/encryptor_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 17 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256)); crypto 20 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 24 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); crypto 39 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> key( crypto 40 crypto/encryptor_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 41 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256)); crypto 46 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> wrong_key( crypto 47 crypto/encryptor_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 48 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, "wrongword", "sweetest", 1000, 256)); crypto 53 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> wrong_key2( crypto 54 crypto/encryptor_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 55 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, "wrongword+", "sweetest", 1000, 256)); crypto 59 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> wrong_key3( crypto 60 crypto/encryptor_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 61 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, "wrongwordx", "sweetest", 1000, 256)); crypto 64 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 68 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv)); crypto 96 crypto/encryptor_unittest.cc crypto::Encryptor decryptor; crypto 97 crypto/encryptor_unittest.cc EXPECT_TRUE(decryptor.Init(wrong_key.get(), crypto::Encryptor::CBC, iv)); crypto 104 crypto/encryptor_unittest.cc crypto::Encryptor decryptor2; crypto 105 crypto/encryptor_unittest.cc EXPECT_TRUE(decryptor2.Init(wrong_key2.get(), crypto::Encryptor::CBC, iv)); crypto 110 crypto/encryptor_unittest.cc crypto::Encryptor decryptor3; crypto 111 crypto/encryptor_unittest.cc EXPECT_TRUE(decryptor3.Init(wrong_key3.get(), crypto::Encryptor::CBC, iv)); crypto 189 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 190 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key_str)); crypto 193 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 194 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CTR, "")); crypto 221 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 222 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key_str)); crypto 225 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 226 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CTR, "")); crypto 284 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> key( crypto 285 crypto/encryptor_unittest.cc crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 128)); crypto 290 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 291 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CTR, "")); crypto 321 crypto/encryptor_unittest.cc crypto::Encryptor::Counter counter1( crypto 336 crypto/encryptor_unittest.cc crypto::Encryptor::Counter counter2( crypto 348 crypto/encryptor_unittest.cc crypto::Encryptor::Counter counter3( crypto 407 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 408 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 411 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 415 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 440 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 441 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 444 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 447 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 466 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 467 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 470 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 473 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 491 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 492 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 495 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 498 crypto/encryptor_unittest.cc EXPECT_FALSE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 505 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 506 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 509 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 510 crypto/encryptor_unittest.cc EXPECT_FALSE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 519 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 520 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 523 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 526 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 538 crypto/encryptor_unittest.cc scoped_ptr<crypto::SymmetricKey> sym_key(crypto::SymmetricKey::Import( crypto 539 crypto/encryptor_unittest.cc crypto::SymmetricKey::AES, key)); crypto 542 crypto/encryptor_unittest.cc crypto::Encryptor encryptor; crypto 545 crypto/encryptor_unittest.cc EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv)); crypto 8 crypto/ghash.h namespace crypto { crypto 16 crypto/hkdf.h namespace crypto { crypto 12 crypto/hkdf_unittest.cc using crypto::HKDF; crypto 17 crypto/hmac.h namespace crypto { crypto 77 crypto/hmac_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 146 crypto/hmac_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 172 crypto/hmac_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA256); crypto 213 crypto/hmac_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 229 crypto/hmac_unittest.cc crypto::HMAC hmac2(crypto::HMAC::SHA256); crypto 238 crypto/hmac_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 252 crypto/hmac_unittest.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 14 crypto/mac_security_services_lock.h namespace crypto { crypto 18 crypto/mock_apple_keychain.h namespace crypto { crypto 13 crypto/nss_crypto_module_delegate.h namespace crypto { crypto 116 crypto/nss_util.cc crypto::CryptoModuleBlockingPasswordDelegate* delegate = crypto 117 crypto/nss_util.cc reinterpret_cast<crypto::CryptoModuleBlockingPasswordDelegate*>(arg); crypto 24 crypto/nss_util.h namespace crypto { crypto 22 crypto/nss_util_internal.h namespace crypto { crypto 684 crypto/openpgp_symmetric_encryption.cc crypto::RandBytes(&salt64, sizeof(salt64)); crypto 714 crypto/openpgp_symmetric_encryption.cc crypto::RandBytes(iv, kBlockSize); crypto 13 crypto/openpgp_symmetric_encryption.h namespace crypto { crypto 12 crypto/openssl_util.h namespace crypto { crypto 33 crypto/p224.cc using crypto::p224::FieldElement; crypto 416 crypto/p224.cc using crypto::p224::Point; crypto 14 crypto/p224.h namespace crypto { crypto 78 crypto/p224_spake.cc const crypto::p224::Point kM = { crypto 86 crypto/p224_spake.cc const crypto::p224::Point kN = { crypto 12 crypto/p224_spake.h namespace crypto { crypto 12 crypto/random.h namespace crypto { crypto 25 crypto/random_unittest.cc crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size()); crypto 31 crypto/rsa_private_key.h namespace crypto { crypto 34 crypto/rsa_private_key_nss_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); crypto 36 crypto/rsa_private_key_nss_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_copy( crypto 56 crypto/rsa_private_key_nss_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); crypto 61 crypto/rsa_private_key_nss_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_pair_2( crypto 62 crypto/rsa_private_key_nss_unittest.cc crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); crypto 69 crypto/rsa_private_key_nss_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_pair(RSAPrivateKey::Create(256)); crypto 84 crypto/rsa_private_key_nss_unittest.cc EXPECT_EQ(NULL, crypto::RSAPrivateKey::FindFromPublicKeyInfo(public_key)); crypto 100 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> keypair1( crypto 101 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::Create(1024)); crypto 102 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> keypair2( crypto 103 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::Create(2048)); crypto 117 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> keypair3( crypto 118 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1)); crypto 119 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> keypair4( crypto 120 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2)); crypto 142 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key( crypto 143 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); crypto 145 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_copy(key->Copy()); crypto 184 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key( crypto 185 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); crypto 387 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> keypair1( crypto 388 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input1)); crypto 389 crypto/rsa_private_key_unittest.cc scoped_ptr<crypto::RSAPrivateKey> keypair2( crypto 390 crypto/rsa_private_key_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input2)); crypto 15 crypto/scoped_capi_types.h namespace crypto { crypto 15 crypto/scoped_nss_types.h namespace crypto { crypto 14 crypto/secure_hash.h namespace crypto { crypto 25 crypto/secure_hash_unittest.cc uint8 output3[crypto::kSHA256Length]; crypto 27 crypto/secure_hash_unittest.cc scoped_ptr<crypto::SecureHash> ctx(crypto::SecureHash::Create( crypto 28 crypto/secure_hash_unittest.cc crypto::SecureHash::SHA256)); crypto 33 crypto/secure_hash_unittest.cc for (size_t i = 0; i < crypto::kSHA256Length; i++) crypto 47 crypto/secure_hash_unittest.cc uint8 output1[crypto::kSHA256Length]; crypto 48 crypto/secure_hash_unittest.cc uint8 output2[crypto::kSHA256Length]; crypto 50 crypto/secure_hash_unittest.cc scoped_ptr<crypto::SecureHash> ctx1(crypto::SecureHash::Create( crypto 51 crypto/secure_hash_unittest.cc crypto::SecureHash::SHA256)); crypto 52 crypto/secure_hash_unittest.cc scoped_ptr<crypto::SecureHash> ctx2(crypto::SecureHash::Create( crypto 53 crypto/secure_hash_unittest.cc crypto::SecureHash::SHA256)); crypto 72 crypto/secure_hash_unittest.cc EXPECT_EQ(0, memcmp(output1, output2, crypto::kSHA256Length)); crypto 12 crypto/secure_util.h namespace crypto { crypto 13 crypto/sha2.h namespace crypto { crypto 22 crypto/sha2_unittest.cc uint8 output1[crypto::kSHA256Length]; crypto 23 crypto/sha2_unittest.cc crypto::SHA256HashString(input1, output1, sizeof(output1)); crypto 24 crypto/sha2_unittest.cc for (size_t i = 0; i < crypto::kSHA256Length; i++) crypto 28 crypto/sha2_unittest.cc crypto::SHA256HashString(input1, crypto 47 crypto/sha2_unittest.cc std::string output1 = crypto::SHA256HashString(input1); crypto 48 crypto/sha2_unittest.cc ASSERT_EQ(crypto::kSHA256Length, output1.size()); crypto 49 crypto/sha2_unittest.cc for (size_t i = 0; i < crypto::kSHA256Length; i++) crypto 66 crypto/sha2_unittest.cc uint8 output2[crypto::kSHA256Length]; crypto 67 crypto/sha2_unittest.cc crypto::SHA256HashString(input2, output2, sizeof(output2)); crypto 68 crypto/sha2_unittest.cc for (size_t i = 0; i < crypto::kSHA256Length; i++) crypto 72 crypto/sha2_unittest.cc crypto::SHA256HashString(input2, crypto 90 crypto/sha2_unittest.cc uint8 output3[crypto::kSHA256Length]; crypto 91 crypto/sha2_unittest.cc crypto::SHA256HashString(input3, output3, sizeof(output3)); crypto 92 crypto/sha2_unittest.cc for (size_t i = 0; i < crypto::kSHA256Length; i++) crypto 96 crypto/sha2_unittest.cc crypto::SHA256HashString(input3, crypto 23 crypto/signature_creator.h namespace crypto { crypto 26 crypto/signature_creator_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_original( crypto 27 crypto/signature_creator_unittest.cc crypto::RSAPrivateKey::Create(1024)); crypto 32 crypto/signature_creator_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key( crypto 33 crypto/signature_creator_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); crypto 36 crypto/signature_creator_unittest.cc scoped_ptr<crypto::SignatureCreator> signer( crypto 37 crypto/signature_creator_unittest.cc crypto::SignatureCreator::Create(key.get())); crypto 50 crypto/signature_creator_unittest.cc crypto::SignatureVerifier verifier; crypto 63 crypto/signature_creator_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key_original( crypto 64 crypto/signature_creator_unittest.cc crypto::RSAPrivateKey::Create(1024)); crypto 69 crypto/signature_creator_unittest.cc scoped_ptr<crypto::RSAPrivateKey> key( crypto 70 crypto/signature_creator_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); crypto 77 crypto/signature_creator_unittest.cc ASSERT_TRUE(crypto::SignatureCreator::Sign( crypto 87 crypto/signature_creator_unittest.cc crypto::SignatureVerifier verifier; crypto 24 crypto/signature_verifier.h namespace crypto { crypto 203 crypto/signature_verifier_unittest.cc crypto::SignatureVerifier verifier; crypto 1081 crypto/signature_verifier_unittest.cc crypto::SignatureVerifier verifier; crypto 1085 crypto/signature_verifier_unittest.cc ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, crypto 1086 crypto/signature_verifier_unittest.cc crypto::SignatureVerifier::SHA1, crypto 1097 crypto/signature_verifier_unittest.cc ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, crypto 1098 crypto/signature_verifier_unittest.cc crypto::SignatureVerifier::SHA1, crypto 1112 crypto/signature_verifier_unittest.cc ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, crypto 1113 crypto/signature_verifier_unittest.cc crypto::SignatureVerifier::SHA1, crypto 1125 crypto/signature_verifier_unittest.cc ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, crypto 1126 crypto/signature_verifier_unittest.cc crypto::SignatureVerifier::SHA1, crypto 22 crypto/symmetric_key.h namespace crypto { crypto 15 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key( crypto 16 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); crypto 24 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key2( crypto 25 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); crypto 34 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key1( crypto 35 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256)); crypto 40 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key2( crypto 41 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, raw_key1)); crypto 51 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key1( crypto 52 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 53 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, "password", "somesalt", 1024, 160)); crypto 58 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key2( crypto 59 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::Import(crypto::SymmetricKey::HMAC_SHA1, raw_key1)); crypto 69 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::Algorithm algorithm; crypto 92 crypto/symmetric_key_unittest.cc scoped_ptr<crypto::SymmetricKey> key( crypto 93 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::DeriveKeyFromPassword( crypto 111 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 119 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 127 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 137 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 149 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 157 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 165 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 173 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 181 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 189 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 197 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::HMAC_SHA1, crypto 207 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::AES, crypto 215 crypto/symmetric_key_unittest.cc crypto::SymmetricKey::AES, crypto 41 extensions/common/id_util.cc crypto::SHA256HashString(input, hash, sizeof(hash)); crypto 73 google_apis/cup/client_update_protocol.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 91 google_apis/cup/client_update_protocol.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 273 google_apis/cup/client_update_protocol.cc crypto::RandBytes(&entropy[0], entropy.size()); crypto 16 google_apis/cup/client_update_protocol_nss.cc crypto::NSSDestroyer<CERTSubjectPublicKeyInfo, crypto 26 google_apis/cup/client_update_protocol_nss.cc crypto::EnsureNSSInit(); crypto 203 google_apis/gaia/oauth_request_signer.cc crypto::HMAC hmac(crypto::HMAC::SHA1); crypto 446 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java private boolean configureVideo(MediaFormat format, Surface surface, MediaCrypto crypto, crypto 449 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java mMediaCodec.configure(format, surface, crypto, flags); crypto 497 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java private boolean configureAudio(MediaFormat format, MediaCrypto crypto, int flags, crypto 500 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java mMediaCodec.configure(format, null, crypto, flags); crypto 27 media/cast/transport/utility/transport_encryption_handler.cc crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, aes_key)); crypto 28 media/cast/transport/utility/transport_encryption_handler.cc encryptor_.reset(new crypto::Encryptor()); crypto 29 media/cast/transport/utility/transport_encryption_handler.cc encryptor_->Init(key_.get(), crypto::Encryptor::CTR, std::string()); crypto 16 media/cast/transport/utility/transport_encryption_handler.h namespace crypto { crypto 43 media/cast/transport/utility/transport_encryption_handler.h scoped_ptr<crypto::SymmetricKey> key_; crypto 44 media/cast/transport/utility/transport_encryption_handler.h scoped_ptr<crypto::Encryptor> encryptor_; crypto 126 media/cdm/aes_decryptor.cc crypto::SymmetricKey* key) { crypto 131 media/cdm/aes_decryptor.cc crypto::Encryptor encryptor; crypto 132 media/cdm/aes_decryptor.cc if (!encryptor.Init(key, crypto::Encryptor::CTR, "")) { crypto 357 media/cdm/aes_decryptor.cc crypto::SymmetricKey* decryption_key = key->decryption_key(); crypto 475 media/cdm/aes_decryptor.cc decryption_key_.reset(crypto::SymmetricKey::Import( crypto 476 media/cdm/aes_decryptor.cc crypto::SymmetricKey::AES, secret_)); crypto 20 media/cdm/aes_decryptor.h namespace crypto { crypto 82 media/cdm/aes_decryptor.h crypto::SymmetricKey* decryption_key() { return decryption_key_.get(); } crypto 89 media/cdm/aes_decryptor.h scoped_ptr<crypto::SymmetricKey> decryption_key_; crypto 104 net/android/keystore_openssl.cc typedef crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> ScopedEVP_PKEY; crypto 105 net/android/keystore_openssl.cc typedef crypto::ScopedOpenSSL<RSA, RSA_free> ScopedRSA; crypto 106 net/android/keystore_openssl.cc typedef crypto::ScopedOpenSSL<DSA, DSA_free> ScopedDSA; crypto 107 net/android/keystore_openssl.cc typedef crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> ScopedEC_KEY; crypto 108 net/android/keystore_openssl.cc typedef crypto::ScopedOpenSSL<EC_GROUP, EC_GROUP_free> ScopedEC_GROUP; crypto 59 net/android/keystore_unittest.cc typedef crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> ScopedEVP_PKEY; crypto 60 net/android/keystore_unittest.cc typedef crypto::ScopedOpenSSL<RSA, RSA_free> ScopedRSA; crypto 61 net/android/keystore_unittest.cc typedef crypto::ScopedOpenSSL<DSA, DSA_free> ScopedDSA; crypto 62 net/android/keystore_unittest.cc typedef crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> ScopedEC_KEY; crypto 63 net/android/keystore_unittest.cc typedef crypto::ScopedOpenSSL<BIGNUM, BN_free> ScopedBIGNUM; crypto 65 net/android/keystore_unittest.cc typedef crypto::ScopedOpenSSL< crypto 493 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_trace(FROM_HERE); crypto 529 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_trace(FROM_HERE); crypto 565 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_trace(FROM_HERE); crypto 596 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 626 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_trace(FROM_HERE); crypto 650 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 676 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_trace(FROM_HERE); crypto 698 net/android/keystore_unittest.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 16 net/base/keygen_handler.h namespace crypto { crypto 50 net/base/keygen_handler.h scoped_ptr<crypto::NSSCryptoModuleDelegate> delegate); crypto 60 net/base/keygen_handler.h scoped_ptr<crypto::NSSCryptoModuleDelegate> crypto_module_delegate_; crypto 125 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecAccessCreate", err); crypto 139 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecKeychainItemExpor", err); crypto 147 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecAsn1CoderCreate", err); crypto 167 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecAsn1EncodeItem", err); crypto 185 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecAsn1EncodeItem", err); crypto 234 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecKeychainCopyDefault", err); crypto 239 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); crypto 256 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecKeyCreatePair", err); crypto 266 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); crypto 273 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecKeyGetCredentials", err); crypto 279 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); crypto 283 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecKeyGetCSPHandle", err); crypto 289 net/base/keygen_handler_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); crypto 293 net/base/keygen_handler_mac.cc crypto::LogCSSMError("SecKeyGetCSSMKey", err); crypto 303 net/base/keygen_handler_mac.cc crypto::LogCSSMError("CSSM_CSP_CreateSignatureContext", err); crypto 315 net/base/keygen_handler_mac.cc crypto::LogCSSMError("CreateSignatureContext", err); crypto 320 net/base/keygen_handler_mac.cc crypto::LogCSSMError("CSSM_SignData", err); crypto 21 net/base/keygen_handler_nss.cc crypto::EnsureNSSInit(); crypto 23 net/base/keygen_handler_nss.cc crypto::ScopedPK11Slot slot; crypto 27 net/base/keygen_handler_nss.cc slot.reset(crypto::GetPrivateNSSKeySlot()); crypto 48 net/base/keygen_handler_nss.cc scoped_ptr<crypto::NSSCryptoModuleDelegate> delegate) { crypto 18 net/base/keygen_handler_openssl.cc scoped_ptr<crypto::RSAPrivateKey> key( crypto 19 net/base/keygen_handler_openssl.cc crypto::RSAPrivateKey::Create(key_size_in_bits_)); crypto 25 net/base/keygen_handler_openssl.cc crypto::ScopedOpenSSL<NETSCAPE_SPKI, NETSCAPE_SPKI_free> spki( crypto 35 net/base/keygen_handler_unittest.cc crypto::OpenPersistentNSSDB(); crypto 147 net/base/keygen_handler_win.cc crypto::CryptAcquireContextLocked(&provider, key_id_.c_str(), NULL, crypto 153 net/base/keygen_handler_win.cc crypto::ScopedHCRYPTPROV provider_; crypto 180 net/base/keygen_handler_win.cc if (crypto::CryptAcquireContextLocked(key_container.provider_.receive(), crypto 198 net/base/keygen_handler_win.cc crypto::ScopedHCRYPTKEY key; crypto 20 net/base/openssl_private_key_store_android.cc crypto::OpenSSLErrStackTracer err_trace(FROM_HERE); crypto 32 net/base/openssl_private_key_store_android.cc crypto::ScopedOpenSSL< crypto 534 net/base/sdch_manager.cc crypto::SHA256HashString(dictionary_text, binary_hash, sizeof(binary_hash)); crypto 156 net/cert/cert_database_mac.cc base::AutoLock locked(crypto::GetMacSecurityServicesLock()); crypto 52 net/cert/cert_database_nss.cc crypto::EnsureNSSInit(); crypto 83 net/cert/cert_database_nss.cc crypto::ScopedPK11Slot slot(PK11_KeyForCertExists(cert, &key, NULL)); crypto 94 net/cert/cert_database_nss.cc crypto::AutoNSSWriteLock lock; crypto 43 net/cert/cert_database_openssl.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> public_key( crypto 86 net/cert/cert_verify_proc_android.cc crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); crypto 290 net/cert/cert_verify_proc_mac.cc const std::string spki_hash = crypto::SHA256HashString(spki); crypto 547 net/cert/cert_verify_proc_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 42 net/cert/cert_verify_proc_nss.cc crypto::NSSDestroyer<CERTCertificatePolicies, crypto 48 net/cert/cert_verify_proc_nss.cc crypto::NSSDestroyer<CERTCertList, CERT_DestroyCertList> > crypto 294 net/cert/cert_verify_proc_nss.cc const std::string spki_hash = crypto::SHA256HashString(spki); crypto 171 net/cert/cert_verify_proc_openssl.cc crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); crypto 193 net/cert/cert_verify_proc_openssl.cc crypto::EnsureOpenSSLInit(); crypto 200 net/cert/cert_verify_proc_openssl.cc crypto::ScopedOpenSSL<X509_STORE_CTX, X509_STORE_CTX_free> ctx( crypto 203 net/cert/cert_verify_proc_openssl.cc crypto::ScopedOpenSSL<STACK_OF(X509), sk_X509_free_fn> intermediates( crypto 704 net/cert/cert_verify_proc_unittest.cc EXPECT_EQ(HexEncode(kSatvedaSPKIsSHA256[i], crypto::kSHA256Length), crypto 705 net/cert/cert_verify_proc_unittest.cc HexEncode(sha256_hashes[i].data(), crypto::kSHA256Length)); crypto 61 net/cert/cert_verify_proc_win.cc typedef crypto::ScopedCAPIHandle<HCERTCHAINENGINE, FreeChainEngineFunctor> crypto 188 net/cert/cert_verify_proc_win.cc decode_para.pfnAlloc = crypto::CryptAlloc; crypto 189 net/cert/cert_verify_proc_win.cc decode_para.pfnFree = crypto::CryptFree; crypto 362 net/cert/cert_verify_proc_win.cc decode_para.pfnAlloc = crypto::CryptAlloc; crypto 363 net/cert/cert_verify_proc_win.cc decode_para.pfnFree = crypto::CryptFree; crypto 423 net/cert/cert_verify_proc_win.cc const std::string spki_hash = crypto::SHA256HashString(spki); crypto 485 net/cert/cert_verify_proc_win.cc crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); crypto 152 net/cert/crl_set.cc if (data->size() < crypto::kSHA256Length) crypto 154 net/cert/crl_set.cc *out_parent_spki_hash = std::string(data->data(), crypto::kSHA256Length); crypto 155 net/cert/crl_set.cc data->remove_prefix(crypto::kSHA256Length); crypto 75 net/cert/ct_log_verifier_nss.cc crypto::EnsureNSSInit(); crypto 96 net/cert/ct_log_verifier_nss.cc key_id_ = crypto::SHA256HashString(public_key); crypto 42 net/cert/ct_log_verifier_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 55 net/cert/ct_log_verifier_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 57 net/cert/ct_log_verifier_openssl.cc crypto::ScopedOpenSSL<BIO, BIO_free_all> bio( crypto 66 net/cert/ct_log_verifier_openssl.cc key_id_ = crypto::SHA256HashString(public_key); crypto 98 net/cert/ct_log_verifier_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 237 net/cert/ct_objects_extractor_nss.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 491 net/cert/ct_objects_extractor_nss.cc crypto::SHA256HashString( crypto 528 net/cert/ct_objects_extractor_nss.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 594 net/cert/ct_objects_extractor_nss.cc std::string issuer_key_sha256_hash = crypto::SHA256HashString(issuer_spk); crypto 580 net/cert/ev_root_ca_metadata.cc crypto::EnsureNSSInit(); crypto 66 net/cert/ev_root_ca_metadata_unittest.cc crypto::ScopedPLArenaPool pool(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 74 net/cert/jwk_serializer_nss.cc crypto::NSSDestroyer<CERTSubjectPublicKeyInfo, crypto 85 net/cert/jwk_serializer_nss.cc crypto::EnsureNSSInit(); crypto 94 net/cert/nss_cert_database.cc crypto::ScopedPK11Slot NSSCertDatabase::GetPublicSlot() const { crypto 95 net/cert/nss_cert_database.cc return crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()); crypto 98 net/cert/nss_cert_database.cc crypto::ScopedPK11Slot NSSCertDatabase::GetPrivateSlot() const { crypto 99 net/cert/nss_cert_database.cc return crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot()); crypto 103 net/cert/nss_cert_database.cc crypto::ScopedPK11Slot slot(GetPublicSlot()); crypto 108 net/cert/nss_cert_database.cc crypto::ScopedPK11Slot slot(GetPrivateSlot()); crypto 117 net/cert/nss_cert_database.cc crypto::ScopedPK11SlotList slot_list( crypto 188 net/cert/nss_cert_database.cc crypto::ScopedPK11Slot slot(GetPublicSlot()); crypto 201 net/cert/nss_cert_database.cc crypto::ScopedPK11Slot slot(GetPublicSlot()); crypto 113 net/cert/nss_cert_database.h virtual crypto::ScopedPK11Slot GetPublicSlot() const; crypto 116 net/cert/nss_cert_database.h virtual crypto::ScopedPK11Slot GetPrivateSlot() const; crypto 22 net/cert/nss_cert_database_chromeos.cc crypto::ScopedPK11Slot public_slot, crypto 23 net/cert/nss_cert_database_chromeos.cc crypto::ScopedPK11Slot private_slot) crypto 49 net/cert/nss_cert_database_chromeos.cc crypto::ScopedPK11Slot NSSCertDatabaseChromeOS::GetPublicSlot() const { crypto 50 net/cert/nss_cert_database_chromeos.cc return crypto::ScopedPK11Slot( crypto 54 net/cert/nss_cert_database_chromeos.cc crypto::ScopedPK11Slot NSSCertDatabaseChromeOS::GetPrivateSlot() const { crypto 55 net/cert/nss_cert_database_chromeos.cc return crypto::ScopedPK11Slot( crypto 19 net/cert/nss_cert_database_chromeos.h NSSCertDatabaseChromeOS(crypto::ScopedPK11Slot public_slot, crypto 20 net/cert/nss_cert_database_chromeos.h crypto::ScopedPK11Slot private_slot); crypto 27 net/cert/nss_cert_database_chromeos.h virtual crypto::ScopedPK11Slot GetPublicSlot() const OVERRIDE; crypto 28 net/cert/nss_cert_database_chromeos.h virtual crypto::ScopedPK11Slot GetPrivateSlot() const OVERRIDE; crypto 44 net/cert/nss_cert_database_chromeos.h crypto::ScopedPK11Slot public_slot_; crypto 45 net/cert/nss_cert_database_chromeos.h crypto::ScopedPK11Slot private_slot_; crypto 59 net/cert/nss_cert_database_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), crypto 60 net/cert/nss_cert_database_chromeos_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 62 net/cert/nss_cert_database_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 65 net/cert/nss_cert_database_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), crypto 66 net/cert/nss_cert_database_chromeos_unittest.cc crypto::GetPrivateSlotForChromeOSUser( crypto 68 net/cert/nss_cert_database_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>()))); crypto 99 net/cert/nss_cert_database_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user_1_; crypto 100 net/cert/nss_cert_database_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user_2_; crypto 140 net/cert/nss_cert_database_unittest.cc crypto::ScopedTestNSSDB test_nssdb_; crypto 17 net/cert/nss_profile_filter_chromeos.cc crypto::ScopedPK11SlotList slots_for_cert( crypto 61 net/cert/nss_profile_filter_chromeos.cc void NSSProfileFilterChromeOS::Init(crypto::ScopedPK11Slot public_slot, crypto 62 net/cert/nss_profile_filter_chromeos.cc crypto::ScopedPK11Slot private_slot) { crypto 98 net/cert/nss_profile_filter_chromeos.cc crypto::ScopedPK11SlotList slots_for_cert( crypto 38 net/cert/nss_profile_filter_chromeos.h void Init(crypto::ScopedPK11Slot public_slot, crypto 39 net/cert/nss_profile_filter_chromeos.h crypto::ScopedPK11Slot private_slot); crypto 65 net/cert/nss_profile_filter_chromeos.h crypto::ScopedPK11Slot public_slot_; crypto 66 net/cert/nss_profile_filter_chromeos.h crypto::ScopedPK11Slot private_slot_; crypto 22 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot GetRootCertsSlot() { crypto 23 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::AutoSECMODListReadLock auto_lock; crypto 32 net/cert/nss_profile_filter_chromeos_unittest.cc return crypto::ScopedPK11Slot(PK11_ReferenceSlot(slot)); crypto 35 net/cert/nss_profile_filter_chromeos_unittest.cc return crypto::ScopedPK11Slot(); crypto 71 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot private_slot_1(crypto::GetPrivateSlotForChromeOSUser( crypto 73 net/cert/nss_profile_filter_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>())); crypto 76 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), crypto 81 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot private_slot_2(crypto::GetPrivateSlotForChromeOSUser( crypto 83 net/cert/nss_profile_filter_chromeos_unittest.cc base::Callback<void(crypto::ScopedPK11Slot)>())); crypto 86 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), crypto 97 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user_1_; crypto 98 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user_2_; crypto 116 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot internal_slot(PK11_GetInternalSlot()); crypto 123 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot internal_key_slot(PK11_GetInternalKeySlot()); crypto 133 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot root_certs_slot(GetRootCertsSlot()); crypto 151 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot slot_1( crypto 152 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash())); crypto 154 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::ScopedPK11Slot slot_2( crypto 155 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash())); crypto 133 net/cert/test_root_certs_nss.cc crypto::EnsureNSSInit(); crypto 23 net/cert/test_root_certs_openssl.cc crypto::ClearOpenSSLERRStack(FROM_HERE); crypto 94 net/cert/x509_cert_types_win.cc decode_para.pfnAlloc = crypto::CryptAlloc; crypto 95 net/cert/x509_cert_types_win.cc decode_para.pfnFree = crypto::CryptFree; crypto 78 net/cert/x509_certificate_ios.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 157 net/cert/x509_certificate_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 132 net/cert/x509_certificate_nss.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 176 net/cert/x509_certificate_nss.cc crypto::EnsureNSSInit(); crypto 38 net/cert/x509_certificate_openssl.cc crypto::EnsureOpenSSLInit(); crypto 40 net/cert/x509_certificate_openssl.cc crypto::ScopedOpenSSL<PKCS7, PKCS7_free> pkcs7_cert( crypto 108 net/cert/x509_certificate_openssl.cc crypto::ScopedOpenSSL<GENERAL_NAMES, GENERAL_NAMES_free> alt_names( crypto 178 net/cert/x509_certificate_openssl.cc crypto::EnsureOpenSSLInit(); crypto 185 net/cert/x509_certificate_openssl.cc crypto::ScopedOpenSSL<X509_STORE, X509_STORE_free> store_; crypto 265 net/cert/x509_certificate_openssl.cc crypto::EnsureOpenSSLInit(); crypto 329 net/cert/x509_certificate_openssl.cc crypto::EnsureOpenSSLInit(); crypto 440 net/cert/x509_certificate_openssl.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> scoped_key( crypto 475 net/cert/x509_certificate_openssl.cc crypto::ScopedOpenSSL<STACK_OF(X509_NAME), sk_X509_NAME_free_all> crypto 27 net/cert/x509_certificate_win.cc typedef crypto::ScopedCAPIHandle< crypto 29 net/cert/x509_certificate_win.cc crypto::CAPIDestroyerWithFlags<HCERTSTORE, crypto 59 net/cert/x509_certificate_win.cc decode_para.pfnAlloc = crypto::CryptAlloc; crypto 60 net/cert/x509_certificate_win.cc decode_para.pfnFree = crypto::CryptFree; crypto 62 net/cert/x509_util.cc scoped_ptr<crypto::ECPrivateKey>* key, crypto 64 net/cert/x509_util.cc scoped_ptr<crypto::ECPrivateKey> new_key(crypto::ECPrivateKey::Create()); crypto 85 net/cert/x509_util.cc scoped_ptr<crypto::RSAPrivateKey>* key, crypto 87 net/cert/x509_util.cc scoped_ptr<crypto::RSAPrivateKey> new_key( crypto 88 net/cert/x509_util.cc crypto::RSAPrivateKey::Create(kRSAKeyLength)); crypto 15 net/cert/x509_util.h namespace crypto { crypto 52 net/cert/x509_util.h scoped_ptr<crypto::ECPrivateKey>* key, crypto 56 net/cert/x509_util.h NET_EXPORT_PRIVATE bool CreateDomainBoundCertEC(crypto::ECPrivateKey* key, crypto 86 net/cert/x509_util.h scoped_ptr<crypto::RSAPrivateKey>* key, crypto 92 net/cert/x509_util.h NET_EXPORT bool CreateSelfSignedCert(crypto::RSAPrivateKey* key, crypto 31 net/cert/x509_util_ios.cc crypto::EnsureNSSInit(); crypto 113 net/cert/x509_util_nss.cc crypto::BaseTimeToPRTime(not_valid_before), crypto 114 net/cert/x509_util_nss.cc crypto::BaseTimeToPRTime(not_valid_after)); crypto 219 net/cert/x509_util_nss.cc crypto::NSSDestroyer<CERTName, CERT_DestroyName> > ScopedCERTName; crypto 253 net/cert/x509_util_nss.cc bool CreateSelfSignedCert(crypto::RSAPrivateKey* key, crypto 284 net/cert/x509_util_nss.cc crypto::BaseTimeToPRTime(not_valid_before), crypto 285 net/cert/x509_util_nss.cc crypto::BaseTimeToPRTime(not_valid_after)); crypto 294 net/cert/x509_util_nss.cc bool CreateDomainBoundCertEC(crypto::ECPrivateKey* key, crypto 439 net/cert/x509_util_nss.cc *result = crypto::PRTimeToBaseTime(prtime); crypto 498 net/cert/x509_util_nss.cc crypto::EnsureNSSInit(); crypto 546 net/cert/x509_util_nss.cc crypto::ScopedSECKEYPublicKey key(CERT_ExtractPublicKey(handle)); crypto 37 net/cert/x509_util_nss_unittest.cc crypto::ScopedPLArenaPool arena(PORT_NewArena(DER_DEFAULT_CHUNKSIZE)); crypto 61 net/cert/x509_util_nss_unittest.cc crypto::SignatureVerifier verifier; crypto 151 net/cert/x509_util_nss_unittest.cc scoped_ptr<crypto::ECPrivateKey> private_key; crypto 46 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<ASN1_INTEGER, ASN1_INTEGER_free> asn1_serial( crypto 55 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<ASN1_TIME, ASN1_TIME_free> asn1_not_before_time( crypto 63 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<ASN1_TIME, ASN1_TIME_free> asn1_not_after_time( crypto 90 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509_NAME, X509_NAME_free> name(X509_NAME_new()); crypto 103 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509, X509_free> cert(X509_new()); crypto 215 net/cert/x509_util_openssl.cc crypto::ECPrivateKey* key, crypto 222 net/cert/x509_util_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 224 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509, X509_free> cert( crypto 236 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<ASN1_STRING, ASN1_STRING_free> domain_ia5( crypto 253 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<ASN1_OCTET_STRING, ASN1_OCTET_STRING_free> domain_str( crypto 259 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509_EXTENSION, X509_EXTENSION_free> ext( crypto 270 net/cert/x509_util_openssl.cc bool CreateSelfSignedCert(crypto::RSAPrivateKey* key, crypto 277 net/cert/x509_util_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 278 net/cert/x509_util_openssl.cc crypto::ScopedOpenSSL<X509, X509_free> cert( crypto 25 net/cert/x509_util_openssl_unittest.cc crypto::ScopedOpenSSL<X509, X509_free> cert( crypto 34 net/cert/x509_util_openssl_unittest.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> pub_key( crypto 49 net/cert/x509_util_openssl_unittest.cc crypto::ScopedOpenSSL<ASN1_OBJECT, ASN1_OBJECT_free> oid_obj( crypto 56 net/cert/x509_util_openssl_unittest.cc crypto::ScopedOpenSSL<X509, X509_free> cert( crypto 120 net/cert/x509_util_openssl_unittest.cc scoped_ptr<crypto::ECPrivateKey> private_key( crypto 121 net/cert/x509_util_openssl_unittest.cc crypto::ECPrivateKey::Create()); crypto 58 net/cert/x509_util_unittest.cc scoped_ptr<crypto::RSAPrivateKey> private_key; crypto 169 net/cert/x509_util_unittest.cc scoped_ptr<crypto::RSAPrivateKey> private_key( crypto 170 net/cert/x509_util_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input)); crypto 93 net/http/des.cc crypto::EnsureOpenSSLInit(); crypto 115 net/http/des.cc crypto::EnsureNSSInit(); crypto 174 net/http/des.cc crypto::ScopedHCRYPTPROV provider; crypto 194 net/http/des.cc crypto::ScopedHCRYPTKEY key; crypto 62 net/http/transport_security_persister.cc out.size() != crypto::kSHA256Length) { crypto 58 net/http/transport_security_state.cc char hashed[crypto::kSHA256Length]; crypto 59 net/http/transport_security_state.cc crypto::SHA256HashString(canonicalized_host, hashed, sizeof(hashed)); crypto 42 net/http/transport_security_state_unittest.cc crypto::EnsureOpenSSLInit(); crypto 44 net/http/transport_security_state_unittest.cc crypto::EnsureNSSInit(); crypto 85 net/quic/crypto/aead_base_decrypter_nss.cc crypto::ScopedPK11SymKey aead_key(PK11_ImportSymKey( crypto 79 net/quic/crypto/aead_base_encrypter_nss.cc crypto::ScopedPK11SymKey aead_key(PK11_ImportSymKey( crypto 111 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc crypto::ScopedPK11Context ctx(PK11_CreateContextBySymKey( crypto 189 net/quic/crypto/aes_128_gcm_12_decrypter_nss.cc crypto::GaloisHash ghash(ghash_key); crypto 117 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc crypto::ScopedPK11Context ctx(PK11_CreateContextBySymKey( crypto 195 net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc crypto::GaloisHash ghash(ghash_key); crypto 36 net/quic/crypto/channel_id_openssl.cc crypto::ScopedOpenSSL<EC_GROUP, EC_GROUP_free> p256( crypto 42 net/quic/crypto/channel_id_openssl.cc crypto::ScopedOpenSSL<BIGNUM, BN_free> x(BN_new()), y(BN_new()), crypto 60 net/quic/crypto/channel_id_openssl.cc crypto::ScopedOpenSSL<EC_POINT, EC_POINT_free> point( crypto 68 net/quic/crypto/channel_id_openssl.cc crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> ecdsa_key(EC_KEY_new()); crypto 36 net/quic/crypto/crypto_secret_boxer.cc const size_t len = kBoxNonceSize + plaintext.size() + crypto::kSHA256Length; crypto 45 net/quic/crypto/crypto_secret_boxer.cc scoped_ptr<crypto::SecureHash> sha256(crypto::SecureHash::Create( crypto 46 net/quic/crypto/crypto_secret_boxer.cc crypto::SecureHash::SHA256)); crypto 49 net/quic/crypto/crypto_secret_boxer.cc crypto::kSHA256Length); crypto 59 net/quic/crypto/crypto_secret_boxer.cc if (ciphertext.size() < kBoxNonceSize + crypto::kSHA256Length) { crypto 64 net/quic/crypto/crypto_secret_boxer.cc ciphertext.size() - kBoxNonceSize - crypto::kSHA256Length; crypto 74 net/quic/crypto/crypto_secret_boxer.cc scoped_ptr<crypto::SecureHash> sha256(crypto::SecureHash::Create( crypto 75 net/quic/crypto/crypto_secret_boxer.cc crypto::SecureHash::SHA256)); crypto 76 net/quic/crypto/crypto_secret_boxer.cc sha256->Update(ciphertext.data(), ciphertext.size() - crypto::kSHA256Length); crypto 77 net/quic/crypto/crypto_secret_boxer.cc char sha256_bytes[crypto::kSHA256Length]; crypto 81 net/quic/crypto/crypto_secret_boxer.cc if (0 != memcmp(ciphertext.data() + ciphertext.size() - crypto::kSHA256Length, crypto 82 net/quic/crypto/crypto_secret_boxer.cc sha256_bytes, crypto::kSHA256Length)) { crypto 436 net/quic/crypto/crypto_server_test.cc scoped_ptr<crypto::SecureHash> hash( crypto 437 net/quic/crypto/crypto_server_test.cc crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 99 net/quic/crypto/crypto_utils.cc crypto::HKDF hkdf(premaster_secret, nonce, hkdf_input, key_bytes, crypto 29 net/quic/crypto/curve25519_key_exchange.cc sizeof(ka->private_key_) == crypto::curve25519::kScalarBytes, crypto 31 net/quic/crypto/curve25519_key_exchange.cc COMPILE_ASSERT(sizeof(ka->public_key_) == crypto::curve25519::kBytes, crypto 34 net/quic/crypto/curve25519_key_exchange.cc if (private_key.size() != crypto::curve25519::kScalarBytes) { crypto 40 net/quic/crypto/curve25519_key_exchange.cc crypto::curve25519::kScalarBytes); crypto 41 net/quic/crypto/curve25519_key_exchange.cc crypto::curve25519::ScalarBaseMult(ka->private_key_, ka->public_key_); crypto 47 net/quic/crypto/curve25519_key_exchange.cc uint8 private_key[crypto::curve25519::kScalarBytes]; crypto 66 net/quic/crypto/curve25519_key_exchange.cc if (peer_public_value.size() != crypto::curve25519::kBytes) { crypto 70 net/quic/crypto/curve25519_key_exchange.cc uint8 result[crypto::curve25519::kBytes]; crypto 71 net/quic/crypto/curve25519_key_exchange.cc crypto::curve25519::ScalarMult( crypto 66 net/quic/crypto/p256_key_exchange.h crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> private_key_; crypto 70 net/quic/crypto/p256_key_exchange.h P256KeyExchange(crypto::ECPrivateKey* key_pair, const uint8* public_key); crypto 72 net/quic/crypto/p256_key_exchange.h scoped_ptr<crypto::ECPrivateKey> key_pair_; crypto 31 net/quic/crypto/p256_key_exchange_nss.cc P256KeyExchange::P256KeyExchange(crypto::ECPrivateKey* key_pair, crypto 65 net/quic/crypto/p256_key_exchange_nss.cc scoped_ptr<crypto::ECPrivateKey> key_pair( crypto 66 net/quic/crypto/p256_key_exchange_nss.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 109 net/quic/crypto/p256_key_exchange_nss.cc scoped_ptr<crypto::ECPrivateKey> key_pair(crypto::ECPrivateKey::Create()); crypto 190 net/quic/crypto/p256_key_exchange_nss.cc crypto::ScopedPK11SymKey premaster_secret( crypto 33 net/quic/crypto/p256_key_exchange_openssl.cc crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> private_key( crypto 54 net/quic/crypto/p256_key_exchange_openssl.cc crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> key( crypto 88 net/quic/crypto/p256_key_exchange_openssl.cc crypto::ScopedOpenSSL<EC_POINT, EC_POINT_free> point( crypto 246 net/quic/crypto/proof_verifier_chromium.cc crypto::SignatureVerifier verifier; crypto 253 net/quic/crypto/proof_verifier_chromium.cc crypto::SignatureVerifier::HashAlgorithm hash_alg = crypto 254 net/quic/crypto/proof_verifier_chromium.cc crypto::SignatureVerifier::SHA256; crypto 255 net/quic/crypto/proof_verifier_chromium.cc crypto::SignatureVerifier::HashAlgorithm mask_hash_alg = hash_alg; crypto 41 net/quic/crypto/quic_crypto_server_config.cc using crypto::SecureHash; crypto 186 net/quic/crypto/quic_crypto_server_config.cc crypto::HKDF hkdf(source_address_token_secret, StringPiece() /* no salt */, crypto 38 net/quic/crypto/quic_random.cc crypto::RandBytes(data, len); crypto 139 net/quic/quic_crypto_server_stream.cc scoped_ptr<crypto::SecureHash> hash( crypto 140 net/quic/quic_crypto_server_stream.cc crypto::SecureHash::Create(crypto::SecureHash::SHA256)); crypto 38 net/quic/test_tools/crypto_test_utils_nss.cc crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname); crypto 88 net/quic/test_tools/crypto_test_utils_nss.cc crypto::ECPrivateKey* ecdsa_keypair = HostnameToKey(hostname); crypto 96 net/quic/test_tools/crypto_test_utils_nss.cc typedef std::map<string, crypto::ECPrivateKey*> HostnameToKeyMap; crypto 98 net/quic/test_tools/crypto_test_utils_nss.cc crypto::ECPrivateKey* HostnameToKey(const string& hostname) { crypto 104 net/quic/test_tools/crypto_test_utils_nss.cc crypto::ECPrivateKey* keypair = crypto::ECPrivateKey::Create(); crypto 43 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> ecdsa_key( crypto 53 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EVP_MD_CTX, EvpMdCtxCleanUp> crypto 78 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<ECDSA_SIG, ECDSA_SIG_free> sig( crypto 98 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> ecdsa_key( crypto 122 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<BIGNUM, BN_free> k(BN_new()); crypto 125 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EC_GROUP, EC_GROUP_free> p256( crypto 129 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> ecdsa_key(EC_KEY_new()); crypto 133 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EC_POINT, EC_POINT_free> point( crypto 140 net/quic/test_tools/crypto_test_utils_openssl.cc crypto::ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free> pkey(EVP_PKEY_new()); crypto 87 net/socket/nss_ssl_util.cc crypto::EnsureNSSInit(); crypto 201 net/socket/ssl_client_socket.cc if (!crypto::ECPrivateKey::IsSupported()) { crypto 1426 net/socket/ssl_client_socket_nss.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 2361 net/socket/ssl_client_socket_nss.cc crypto::ScopedPK11Slot slot(PK11_GetInternalSlot()); crypto 2363 net/socket/ssl_client_socket_nss.cc if (!crypto::ECPrivateKey::ImportFromEncryptedPrivateKeyInfo( crypto 2576 net/socket/ssl_client_socket_nss.cc crypto::ECPrivateKey::IsSupported())); crypto 200 net/socket/ssl_client_socket_openssl.cc int MapOpenSSLError(int err, const crypto::OpenSSLErrStackTracer& tracer) { crypto 265 net/socket/ssl_client_socket_openssl.cc crypto::EnsureOpenSSLInit(); crypto 324 net/socket/ssl_client_socket_openssl.cc crypto::ScopedOpenSSL<SSL_CTX, SSL_CTX_free> ssl_ctx_; crypto 369 net/socket/ssl_client_socket_openssl.cc crypto::ScopedOpenSSL<STACK_OF(X509), FreeX509Stack> openssl_chain_; crypto 535 net/socket/ssl_client_socket_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 710 net/socket/ssl_client_socket_openssl.cc crypto::ECPrivateKey::IsSupported()); crypto 794 net/socket/ssl_client_socket_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 946 net/socket/ssl_client_socket_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 1202 net/socket/ssl_client_socket_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 1269 net/socket/ssl_client_socket_openssl.cc crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); crypto 1499 net/socket/ssl_client_socket_openssl.cc scoped_ptr<crypto::ECPrivateKey> ec_private_key( crypto 1500 net/socket/ssl_client_socket_openssl.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 59 net/socket/ssl_client_socket_openssl_unittest.cc typedef crypto::ScopedOpenSSL<BIO, BIO_free_func> ScopedBIO; crypto 60 net/socket/ssl_client_socket_openssl_unittest.cc typedef crypto::ScopedOpenSSL<RSA, RSA_free> ScopedRSA; crypto 61 net/socket/ssl_client_socket_openssl_unittest.cc typedef crypto::ScopedOpenSSL<BIGNUM, BN_free> ScopedBIGNUM; crypto 15 net/socket/ssl_server_socket.h namespace crypto { crypto 59 net/socket/ssl_server_socket.h crypto::RSAPrivateKey* key, crypto 84 net/socket/ssl_server_socket_nss.cc crypto::RSAPrivateKey* key, crypto 96 net/socket/ssl_server_socket_nss.cc crypto::RSAPrivateKey* key, crypto 112 net/socket/ssl_server_socket_nss.cc key_.reset(crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_bytes)); crypto 445 net/socket/ssl_server_socket_nss.cc PK11SlotInfo* slot = crypto::GetPrivateNSSKeySlot(); crypto 29 net/socket/ssl_server_socket_nss.h crypto::RSAPrivateKey* key, crypto 140 net/socket/ssl_server_socket_nss.h scoped_ptr<crypto::RSAPrivateKey> key_; crypto 22 net/socket/ssl_server_socket_openssl.cc crypto::RSAPrivateKey* key, crypto 330 net/socket/ssl_server_socket_unittest.cc scoped_ptr<crypto::RSAPrivateKey> private_key( crypto 331 net/socket/ssl_server_socket_unittest.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_vector)); crypto 33 net/socket/ssl_session_cache_openssl_unittest.cc typedef crypto::ScopedOpenSSL<SSL, SSL_free> ScopedSSL; crypto 110 net/socket/ssl_session_cache_openssl_unittest.cc crypto::EnsureOpenSSLInit(); crypto 145 net/socket/ssl_session_cache_openssl_unittest.cc crypto::ScopedOpenSSL<SSL_CTX, SSL_CTX_free> ctx_; crypto 83 net/spdy/spdy_http_stream_unittest.cc crypto::ECSignatureCreator::SetFactoryForTesting(NULL); crypto 301 net/spdy/spdy_test_util_common.cc MockECSignatureCreator::MockECSignatureCreator(crypto::ECPrivateKey* key) crypto 331 net/spdy/spdy_test_util_common.cc crypto::ECSignatureCreator::SetFactoryForTesting(this); crypto 335 net/spdy/spdy_test_util_common.cc crypto::ECSignatureCreator::SetFactoryForTesting(NULL); crypto 338 net/spdy/spdy_test_util_common.cc crypto::ECSignatureCreator* MockECSignatureCreatorFactory::Create( crypto 339 net/spdy/spdy_test_util_common.cc crypto::ECPrivateKey* key) { crypto 155 net/spdy/spdy_test_util_common.h class MockECSignatureCreator : public crypto::ECSignatureCreator { crypto 157 net/spdy/spdy_test_util_common.h explicit MockECSignatureCreator(crypto::ECPrivateKey* key); crypto 167 net/spdy/spdy_test_util_common.h crypto::ECPrivateKey* key_; crypto 173 net/spdy/spdy_test_util_common.h class MockECSignatureCreatorFactory : public crypto::ECSignatureCreatorFactory { crypto 179 net/spdy/spdy_test_util_common.h virtual crypto::ECSignatureCreator* Create( crypto 180 net/spdy/spdy_test_util_common.h crypto::ECPrivateKey* key) OVERRIDE; crypto 27 net/ssl/client_cert_store_chromeos.cc crypto::ScopedPK11Slot private_slot(crypto::GetPrivateSlotForChromeOSUser( crypto 64 net/ssl/client_cert_store_chromeos.cc crypto::ScopedPK11Slot private_slot) { crypto 65 net/ssl/client_cert_store_chromeos.cc profile_filter_.Init(crypto::GetPublicSlotForChromeOSUser(username_hash_), crypto 71 net/ssl/client_cert_store_chromeos.cc crypto::ScopedPK11Slot public_slot, crypto 72 net/ssl/client_cert_store_chromeos.cc crypto::ScopedPK11Slot private_slot) { crypto 41 net/ssl/client_cert_store_chromeos.h crypto::ScopedPK11Slot private_slot); crypto 45 net/ssl/client_cert_store_chromeos.h void InitForTesting(crypto::ScopedPK11Slot public_slot, crypto 46 net/ssl/client_cert_store_chromeos.h crypto::ScopedPK11Slot private_slot); crypto 25 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()), crypto 26 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot())); crypto 46 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedPK11Slot slot( crypto 47 net/ssl/client_cert_store_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(username_hash)); crypto 80 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user("scopeduser"); crypto 116 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user("scopeduser"); crypto 151 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user1("scopeduser1"); crypto 153 net/ssl/client_cert_store_chromeos_unittest.cc crypto::ScopedTestNSSChromeOSUser user2("scopeduser2"); crypto 56 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 68 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 74 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 196 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 209 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 221 net/ssl/client_cert_store_mac.cc base::AutoLock lock(crypto::GetMacSecurityServicesLock()); crypto 30 net/ssl/client_cert_store_nss.cc scoped_ptr<crypto::CryptoModuleBlockingPasswordDelegate> password_delegate; crypto 117 net/ssl/client_cert_store_nss.cc scoped_ptr<crypto::CryptoModuleBlockingPasswordDelegate> password_delegate, crypto 17 net/ssl/client_cert_store_nss.h namespace crypto { crypto 25 net/ssl/client_cert_store_nss.h typedef base::Callback<crypto::CryptoModuleBlockingPasswordDelegate*( crypto 52 net/ssl/client_cert_store_nss.h scoped_ptr<crypto::CryptoModuleBlockingPasswordDelegate> crypto 172 net/ssl/client_cert_store_win.cc typedef crypto::ScopedCAPIHandle< crypto 174 net/ssl/client_cert_store_win.cc crypto::CAPIDestroyerWithFlags<HCERTSTORE, crypto 101 net/ssl/server_bound_cert_service.cc scoped_ptr<crypto::ECPrivateKey> key; crypto 361 net/ssl/server_bound_cert_service_unittest.cc scoped_ptr<crypto::ECPrivateKey> private_key( crypto 362 net/ssl/server_bound_cert_service_unittest.cc crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo( crypto 43 net/test/run_all_unittests.cc crypto::EnsureNSPRInit(); crypto 139 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp crypto::AutoNSSWriteLock lock; crypto 162 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp crypto::AutoNSSWriteLock lock; crypto 234 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp crypto::AutoNSSWriteLock lock; crypto 242 net/third_party/mozilla_security_manager/nsKeygenHandler.cpp crypto::AutoNSSWriteLock lock; crypto 120 net/url_request/url_fetcher_impl_unittest.cc crypto::EnsureNSSInit(); crypto 79 net/websockets/websocket_basic_handshake_stream.cc crypto::RandBytes(string_as_array(&raw_challenge), raw_challenge.length()); crypto 21 remoting/base/rsa_key_pair.cc RsaKeyPair::RsaKeyPair(scoped_ptr<crypto::RSAPrivateKey> key) crypto 30 remoting/base/rsa_key_pair.cc scoped_ptr<crypto::RSAPrivateKey> key(crypto::RSAPrivateKey::Create(2048)); crypto 48 remoting/base/rsa_key_pair.cc scoped_ptr<crypto::RSAPrivateKey> key( crypto 49 remoting/base/rsa_key_pair.cc crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_buf)); crypto 80 remoting/base/rsa_key_pair.cc scoped_ptr<crypto::SignatureCreator> signature_creator( crypto 81 remoting/base/rsa_key_pair.cc crypto::SignatureCreator::Create(key_.get())); crypto 13 remoting/base/rsa_key_pair.h namespace crypto { crypto 41 remoting/base/rsa_key_pair.h crypto::RSAPrivateKey* private_key() { return key_.get(); } crypto 45 remoting/base/rsa_key_pair.h RsaKeyPair(scoped_ptr<crypto::RSAPrivateKey> key); crypto 48 remoting/base/rsa_key_pair.h scoped_ptr<crypto::RSAPrivateKey> key_; crypto 220 remoting/client/plugin/chromoting_instance.cc crypto::RandBytes(random_seed, sizeof(random_seed)); crypto 102 remoting/host/token_validator_factory_impl.cc crypto::RandBytes(WriteInto(&nonce_bytes, kNonceLength + 1), kNonceLength); crypto 27 remoting/protocol/auth_util.cc std::string sha256 = crypto::SHA256HashString(jid + " " + access_code); crypto 55 remoting/protocol/auth_util.cc crypto::HMAC response(crypto::HMAC::SHA256); crypto 62 remoting/protocol/authentication_method.cc crypto::HMAC response(crypto::HMAC::SHA256); crypto 51 remoting/protocol/pairing_registry.cc crypto::RandBytes(buffer, arraysize(buffer)); crypto 260 remoting/protocol/ssl_hmac_channel_authenticator.cc return crypto::SecureMemEqual(received_auth_bytes.data(), crypto 14 remoting/protocol/v2_authenticator.cc using crypto::P224EncryptedKeyExchange; crypto 59 remoting/protocol/v2_authenticator.cc crypto::P224EncryptedKeyExchange::PeerType type, crypto 51 remoting/protocol/v2_authenticator.h V2Authenticator(crypto::P224EncryptedKeyExchange::PeerType type, crypto 68 remoting/protocol/v2_authenticator.h crypto::P224EncryptedKeyExchange key_exchange_impl_; crypto 838 sync/internal_api/sync_manager_impl.cc Cryptographer* crypto = directory()->GetCryptographer(trans); crypto 858 sync/internal_api/sync_manager_impl.cc VisiblePropertiesDiffer(it->second, crypto)) { crypto 862 sync/internal_api/sync_manager_impl.cc SetExtraChangeRecordData(handle, type, &change_buffers[type], crypto, crypto 2260 sync/internal_api/sync_manager_impl_unittest.cc Cryptographer* crypto = trans.GetCryptographer(); crypto 2265 sync/internal_api/sync_manager_impl_unittest.cc crypto->Encrypt(bm_specifics, &encrypted); crypto 23 sync/internal_api/syncapi_internal.cc const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) { crypto 32 sync/internal_api/syncapi_internal.cc if (!crypto->Decrypt(encrypted, data.get())) crypto 26 sync/internal_api/syncapi_internal.h Cryptographer* crypto); crypto 21 sync/util/nigori.cc using crypto::Encryptor; crypto 22 sync/util/nigori.cc using crypto::HMAC; crypto 23 sync/util/nigori.cc using crypto::SymmetricKey; crypto 163 sync/util/nigori.cc crypto::RandBytes(WriteInto(&iv, kIvSize + 1), kIvSize); crypto 13 sync/util/nigori.h namespace crypto { crypto 79 sync/util/nigori.h scoped_ptr<crypto::SymmetricKey> user_key_; crypto 80 sync/util/nigori.h scoped_ptr<crypto::SymmetricKey> encryption_key_; crypto 81 sync/util/nigori.h scoped_ptr<crypto::SymmetricKey> mac_key_;