xref: /aosp_15_r20/external/cronet/base/hash/md5_boringssl.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2019 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 BASE_HASH_MD5_BORINGSSL_H_
6 #define BASE_HASH_MD5_BORINGSSL_H_
7 
8 #include <stdint.h>
9 
10 #include "third_party/boringssl/src/include/openssl/md5.h"
11 
12 namespace base {
13 
14 // The output of an MD5 operation.
15 struct MD5Digest {
16   uint8_t a[MD5_DIGEST_LENGTH];
17 };
18 
19 // Used for storing intermediate data during an MD5 computation. Callers
20 // should not access the data.
21 typedef MD5_CTX MD5Context;
22 
23 }  // namespace base
24 
25 #endif  // BASE_HASH_MD5_BORINGSSL_H_
26