xref: /aosp_15_r20/external/webrtc/third_party/crc32c/src/src/crc32c_arm64.h (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1 // Copyright 2017 The CRC32C 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. See the AUTHORS file for names of contributors.
4 
5 // ARM-specific code
6 
7 #ifndef CRC32C_CRC32C_ARM_H_
8 #define CRC32C_CRC32C_ARM_H_
9 
10 #include <cstddef>
11 #include <cstdint>
12 
13 #include "crc32c/crc32c_config.h"
14 
15 #if HAVE_ARM64_CRC32C
16 
17 namespace crc32c {
18 
19 uint32_t ExtendArm64(uint32_t crc, const uint8_t* data, size_t count);
20 
21 }  // namespace crc32c
22 
23 #endif  // HAVE_ARM64_CRC32C
24 
25 #endif  // CRC32C_CRC32C_ARM_H_
26