diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2015-03-17 12:53:09 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-19 07:46:15 +0100 |
commit | 92138a77544da7ad7d880082e905c1ca8cd0c527 (patch) | |
tree | 4c839672611c982994d1bfd400b718739feb8540 /include | |
parent | bf2cdf4084721de533ad0957f2ca3002cfa89cf1 (diff) | |
download | barebox-92138a77544da7ad7d880082e905c1ca8cd0c527.tar.gz barebox-92138a77544da7ad7d880082e905c1ca8cd0c527.tar.xz |
crypto: digest: digest_file_window/digest_file/digest_file_by_name drop key params
expect the key to be set before calling
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/digest.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/digest.h b/include/digest.h index b890a7a10b..1c742f615e 100644 --- a/include/digest.h +++ b/include/digest.h @@ -54,14 +54,11 @@ struct digest *digest_alloc(const char *name); void digest_free(struct digest *d); int digest_file_window(struct digest *d, const char *filename, - const unsigned char *key, size_t keylen, unsigned char *hash, ulong start, ulong size); int digest_file(struct digest *d, const char *filename, - const unsigned char *key, size_t keylen, unsigned char *hash); int digest_file_by_name(const char *algo, const char *filename, - const unsigned char *key, size_t keylen, unsigned char *hash); static inline int digest_init(struct digest *d) |