summaryrefslogtreecommitdiff
path: root/cras/src/common/cras_checksum.h
blob: d995d667ee610ee19a1362658430a473075b1934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef CRAS_CHECKSUM_H_
#define CRAS_CHECKSUM_H_

#include "cras_types.h"

#ifdef __cplusplus
extern "C" {
#endif

uint32_t crc32_checksum(const unsigned char *input, size_t n);

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /* CRAS_CHECKSUM_H_ */