Home | History | Annotate | Download | only in common
      1 /* Copyright (c) 2012 The Chromium OS 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  */
      5 
      6 #ifndef CRAS_CHECKSUM_H_
      7 #define CRAS_CHECKSUM_H_
      8 
      9 #include "cras_types.h"
     10 
     11 #ifdef __cplusplus
     12 extern "C" {
     13 #endif
     14 
     15 uint32_t crc32_checksum(const unsigned char *input, size_t n);
     16 
     17 #ifdef __cplusplus
     18 } /* extern "C" */
     19 #endif
     20 
     21 #endif /* CRAS_CHECKSUM_H_ */
     22