RandBytes 67 base/rand_util.cc RandBytes(WriteInto(&result, length + 1), length); RandBytes 40 base/rand_util.h BASE_EXPORT void RandBytes(void* output, size_t output_length); RandBytes 44 base/rand_util_posix.cc RandBytes(&number, sizeof(number)); RandBytes 35 base/rand_util_unittest.cc TEST(RandUtilTest, RandBytes) { RandBytes 39 base/rand_util_unittest.cc base::RandBytes(buffer, buffer_size); RandBytes 139 base/rand_util_unittest.cc base::RandBytes(buffer.get(), kTestBufferSize); RandBytes 26 base/rand_util_win.cc RandBytes(&number, sizeof(number)); RandBytes 38 cc/resources/shared_bitmap.cc base::RandBytes(id.name, sizeof(id.name)); RandBytes 45 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::RandBytes(&result, sizeof(result)); RandBytes 229 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc crypto::RandBytes(&master_key_bytes, sizeof(master_key_bytes)); RandBytes 77 chrome/browser/extensions/api/identity/web_auth_flow.cc crypto::RandBytes(WriteInto(&random_bytes, 33), 32); RandBytes 108 chrome/browser/extensions/api/messaging/native_process_launcher_win.cc crypto::RandBytes(&pipe_name_token, sizeof(pipe_name_token)); RandBytes 355 chrome/browser/extensions/install_signer.cc crypto::RandBytes(string_as_array(&salt_), salt_.size()); RandBytes 21 chrome/browser/media/desktop_streams_registry.cc crypto::RandBytes(buffer, arraysize(buffer)); RandBytes 146 chrome/browser/net/spdyproxy/data_reduction_proxy_settings.cc crypto::RandBytes(rand, 3 * sizeof(rand[0])); RandBytes 121 chrome/browser/renderer_host/pepper/device_id_fetcher.cc crypto::RandBytes(salt_bytes, arraysize(salt_bytes)); RandBytes 115 chrome/browser/signin/local_auth.cc crypto::RandBytes(WriteInto(&salt_str, kHash1Bytes + 1), kHash1Bytes); RandBytes 338 components/autofill/content/browser/wallet/wallet_client.cc crypto::RandBytes(&(one_time_pad_[0]), one_time_pad_.size()); RandBytes 118 components/rappor/byte_vector_utils.cc crypto::RandBytes(&bytes[0], bytes.size()); RandBytes 55 content/browser/fileapi/file_system_url_request_job_unittest.cc base::RandBytes(buffer, len); RandBytes 784 content/child/blink_platform_impl.cc base::RandBytes(buffer, length); RandBytes 24 content/public/test/unittest_test_suite.cc base::RandBytes(buffer, length); RandBytes 36 content/renderer/p2p/socket_client_impl.cc crypto::RandBytes(&random_socket_id_, sizeof(random_socket_id_)); RandBytes 684 crypto/openpgp_symmetric_encryption.cc crypto::RandBytes(&salt64, sizeof(salt64)); RandBytes 714 crypto/openpgp_symmetric_encryption.cc crypto::RandBytes(iv, kBlockSize); RandBytes 106 crypto/p224_spake.cc RandBytes(x_, sizeof(x_)); RandBytes 15 crypto/random.cc base::RandBytes(bytes, length); RandBytes 17 crypto/random.h CRYPTO_EXPORT void RandBytes(void *bytes, size_t length); RandBytes 23 crypto/random_unittest.cc TEST(RandBytes, RandBytes) { RandBytes 25 crypto/random_unittest.cc crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size()); RandBytes 23 gin/isolate_holder.cc base::RandBytes(buffer, amount); RandBytes 273 google_apis/cup/client_update_protocol.cc crypto::RandBytes(&entropy[0], entropy.size()); RandBytes 38 gpu/command_buffer/common/mailbox.cc base::RandBytes(result.name, sizeof(result.name)); RandBytes 41 net/quic/crypto/crypto_secret_boxer.cc rand->RandBytes(data, kBoxNonceSize); RandBytes 43 net/quic/crypto/crypto_utils.cc random_generator->RandBytes(&(*nonce)[bytes_written], RandBytes 48 net/quic/crypto/curve25519_key_exchange.cc rand->RandBytes(private_key, sizeof(private_key)); RandBytes 193 net/quic/crypto/quic_crypto_server_config.cc rand->RandBytes(server_nonce_orbit_, sizeof(server_nonce_orbit_)); RandBytes 196 net/quic/crypto/quic_crypto_server_config.cc rand->RandBytes(key_bytes.get(), key_size); RandBytes 268 net/quic/crypto/quic_crypto_server_config.cc rand->RandBytes(orbit_bytes, sizeof(orbit_bytes)); RandBytes 1285 net/quic/crypto/quic_crypto_server_config.cc rand->RandBytes(&server_nonce[sizeof(timestamp)], RandBytes 20 net/quic/crypto/quic_random.cc virtual void RandBytes(void* data, size_t len) OVERRIDE; RandBytes 38 net/quic/crypto/quic_random.cc crypto::RandBytes(data, len); RandBytes 43 net/quic/crypto/quic_random.cc RandBytes(&value, sizeof(value)); RandBytes 25 net/quic/crypto/quic_random.h virtual void RandBytes(void* data, size_t len) = 0; RandBytes 12 net/quic/crypto/quic_random_test.cc TEST(QuicRandomTest, RandBytes) { RandBytes 20 net/quic/crypto/quic_random_test.cc rng->RandBytes(buf1, sizeof(buf1)); RandBytes 21 net/quic/test_tools/mock_random.h virtual void RandBytes(void* data, size_t len) OVERRIDE; RandBytes 79 net/websockets/websocket_basic_handshake_stream.cc crypto::RandBytes(string_as_array(&raw_challenge), raw_challenge.length()); RandBytes 161 net/websockets/websocket_frame.cc base::RandBytes(masking_key.key, WebSocketFrameHeader::kMaskingKeyLength); RandBytes 19 ppapi/shared_impl/ppb_crypto_shared.cc base::RandBytes(buffer, num_bytes); RandBytes 220 remoting/client/plugin/chromoting_instance.cc crypto::RandBytes(random_seed, sizeof(random_seed)); RandBytes 26 remoting/host/host_secret.cc base::RandBytes(&random_int32, sizeof(random_int32)); RandBytes 102 remoting/host/token_validator_factory_impl.cc crypto::RandBytes(WriteInto(&nonce_bytes, kNonceLength + 1), kNonceLength); RandBytes 51 remoting/protocol/pairing_registry.cc crypto::RandBytes(buffer, arraysize(buffer)); RandBytes 22 sync/internal_api/public/base/ack_handle.cc base::RandBytes(random_bytes, sizeof(random_bytes)); RandBytes 163 sync/util/nigori.cc crypto::RandBytes(WriteInto(&iv, kIvSize + 1), kIvSize); RandBytes 462 webkit/browser/fileapi/isolated_context.cc base::RandBytes(random_data, sizeof(random_data));