Home
last modified time | relevance | path

Searched refs:QuicTag (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/net/quic/crypto/
Dcrypto_protocol.h23 static_cast<QuicTag>((d << 24) + (c << 16) + (b << 8) + a)
29 const QuicTag kCHLO = TAG('C', 'H', 'L', 'O'); // Client hello
30 const QuicTag kSHLO = TAG('S', 'H', 'L', 'O'); // Server hello
31 const QuicTag kSCFG = TAG('S', 'C', 'F', 'G'); // Server config
32 const QuicTag kREJ = TAG('R', 'E', 'J', '\0'); // Reject
33 const QuicTag kCETV = TAG('C', 'E', 'T', 'V'); // Client encrypted tag-value
35 const QuicTag kPRST = TAG('P', 'R', 'S', 'T'); // Public reset
36 const QuicTag kSCUP = TAG('S', 'C', 'U', 'P'); // Server config update.
39 const QuicTag kP256 = TAG('P', '2', '5', '6'); // ECDH, Curve P-256
40 const QuicTag kC255 = TAG('C', '2', '5', '5'); // ECDH, Curve25519
[all …]
Dcrypto_handshake_message.h40 template<class T> void SetValue(QuicTag tag, const T& v) { in SetValue()
47 template<class T> void SetVector(QuicTag tag, const std::vector<T>& v) { in SetVector()
57 QuicTag tag() const { return tag_; } in tag()
59 void set_tag(QuicTag tag) { tag_ = tag; } in set_tag()
65 void SetTaglist(QuicTag tag, ...);
67 void SetStringPiece(QuicTag tag, base::StringPiece value);
70 void Erase(QuicTag tag);
77 QuicErrorCode GetTaglist(QuicTag tag, const QuicTag** out_tags,
80 bool GetStringPiece(QuicTag tag, base::StringPiece* out) const;
85 QuicErrorCode GetNthValue24(QuicTag tag,
[all …]
Dcrypto_handshake_message.cc65 void CryptoHandshakeMessage::SetTaglist(QuicTag tag, ...) { in SetTaglist()
68 COMPILE_ASSERT(sizeof(QuicTag) <= sizeof(int), in SetTaglist()
71 vector<QuicTag> tags; in SetTaglist()
76 QuicTag list_item = va_arg(ap, QuicTag); in SetTaglist()
91 void CryptoHandshakeMessage::SetStringPiece(QuicTag tag, StringPiece value) { in SetStringPiece()
95 void CryptoHandshakeMessage::Erase(QuicTag tag) { in Erase()
99 QuicErrorCode CryptoHandshakeMessage::GetTaglist(QuicTag tag, in GetTaglist()
100 const QuicTag** out_tags, in GetTaglist()
107 } else if (it->second.size() % sizeof(QuicTag) != 0) { in GetTaglist()
117 *out_tags = reinterpret_cast<const QuicTag*>(it->second.data()); in GetTaglist()
[all …]
Dcrypto_server_config_protobuf.h29 QuicTag tag() const { in tag()
32 void set_tag(QuicTag tag) { in set_tag()
43 QuicTag tag_;
Dcrypto_handshake.h99 QuicTag key_exchange;
100 QuicTag aead;
Dquic_crypto_client_config_test.cc77 QuicTag cver; in TEST()
100 QuicTag pdmd; in TEST()
115 QuicTag pdmd; in TEST()
141 QuicTag cver; in TEST()
Dcrypto_framer.cc205 QuicTag message_tag; in Process()
231 QuicTag tag; in Process()
257 for (vector<pair<QuicTag, size_t> >::const_iterator in Process()
Dquic_decrypter.cc15 QuicDecrypter* QuicDecrypter::Create(QuicTag algorithm) { in Create()
Dquic_encrypter.cc15 QuicEncrypter* QuicEncrypter::Create(QuicTag algorithm) { in Create()
Dkey_exchange.h42 virtual QuicTag tag() const = 0;
Dcurve25519_key_exchange.h38 virtual QuicTag tag() const OVERRIDE;
Dquic_decrypter.h17 static QuicDecrypter* Create(QuicTag algorithm);
Dquic_encrypter.h17 static QuicEncrypter* Create(QuicTag algorithm);
Dquic_crypto_server_config.cc89 COMPILE_ASSERT(sizeof(QuicTag) == sizeof(uint32), header_out_of_sync);
548 QuicTag client_version_tag; in ProcessClientHello()
611 const QuicTag* their_aeads; in ProcessClientHello()
612 const QuicTag* their_key_exchanges; in ProcessClientHello()
1106 const QuicTag* their_proof_demands; in BuildRejection()
1222 const QuicTag* aead_tags; in ParseConfigProtobuf()
1228 config->aead = vector<QuicTag>(aead_tags, aead_tags + aead_len); in ParseConfigProtobuf()
1230 const QuicTag* kexs_tags; in ParseConfigProtobuf()
1274 const QuicTag* proof_demand_tags; in ParseConfigProtobuf()
1287 const QuicTag tag = kexs_tags[i]; in ParseConfigProtobuf()
Dp256_key_exchange.h45 virtual QuicTag tag() const OVERRIDE;
Dcrypto_utils.h60 QuicTag aead,
/external/chromium_org/net/quic/
Dquic_config.h43 QuicConfigValue(QuicTag tag, QuicConfigPresence presence);
57 const QuicTag tag_;
63 QuicNegotiableValue(QuicTag tag, QuicConfigPresence presence);
77 QuicNegotiableUint32(QuicTag name, QuicConfigPresence presence);
111 QuicNegotiableTag(QuicTag name, QuicConfigPresence presence);
117 void set(const QuicTagVector& possible_values, QuicTag default_value);
121 QuicTag GetTag() const;
141 const QuicTag** out,
145 QuicTag negotiated_tag_;
147 QuicTag default_value_;
[all …]
Dquic_config.cc24 QuicTag tag, in ReadUint32()
50 QuicConfigValue::QuicConfigValue(QuicTag tag, in QuicConfigValue()
57 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, in QuicNegotiableValue()
64 QuicNegotiableUint32::QuicNegotiableUint32(QuicTag tag, in QuicNegotiableUint32()
121 QuicNegotiableTag::QuicNegotiableTag(QuicTag tag, QuicConfigPresence presence) in QuicNegotiableTag()
130 QuicTag default_value) { in set()
136 QuicTag QuicNegotiableTag::GetTag() const { in GetTag()
155 const QuicTag** out, in ReadVector()
185 const QuicTag* received_tags; in ProcessPeerHello()
201 QuicTag negotiated_tag; in ProcessPeerHello()
[all …]
Dquic_utils.cc64 const QuicTag* their_tags, in FindMutualTag()
67 QuicTag* out_result, in FindMutualTag()
73 const QuicTag* our_tags = &our_tags_vector[0]; in FindMutualTag()
76 const QuicTag* priority_tags; in FindMutualTag()
77 const QuicTag* inferior_tags; in FindMutualTag()
256 string QuicUtils::TagToString(QuicTag tag) { in TagToString()
259 const QuicTag orig_tag = tag; in TagToString()
Dquic_utils.h40 const QuicTag* their_tags,
43 QuicTag* out_result,
69 static std::string TagToString(QuicTag tag);
Dquic_protocol.h44 typedef uint32 QuicTag; typedef
45 typedef std::vector<QuicTag> QuicTagVector;
46 typedef std::map<QuicTag, std::string> QuicTagValueMap;
321 NET_EXPORT_PRIVATE QuicTag QuicVersionToQuicTag(const QuicVersion version);
325 NET_EXPORT_PRIVATE QuicVersion QuicTagToQuicVersion(const QuicTag version_tag);
345 NET_EXPORT_PRIVATE QuicTag MakeQuicTag(char a, char b, char c, char d);
349 QuicTag tag);
Dquic_protocol_test.cc28 QuicTag tag = MakeQuicTag('A', 'B', 'C', 'D'); in TEST()
118 QuicTag tag = QuicVersionToQuicTag(version); in TEST()
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils.h120 QuicTag tag);
150 static QuicTag ParseTag(const char* tagstr);
Dquic_config_peer.h22 QuicTag loss_detection);
Dquic_config_peer.cc20 QuicTag loss_detection) { in SetReceivedLossDetection()

12