summaryrefslogtreecommitdiffstats
path: root/net/cert/ct_log_verifier_util.h
blob: 9894afe59ea789a0dfa67fd4ff3c82decbe27e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_CERT_CT_LOG_VERIFIER_UTIL_H_
#define NET_CERT_CT_LOG_VERIFIER_UTIL_H_

#include <stdint.h>

#include <string>

#include "net/base/net_export.h"

namespace net {

namespace ct {

namespace internal {

// Hash |lh| and |rh| to produce a node hash according to
// http://tools.ietf.org/html/rfc6962#section-2.1
NET_EXPORT std::string HashNodes(const std::string& lh, const std::string& rh);

}  // namespace internal

}  // namespace ct

}  // namespace net

#endif