crc32c_ppc.h 552 B

123456789101112131415161718192021
  1. // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  2. // Copyright (c) 2017 International Business Machines Corp.
  3. // All rights reserved.
  4. // This source code is licensed under both the GPLv2 (found in the
  5. // COPYING file in the root directory) and Apache 2.0 License
  6. // (found in the LICENSE.Apache file in the root directory).
  7. #pragma once
  8. #include <cstddef>
  9. #include <cstdint>
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. uint32_t crc32c_ppc(uint32_t crc, unsigned char const *buffer, size_t len);
  14. #ifdef __cplusplus
  15. }
  16. #endif