1 // Copyright 2015 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_CERT_CT_LOG_VERIFIER_UTIL_H_ 6 #define NET_CERT_CT_LOG_VERIFIER_UTIL_H_ 7 8 #include <stdint.h> 9 10 #include <string> 11 12 #include "net/base/net_export.h" 13 14 namespace net::ct::internal { 15 16 // Hash |lh| and |rh| to produce a node hash according to 17 // http://tools.ietf.org/html/rfc6962#section-2.1 18 NET_EXPORT std::string HashNodes(const std::string& lh, const std::string& rh); 19 20 } // namespace net::ct::internal 21 22 #endif // NET_CERT_CT_LOG_VERIFIER_UTIL_H_ 23