| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/quic/core/quic_crypto_stream.h" | 5 #include "net/quic/core/quic_crypto_stream.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "net/quic/core/crypto/crypto_handshake.h" | 9 #include "net/quic/core/crypto/crypto_handshake.h" |
| 10 #include "net/quic/core/crypto/crypto_utils.h" | 10 #include "net/quic/core/crypto/crypto_utils.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 QUIC_BUG << "ExportTokenBindingKeyingMaterial was called before initial" | 109 QUIC_BUG << "ExportTokenBindingKeyingMaterial was called before initial" |
| 110 << "encryption was established."; | 110 << "encryption was established."; |
| 111 return false; | 111 return false; |
| 112 } | 112 } |
| 113 return CryptoUtils::ExportKeyingMaterial( | 113 return CryptoUtils::ExportKeyingMaterial( |
| 114 crypto_negotiated_params().initial_subkey_secret, | 114 crypto_negotiated_params().initial_subkey_secret, |
| 115 "EXPORTER-Token-Binding", | 115 "EXPORTER-Token-Binding", |
| 116 /* context= */ "", 32, result); | 116 /* context= */ "", 32, result); |
| 117 } | 117 } |
| 118 | 118 |
| 119 #undef ENDPOINT |
| 119 } // namespace net | 120 } // namespace net |
| OLD | NEW |