/external/chromium_org/crypto/ |
H A D | random.cc | 11 void RandBytes(void *bytes, size_t length) { function in namespace:crypto 12 // It's OK to call base::RandBytes(), because it's already strongly random. 15 base::RandBytes(bytes, length);
|
H A D | random_unittest.cc | 23 TEST(RandBytes, RandBytes) { 25 crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size());
|
H A D | random.h | 17 CRYPTO_EXPORT void RandBytes(void *bytes, size_t length);
|
/external/chromium_org/net/quic/crypto/ |
H A D | quic_random.cc | 20 virtual void RandBytes(void* data, size_t len) OVERRIDE; 37 void DefaultRandom::RandBytes(void* data, size_t len) { function in class:net::__anon9441::DefaultRandom 38 crypto::RandBytes(data, len); 43 RandBytes(&value, sizeof(value));
|
H A D | quic_random.h | 25 virtual void RandBytes(void* data, size_t len) = 0;
|
H A D | quic_random_test.cc | 12 TEST(QuicRandomTest, RandBytes) { 20 rng->RandBytes(buf1, sizeof(buf1));
|
H A D | curve25519_key_exchange.cc | 48 rand->RandBytes(private_key, sizeof(private_key));
|
H A D | crypto_secret_boxer.cc | 57 rand->RandBytes(data, kBoxNonceSize);
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | ppb_crypto_shared.cc | 19 base::RandBytes(buffer, num_bytes);
|
/external/chromium_org/base/ |
H A D | rand_util_posix.cc | 44 RandBytes(&number, sizeof(number)); 48 void RandBytes(void* output, size_t output_length) { function in namespace:base
|
H A D | rand_util_win.cc | 26 RandBytes(&number, sizeof(number)); 30 void RandBytes(void* output, size_t output_length) { function in namespace:base
|
H A D | rand_util.h | 40 BASE_EXPORT void RandBytes(void* output, size_t output_length); 45 // Note that this is a variation of |RandBytes| with a different return type.
|
H A D | rand_util_nacl.cc | 37 void RandBytes(void* output, size_t output_length) { function in namespace:base
|
H A D | rand_util_unittest.cc | 35 TEST(RandUtilTest, RandBytes) { 39 base::RandBytes(buffer, buffer_size); 127 // Benchmark test for RandBytes(). Disabled since it's intentionally slow and 128 // does not test anything that isn't already tested by the existing RandBytes() 131 // Benchmark the performance of |kTestIterations| of RandBytes() using a 139 base::RandBytes(buffer.get(), kTestBufferSize); 142 LOG(INFO) << "RandBytes(" << kTestBufferSize << ") took: "
|
H A D | rand_util.cc | 67 RandBytes(WriteInto(&result, length + 1), length);
|
/external/chromium_org/net/quic/test_tools/ |
H A D | mock_random.cc | 19 void MockRandom::RandBytes(void* data, size_t len) { function in class:net::MockRandom
|
H A D | mock_random.h | 21 virtual void RandBytes(void* data, size_t len) OVERRIDE; 29 // |RandUint64| and the byte that |RandBytes| fills with, to change.
|
/external/chromium_org/remoting/host/ |
H A D | host_secret.cc | 26 base::RandBytes(&random_int32, sizeof(random_int32));
|
/external/chromium_org/gpu/command_buffer/common/ |
H A D | mailbox.cc | 38 base::RandBytes(result.name, sizeof(result.name));
|
/external/chromium_org/media/cast/test/utility/ |
H A D | video_utility.cc | 84 base::RandBytes(y_plane, height * stride_y); 85 base::RandBytes(u_plane, half_height * stride_u); 86 base::RandBytes(v_plane, half_height * stride_v);
|
/external/chromium_org/components/invalidation/ |
H A D | ack_handle.cc | 22 base::RandBytes(random_bytes, sizeof(random_bytes));
|
/external/chromium_org/cc/resources/ |
H A D | shared_bitmap.cc | 77 base::RandBytes(id.name, sizeof(id.name));
|
/external/chromium_org/gin/ |
H A D | isolate_holder.cc | 28 base::RandBytes(buffer, amount);
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
H A D | data_reduction_proxy_auth_request_handler.cc | 116 void DataReductionProxyAuthRequestHandler::RandBytes( function in class:data_reduction_proxy::DataReductionProxyAuthRequestHandler 118 crypto::RandBytes(output, length); 175 RandBytes(rand, 3 * sizeof(rand[0]));
|
/external/chromium_org/chrome/browser/media/ |
H A D | desktop_streams_registry.cc | 21 crypto::RandBytes(buffer, arraysize(buffer));
|