diff options
author | dimitri staessens <[email protected]> | 2017-01-14 12:19:01 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-01-14 12:19:01 +0100 |
commit | c18011259423f5d1cea7dfa67093c888c4882c1e (patch) | |
tree | 9afdc7de2c7a4db305ca30aa2b6eb7891f96a528 /src/ipcpd/normal/crc32.h | |
parent | 6a8f0d0a9aab073e2e79a06322e4f83e69409d05 (diff) | |
download | ouroboros-c18011259423f5d1cea7dfa67093c888c4882c1e.tar.gz ouroboros-c18011259423f5d1cea7dfa67093c888c4882c1e.zip |
lib: Move CRC32 implementation to library
The CRC32 implementation will be used to ID objects in the RIB.
Diffstat (limited to 'src/ipcpd/normal/crc32.h')
-rw-r--r-- | src/ipcpd/normal/crc32.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/ipcpd/normal/crc32.h b/src/ipcpd/normal/crc32.h deleted file mode 100644 index 8580e553..00000000 --- a/src/ipcpd/normal/crc32.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Ouroboros - Copyright (C) 2016 - 2017 - * - * 32-bit Cyclic Redundancy Check - * - * Sander Vrijders <[email protected]> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#ifndef OUROBOROS_IPCPD_NORMAL_CRC32_H -#define OUROBOROS_IPCPD_NORMAL_CRC32_H - -#include <stdint.h> - -void crc32(uint32_t * crc, const uint8_t * buf, size_t len); - -#endif /* OUROBOROS_IPCPD_NORMAL_CRC32_H */ |