md5_boringssl.h 623 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef BASE_HASH_MD5_BORINGSSL_H_
  5. #define BASE_HASH_MD5_BORINGSSL_H_
  6. #include <stdint.h>
  7. #include "third_party/boringssl/src/include/openssl/md5.h"
  8. namespace base {
  9. // The output of an MD5 operation.
  10. struct MD5Digest {
  11. uint8_t a[MD5_DIGEST_LENGTH];
  12. };
  13. // Used for storing intermediate data during an MD5 computation. Callers
  14. // should not access the data.
  15. typedef MD5_CTX MD5Context;
  16. } // namespace base
  17. #endif // BASE_HASH_MD5_BORINGSSL_H_