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
base / hash / md5_boringssl.h [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_HASH_MD5_BORINGSSL_H_
#define BASE_HASH_MD5_BORINGSSL_H_
#include <stdint.h>
#include <array>
#include "third_party/boringssl/src/include/openssl/md5.h"
namespace base {
// The output of an MD5 operation.
struct MD5Digest {
std::array<uint8_t, MD5_DIGEST_LENGTH> a;
};
// Used for storing intermediate data during an MD5 computation. Callers
// should not access the data.
typedef MD5_CTX MD5Context;
} // namespace base
#endif // BASE_HASH_MD5_BORINGSSL_H_