/** @file\r
+Calculate Crc32 value and Verify Crc32 value for input data.\r
\r
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials \r
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
\r
-Module Name:\r
-\r
- GenCrc32.c\r
-\r
-Abstract:\r
- Calculate Crc32 value and Verify Crc32 value for input data.\r
-\r
**/\r
\r
#include <stdio.h>\r
\r
#define UTILITY_NAME "GenCrc32"\r
#define UTILITY_MAJOR_VERSION 0\r
-#define UTILITY_MINOR_VERSION 1\r
+#define UTILITY_MINOR_VERSION 2\r
\r
#define CRC32_NULL 0\r
#define CRC32_ENCODE 1\r
\r
--*/\r
{\r
- fprintf (stdout, "%s Version %d.%d Build %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);\r
+ fprintf (stdout, "%s Version %d.%d %s \n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION, __BUILD_VERSION);\r
}\r
\r
VOID\r
//\r
// Copyright declaration\r
// \r
- fprintf (stdout, "Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.\n\n");\r
+ fprintf (stdout, "Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.\n\n");\r
\r
//\r
// Details Option\r
VerboseMsg ("%s tool start.", UTILITY_NAME);\r
\r
//\r
- // Check Input paramters\r
+ // Check Input parameters\r
//\r
if (FileAction == CRC32_NULL) {\r
Error (NULL, 0, 1001, "Missing option", "either the encode or the decode option must be specified!");\r