summaryrefslogtreecommitdiff
path: root/host/lib/include/file_keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/file_keys.h')
-rw-r--r--host/lib/include/file_keys.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/host/lib/include/file_keys.h b/host/lib/include/file_keys.h
index e783c85e..0879c311 100644
--- a/host/lib/include/file_keys.h
+++ b/host/lib/include/file_keys.h
@@ -11,21 +11,6 @@
#include "cryptolib.h"
#include "2sha.h"
-/* Read file named [input_file] into a buffer and stores the length into
- * [len].
- *
- * Returns a pointer to the buffer. Caller owns the returned pointer and
- * must free it.
- */
-uint8_t* BufferFromFile(const char* input_file, uint64_t* len);
-
-/* Read a pre-processed RSA Public Key from file [input_file].
- *
- * Returns a pointer to the read key. Caller owns the returned pointer and
- * must free it.
- */
-RSAPublicKey* RSAPublicKeyFromFile(const char* input_file);
-
/* Calculates the appropriate digest for the data in [input_file] based on the
* hash algorithm [alg] and stores it into [digest], which is of size
* [digest_size]. Returns VB2_SUCCESS, or non-zero on error.