xref: /aosp_15_r20/external/OpenCL-CTS/test_common/harness/crc32.h (revision 6467f958c7de8070b317fc65bcb0f6472e388d82)
1*6467f958SSadaf Ebrahimi /******************************************************************
2*6467f958SSadaf Ebrahimi Copyright (c) 2016 The Khronos Group Inc.
3*6467f958SSadaf Ebrahimi All Rights Reserved.  This code is protected by copyright laws and
4*6467f958SSadaf Ebrahimi contains material proprietary to the Khronos Group, Inc.
5*6467f958SSadaf Ebrahimi This is UNPUBLISHED PROPRIETARY SOURCE CODE that may not be disclosed
6*6467f958SSadaf Ebrahimi in whole or in part to third parties, and may not be reproduced, republished,
7*6467f958SSadaf Ebrahimi distributed, transmitted, displayed, broadcast or otherwise exploited in any
8*6467f958SSadaf Ebrahimi manner without the express prior written permission of Khronos Group.
9*6467f958SSadaf Ebrahimi 
10*6467f958SSadaf Ebrahimi The receipt or possession of this code does not convey any rights to
11*6467f958SSadaf Ebrahimi reproduce, disclose, or distribute its contents, or to
12*6467f958SSadaf Ebrahimi manufacture, use, or sell anything that it may describe, in whole
13*6467f958SSadaf Ebrahimi or in part other than under the terms of the Khronos Adopters
14*6467f958SSadaf Ebrahimi Agreement or Khronos Conformance Test Source License Agreement as
15*6467f958SSadaf Ebrahimi executed between Khronos and the recipient.
16*6467f958SSadaf Ebrahimi ******************************************************************/
17*6467f958SSadaf Ebrahimi 
18*6467f958SSadaf Ebrahimi #ifndef CRC32_H_
19*6467f958SSadaf Ebrahimi #define CRC32_H_
20*6467f958SSadaf Ebrahimi 
21*6467f958SSadaf Ebrahimi #include <stdint.h>
22*6467f958SSadaf Ebrahimi #include <stddef.h>
23*6467f958SSadaf Ebrahimi 
24*6467f958SSadaf Ebrahimi uint32_t crc32(const void *buf, size_t size);
25*6467f958SSadaf Ebrahimi 
26*6467f958SSadaf Ebrahimi #endif
27