summaryrefslogtreecommitdiff
path: root/nuttx/include/crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/crc32.h')
-rw-r--r--nuttx/include/crc32.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/include/crc32.h b/nuttx/include/crc32.h
index 7c463fb8c..1dd6fff13 100644
--- a/nuttx/include/crc32.h
+++ b/nuttx/include/crc32.h
@@ -2,7 +2,7 @@
* include/crc.h
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -54,23 +54,24 @@ extern "C" {
#define EXTERN extern
#endif
-/************************************************************************************
+/****************************************************************************
* Name: crc32part
*
* Description:
* Continue CRC calculation on a part of the buffer.
*
- ************************************************************************************/
+ ****************************************************************************/
-EXTERN uint32_t crc32part(FAR const uint8_t *src, size_t len, uint32_t crc32val);
+EXTERN uint32_t crc32part(FAR const uint8_t *src, size_t len,
+ uint32_t crc32val);
-/************************************************************************************
+/****************************************************************************
* Name: crc32
*
* Description:
* Return a 32-bit CRC of the contents of the 'src' buffer, length 'len'
*
- ************************************************************************************/
+ ****************************************************************************/
EXTERN uint32_t crc32(FAR const uint8_t *src, size_t len);