Index: src/platform/vboot_reference/include/file_keys.h |
diff --git a/src/platform/vboot_reference/include/file_keys.h b/src/platform/vboot_reference/include/file_keys.h |
index eac4df0e27662290277ee086fef02074293c33b8..6e3851c8c0404c5623efe27223727a4f1a8506cd 100644 |
--- a/src/platform/vboot_reference/include/file_keys.h |
+++ b/src/platform/vboot_reference/include/file_keys.h |
@@ -8,7 +8,7 @@ |
#ifndef VBOOT_REFERENCE_FILE_KEYS_H_ |
#define VBOOT_REFERENCE_FILE_KEYS_H_ |
-#include "cryptolib.h" |
+#include "rsa.h" |
/* Read file named [input_file] into a buffer and stores the length into |
* [len]. |
@@ -25,12 +25,6 @@ uint8_t* BufferFromFile(const char* input_file, uint64_t* len); |
*/ |
RSAPublicKey* RSAPublicKeyFromFile(const char* input_file); |
-/* Returns the appropriate digest for the data in [input_file] |
- * based on the signature [algorithm]. |
- * Caller owns the returned digest and must free it. |
- */ |
-uint8_t* DigestFile(char* input_file, int sig_algorithm); |
- |
/* Helper function to invoke external program to calculate signature on |
* [input_file] using private key [key_file] and signature algorithm |
* [algorithm]. |