util: rename digest.hpp to sha256.hpp
The new file name matches the Sha256 class included within.
This commit also deletes deprecated crypto.hpp.
refs #3940
Change-Id: Ib9bbcd0ba087b812bb0886ceaea116689d4633f5
diff --git a/src/security/v1/key-chain.cpp b/src/security/v1/key-chain.cpp
index 9efcb4a..8c9a56a 100644
--- a/src/security/v1/key-chain.cpp
+++ b/src/security/v1/key-chain.cpp
@@ -25,7 +25,7 @@
#include "../signing-helpers.hpp"
#include "../../util/config-file.hpp"
-#include "../../util/digest.hpp"
+#include "../../util/sha256.hpp"
#include "sec-public-info-sqlite3.hpp"
diff --git a/src/security/v1/public-key.cpp b/src/security/v1/public-key.cpp
index 7ada249..9e245e9 100644
--- a/src/security/v1/public-key.cpp
+++ b/src/security/v1/public-key.cpp
@@ -25,7 +25,7 @@
#include "public-key.hpp"
#include "../../encoding/oid.hpp"
-#include "../../util/digest.hpp"
+#include "../../util/sha256.hpp"
#include "cryptopp.hpp"
namespace ndn {
diff --git a/src/security/v2/key-chain.cpp b/src/security/v2/key-chain.cpp
index c6e044c..2e5e4ad 100644
--- a/src/security/v2/key-chain.cpp
+++ b/src/security/v2/key-chain.cpp
@@ -22,8 +22,8 @@
#include "key-chain.hpp"
#include "../../util/config-file.hpp"
-#include "../../util/digest.hpp"
#include "../../util/logger.hpp"
+#include "../../util/sha256.hpp"
#include "../pib/pib-sqlite3.hpp"
#include "../pib/pib-memory.hpp"
diff --git a/src/security/validator.cpp b/src/security/validator.cpp
index 4862d76..bb8ffda 100644
--- a/src/security/validator.cpp
+++ b/src/security/validator.cpp
@@ -20,8 +20,8 @@
*/
#include "validator.hpp"
-#include "../util/digest.hpp"
#include "../lp/tags.hpp"
+#include "../util/sha256.hpp"
#include "v1/cryptopp.hpp"