naiveproxy/src/base/hash/md5_boringssl.h
2023-10-13 22:31:16 +08:00

26 lines
597 B
C++

// 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 "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_