crc32c_ppc.h 549 B

12345678910111213141516171819
  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. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. extern uint32_t crc32c_ppc(uint32_t crc, unsigned char const *buffer,
  12. unsigned len);
  13. #ifdef __cplusplus
  14. }
  15. #endif