pldm: Remove boost related code in pldm daemon

Use the crc32 method in libpldm/utils.h instead of boost::crc_32_type
and remove boost related code.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I114eb83a73c5c47bdd44d5ad53f3ff6101235558
diff --git a/libpldmresponder/fru.cpp b/libpldmresponder/fru.cpp
index 42babc3..df29065 100644
--- a/libpldmresponder/fru.cpp
+++ b/libpldmresponder/fru.cpp
@@ -4,11 +4,12 @@
 
 #include <systemd/sd-journal.h>
 
-#include <boost/crc.hpp>
 #include <iostream>
 #include <sdbusplus/bus.hpp>
 #include <set>
 
+#include "libpldm/utils.h"
+
 namespace pldm
 {
 
@@ -111,9 +112,7 @@
         table.resize(table.size() + padBytes, 0);
 
         // Calculate the checksum
-        boost::crc_32_type result;
-        result.process_bytes(table.data(), table.size());
-        checksum = result.checksum();
+        checksum = crc32(table.data(), table.size());
     }
 }
 
diff --git a/oem/ibm/libpldmresponder/file_table.cpp b/oem/ibm/libpldmresponder/file_table.cpp
index 4b3198c..45a49fe 100644
--- a/oem/ibm/libpldmresponder/file_table.cpp
+++ b/oem/ibm/libpldmresponder/file_table.cpp
@@ -1,9 +1,10 @@
 #include "file_table.hpp"
 
-#include <boost/crc.hpp>
 #include <fstream>
 #include <iostream>
 
+#include "libpldm/utils.h"
+
 namespace pldm
 {
 
@@ -99,9 +100,7 @@
     }
 
     // Calculate the checksum
-    boost::crc_32_type result;
-    result.process_bytes(fileTable.data(), fileTable.size());
-    checkSum = result.checksum();
+    checkSum = crc32(fileTable.data(), fileTable.size());
 }
 
 Table FileTable::operator()() const