26 lines
623 B
C++
26 lines
623 B
C++
// Copyright (c) 2019 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 BASE_HASH_MD5_BORINGSSL_H_
|
|
#define BASE_HASH_MD5_BORINGSSL_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "third_party/boringssl/src/include/openssl/md5.h"
|
|
|
|
namespace base {
|
|
|
|
// The output of an MD5 operation.
|
|
struct MD5Digest {
|
|
uint8_t a[MD5_DIGEST_LENGTH];
|
|
};
|
|
|
|
// 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_
|