00001 /* 00002 * Copyright (C) 2010 Swift Navigation Inc. 00003 * Contact: Fergus Noble <fergus@swift-nav.com> 00004 * 00005 * This source is subject to the license found in the file 'LICENSE' which must 00006 * be be distributed together with this source. All other rights reserved. 00007 * 00008 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00009 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED 00010 * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00011 */ 00012 00013 #ifndef LIBSWIFTNAV_EDC_H 00014 #define LIBSWIFTNAV_EDC_H 00015 00016 #include "common.h" 00017 00018 u16 crc16_ccitt(const u8 *buf, u32 len, u16 crc); 00019 u32 crc24q(const u8 *buf, u32 len, u32 crc); 00020 00021 #endif /* LIBSWIFTNAV_EDC_H */