/external/chromium_org/net/quic/crypto/ |
H A D | crypto_utils.cc | 25 StringPiece orbit, 39 if (orbit.size() == 8) { 40 memcpy(&(*nonce)[bytes_written], orbit.data(), orbit.size()); 41 bytes_written += orbit.size(); 23 GenerateNonce(QuicWallTime now, QuicRandom* random_generator, StringPiece orbit, string* nonce) argument
|
H A D | crypto_server_config.h | 61 // orbit contains the kOrbitSize bytes of the orbit value for the server 62 // config. If |orbit| is empty then a random orbit is generated. 63 std::string orbit; member in struct:net::QuicCryptoServerConfig::ConfigOptions 69 // |server_nonce_entropy|: an entropy source used to generate the orbit and 153 // frontends can share an orbit value without a shared strike-register. 211 // orbit contains the orbit value for this config: an opaque identifier 213 unsigned char orbit[kOrbitSiz member in class:net::QuicCryptoServerConfig::Config [all...] |
H A D | strike_register_test.cc | 23 void SetNonce(uint8 nonce[32], unsigned time, const uint8 orbit[8]) { argument 28 memcpy(nonce + 4, orbit, 8); 69 // The set must reject values with the wrong orbit 89 // The set must reject values with the wrong orbit 146 uint32 window_secs, const uint8 orbit[8]) 151 memcpy(orbit_, orbit, sizeof(orbit_)); 157 // Check to see if the orbit is correct. 145 SlowStrikeRegister(unsigned max_entries, uint32 current_time, uint32 window_secs, const uint8 orbit[8]) argument
|
H A D | crypto_server_test.cc | 34 StringPiece orbit; local 35 CHECK(msg->GetStringPiece(kORBT, &orbit)); 36 CHECK_EQ(sizeof(orbit_), orbit.size()); 37 memcpy(orbit_, orbit.data(), orbit.size());
|
H A D | strike_register.cc | 66 const uint8 orbit[8], 80 memcpy(orbit_, orbit, sizeof(orbit_)); 119 // Check to see if the orbit is correct. 137 // We strip the orbit out of the nonce. 247 const uint8* StrikeRegister::orbit() const { function in class:net::StrikeRegister 63 StrikeRegister(unsigned max_entries, uint32 current_time, uint32 window_secs, const uint8 orbit[8], StartupType startup) argument
|
H A D | crypto_handshake.cc | 672 StringPiece orbit; local 673 if (!scfg->GetStringPiece(kORBT, &orbit) || orbit.size() != kOrbitSize) { 678 CryptoUtils::GenerateNonce(now, rand, orbit, &out_params->client_nonce);
|
H A D | crypto_server_config.cc | 71 // Generate a random key and orbit for server nonces. 140 if (options.orbit.size() == sizeof(orbit_bytes)) { 141 memcpy(orbit_bytes, options.orbit.data(), sizeof(orbit_bytes)); 143 DCHECK(options.orbit.empty()); 351 client_hello, primary_config->orbit, &info, error_details); 604 const uint8* orbit, 638 orbit, 784 StringPiece orbit; local 785 if (!msg->GetStringPiece(kORBT, &orbit)) { 790 if (orbit 602 EvaluateClientHello( const CryptoHandshakeMessage& client_hello, const uint8* orbit, ClientHelloInfo* info, string* error_details) const argument 801 const uint8* orbit = strike_register_->orbit(); local [all...] |
/external/chromium/net/test/ |
H A D | openssl_helper.cc | 178 static const unsigned char orbit[8] = {1, 2, 3, 4, 5, 6, 7, 8}; local 179 SSL_CTX_set_snap_start_orbit(ctx, orbit);
|
/external/chromium_org/net/test/ |
H A D | openssl_helper.cc | 178 static const unsigned char orbit[8] = {1, 2, 3, 4, 5, 6, 7, 8}; local 179 SSL_CTX_set_snap_start_orbit(ctx, orbit);
|