| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 85     QUIC_BUG << "ExportTokenBindingKeyingMaterial was called before initial" | 85     QUIC_BUG << "ExportTokenBindingKeyingMaterial was called before initial" | 
| 86              << "encryption was established."; | 86              << "encryption was established."; | 
| 87     return false; | 87     return false; | 
| 88   } | 88   } | 
| 89   return CryptoUtils::ExportKeyingMaterial( | 89   return CryptoUtils::ExportKeyingMaterial( | 
| 90       crypto_negotiated_params().initial_subkey_secret, | 90       crypto_negotiated_params().initial_subkey_secret, | 
| 91       "EXPORTER-Token-Binding", | 91       "EXPORTER-Token-Binding", | 
| 92       /* context= */ "", 32, result); | 92       /* context= */ "", 32, result); | 
| 93 } | 93 } | 
| 94 | 94 | 
|  | 95 #undef ENDPOINT | 
| 95 }  // namespace net | 96 }  // namespace net | 
| OLD | NEW | 
|---|