summaryrefslogtreecommitdiff
path: root/firmware/lib/include/crc8.h
blob: 95bc9862525f1b7d94304e2dadf17912aba3cbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Copyright (c) 2011 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.
 *
 * Very simple 8-bit CRC function.
 */
#ifndef VBOOT_REFERENCE_CRC8_H_
#define VBOOT_REFERENCE_CRC8_H_
#include "sysincludes.h"

uint8_t Crc8(const void* data, int len);

#endif /* VBOOT_REFERENCE_CRC8_H_ */