xref: /aosp_15_r20/external/cronet/net/cert/ct_log_verifier_util.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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