FIX: The input handling for "hf 14b write" is now correct. Thanks Asper for spotting the fault.

ADD: crc32.c functionality
This commit is contained in:
iceman1001 2015-01-07 22:56:20 +01:00
commit b5be31f996
3 changed files with 68 additions and 10 deletions

15
common/crc32.h Normal file
View file

@ -0,0 +1,15 @@
//-----------------------------------------------------------------------------
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// CRC32
//-----------------------------------------------------------------------------
#ifndef __CRC32_H
#define __CRC32_H
void crc32 (const uint8_t *data, const size_t len, uint8_t *crc);
void crc32_append (uint8_t *data, const size_t len);
#endif