Home
last modified time | relevance | path

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

12

/external/chromium_org/net/quic/crypto/
Dcrypto_protocol.h29 typedef std::map<QuicTag, std::string> QuicTagValueMap;
31 const QuicTag kCHLO = TAG('C', 'H', 'L', 'O'); // Client hello
32 const QuicTag kSHLO = TAG('S', 'H', 'L', 'O'); // Server hello
33 const QuicTag kSCFG = TAG('S', 'C', 'F', 'G'); // Server config
34 const QuicTag kREJ = TAG('R', 'E', 'J', '\0'); // Reject
35 const QuicTag kCETV = TAG('C', 'E', 'T', 'V'); // Client encrypted tag-value
39 const QuicTag kP256 = TAG('P', '2', '5', '6'); // ECDH, Curve P-256
40 const QuicTag kC255 = TAG('C', '2', '5', '5'); // ECDH, Curve25519
43 const QuicTag kNULL = TAG('N', 'U', 'L', 'N'); // null algorithm
44 const QuicTag kAESG = TAG('A', 'E', 'S', 'G'); // AES128 + GCM-12
[all …]
Dcrypto_handshake.h53 template<class T> void SetValue(QuicTag tag, const T& v) { in SetValue()
60 template<class T> void SetVector(QuicTag tag, const std::vector<T>& v) { in SetVector()
70 QuicTag tag() const { return tag_; } in tag()
72 void set_tag(QuicTag tag) { tag_ = tag; } in set_tag()
78 void SetTaglist(QuicTag tag, ...);
80 void SetStringPiece(QuicTag tag, base::StringPiece value);
83 void Erase(QuicTag tag);
90 QuicErrorCode GetTaglist(QuicTag tag, const QuicTag** out_tags,
93 bool GetStringPiece(QuicTag tag, base::StringPiece* out) const;
98 QuicErrorCode GetNthValue24(QuicTag tag,
[all …]
Dcrypto_handshake.cc75 void CryptoHandshakeMessage::SetTaglist(QuicTag tag, ...) { in SetTaglist()
78 COMPILE_ASSERT(sizeof(QuicTag) <= sizeof(int), in SetTaglist()
81 vector<QuicTag> tags; in SetTaglist()
86 QuicTag list_item = va_arg(ap, QuicTag); in SetTaglist()
101 void CryptoHandshakeMessage::SetStringPiece(QuicTag tag, StringPiece value) { in SetStringPiece()
105 void CryptoHandshakeMessage::Erase(QuicTag tag) { in Erase()
109 QuicErrorCode CryptoHandshakeMessage::GetTaglist(QuicTag tag, in GetTaglist()
110 const QuicTag** out_tags, in GetTaglist()
117 } else if (it->second.size() % sizeof(QuicTag) != 0) { in GetTaglist()
127 *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_framer.cc207 QuicTag message_tag; in Process()
233 QuicTag tag; in Process()
259 for (vector<pair<QuicTag, size_t> >::const_iterator in Process()
Dquic_decrypter.cc13 QuicDecrypter* QuicDecrypter::Create(QuicTag algorithm) { in Create()
Dquic_encrypter.cc13 QuicEncrypter* QuicEncrypter::Create(QuicTag algorithm) { in Create()
Dkey_exchange.h42 virtual QuicTag tag() const = 0;
Dquic_crypto_server_config.cc476 QuicTag client_version_tag; in ProcessClientHello()
540 const QuicTag* their_aeads; in ProcessClientHello()
541 const QuicTag* their_key_exchanges; in ProcessClientHello()
886 const QuicTag* their_proof_demands; in BuildRejection()
982 const QuicTag* aead_tags; in ParseConfigProtobuf()
988 config->aead = vector<QuicTag>(aead_tags, aead_tags + aead_len); in ParseConfigProtobuf()
990 const QuicTag* kexs_tags; in ParseConfigProtobuf()
1031 const QuicTag* proof_demand_tags; in ParseConfigProtobuf()
1044 const QuicTag tag = kexs_tags[i]; in ParseConfigProtobuf()
Dcrypto_utils.h59 QuicTag aead,
Dcurve25519_key_exchange.h38 virtual QuicTag tag() const OVERRIDE;
Dquic_decrypter.h18 static QuicDecrypter* Create(QuicTag algorithm);
Dquic_encrypter.h18 static QuicEncrypter* Create(QuicTag algorithm);
Dp256_key_exchange.h47 virtual QuicTag tag() const OVERRIDE;
Dquic_crypto_client_config_test.cc23 QuicTag cver; in TEST()
Dquic_crypto_client_config.cc325 const QuicTag* their_aeads; in FillClientHello()
326 const QuicTag* their_key_exchanges; in FillClientHello()
393 const QuicTag* their_proof_demands; in FillClientHello()
561 const QuicTag* supported_version_tags; in ProcessServerHello()
Dcrypto_framer.h109 std::vector<std::pair<QuicTag, size_t> > tags_and_lengths_;
/external/chromium_org/net/quic/
Dquic_config.h29 QuicNegotiableValue(QuicTag tag, Presence presence);
36 const QuicTag tag_;
44 QuicNegotiableUint32(QuicTag name, Presence presence);
89 QuicNegotiableTag(QuicTag name, Presence presence);
95 void set(const QuicTagVector& possible_values, QuicTag default_value);
99 QuicTag GetTag() const;
123 const QuicTag** out,
127 QuicTag negotiated_tag_;
129 QuicTag default_value_;
140 QuicTag default_congestion_control);
[all …]
Dquic_config.cc16 QuicNegotiableValue::QuicNegotiableValue(QuicTag tag, Presence presence) in QuicNegotiableValue()
22 QuicNegotiableUint32::QuicNegotiableUint32(QuicTag tag, Presence presence) in QuicNegotiableUint32()
113 QuicNegotiableTag::QuicNegotiableTag(QuicTag tag, Presence presence) in QuicNegotiableTag()
122 QuicTag default_value) { in set()
129 QuicTag QuicNegotiableTag::GetTag() const { in GetTag()
148 const QuicTag** out, in ReadVector()
177 const QuicTag* received_tags; in ProcessClientHello()
185 QuicTag negotiated_tag; in ProcessClientHello()
206 const QuicTag* received_tags; in ProcessServerHello()
245 QuicTag default_congestion_control) { in set_congestion_control()
[all …]
Dquic_utils.cc63 const QuicTag* their_tags, in FindMutualTag()
66 QuicTag* out_result, in FindMutualTag()
72 const QuicTag* our_tags = &our_tags_vector[0]; in FindMutualTag()
75 const QuicTag* priority_tags; in FindMutualTag()
76 const QuicTag* inferior_tags; in FindMutualTag()
229 string QuicUtils::TagToString(QuicTag tag) { in TagToString()
232 const QuicTag orig_tag = tag; in TagToString()
Dquic_utils.h40 const QuicTag* their_tags,
43 QuicTag* out_result,
66 static std::string TagToString(QuicTag tag);
Dquic_protocol_test.cc15 QuicTag tag = MakeQuicTag('A', 'B', 'C', 'D'); in TEST()
105 QuicTag tag = QuicVersionToQuicTag(version); in TEST()
Dquic_protocol.h44 typedef uint32 QuicTag; typedef
45 typedef std::vector<QuicTag> QuicTagVector;
263 NET_EXPORT_PRIVATE QuicTag QuicVersionToQuicTag(const QuicVersion version);
267 NET_EXPORT_PRIVATE QuicVersion QuicTagToQuicVersion(const QuicTag version_tag);
287 NET_EXPORT_PRIVATE QuicTag MakeQuicTag(char a, char b, char c, char d);
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils.h90 QuicTag tag);
107 static QuicTag ParseTag(const char* tagstr);
Dcrypto_test_utils.cc256 QuicTag tag) { in GetValueForTag()
414 QuicTag CryptoTestUtils::ParseTag(const char* tagstr) { in ParseTag()
418 QuicTag tag = 0; in ParseTag()
481 const QuicTag tag = ParseTag(tagstr); in BuildMessage()

12