diff options
Diffstat (limited to 'firmware/lib/include/crc8.h')
-rw-r--r-- | firmware/lib/include/crc8.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/lib/include/crc8.h b/firmware/lib/include/crc8.h new file mode 100644 index 00000000..95bc9862 --- /dev/null +++ b/firmware/lib/include/crc8.h @@ -0,0 +1,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_ */ |