Searched defs:orbit (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dcrypto_utils.cc25 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 Dcrypto_server_config.h61 // 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 Dstrike_register_test.cc23 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 Dcrypto_server_test.cc34 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 Dstrike_register.cc66 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 Dcrypto_handshake.cc672 StringPiece orbit; local
673 if (!scfg->GetStringPiece(kORBT, &orbit) || orbit.size() != kOrbitSize) {
678 CryptoUtils::GenerateNonce(now, rand, orbit, &out_params->client_nonce);
H A Dcrypto_server_config.cc71 // 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 Dopenssl_helper.cc178 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 Dopenssl_helper.cc178 static const unsigned char orbit[8] = {1, 2, 3, 4, 5, 6, 7, 8}; local
179 SSL_CTX_set_snap_start_orbit(ctx, orbit);

Completed in 276 milliseconds