fix coverity CID 349306 - resource leak
[RRG-proxmark3.git] / common / crc32.h
blob2cbe45e6c8fdeaaa52aa5f42090be556a7629ddd
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
4 // the license.
5 //-----------------------------------------------------------------------------
6 // CRC32
7 //-----------------------------------------------------------------------------
9 #ifndef __CRC32_H
10 #define __CRC32_H
12 #include "common.h"
14 void crc32_ex(const uint8_t *d, const size_t n, uint8_t *crc);
15 void crc32_append(uint8_t *d, const size_t n);
17 #endif