| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef NET_CERT_CT_LOG_VERIFIER_UTIL_H_ | 5 #ifndef NET_CERT_CT_LOG_VERIFIER_UTIL_H_ |
| 6 #define NET_CERT_CT_LOG_VERIFIER_UTIL_H_ | 6 #define NET_CERT_CT_LOG_VERIFIER_UTIL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 namespace ct { | 16 namespace ct { |
| 17 | 17 |
| 18 namespace internal { | 18 namespace internal { |
| 19 | 19 |
| 20 // Hash |lh| and |rh| to produce a node hash according to | 20 // Hash |lh| and |rh| to produce a node hash according to |
| 21 // http://tools.ietf.org/html/rfc6962#section-2.1 | 21 // http://tools.ietf.org/html/rfc6962#section-2.1 |
| 22 NET_EXPORT std::string HashNodes(const std::string& lh, const std::string& rh); | 22 NET_EXPORT std::string HashNodes(const std::string& lh, const std::string& rh); |
| 23 | 23 |
| 24 } // namespace internal | 24 } // namespace internal |
| 25 | 25 |
| 26 } // namespace ct | 26 } // namespace ct |
| 27 | 27 |
| 28 } // namespace net | 28 } // namespace net |
| 29 | 29 |
| 30 #endif | 30 #endif // NET_CERT_CT_LOG_VERIFIER_UTIL_H_ |
| OLD | NEW |