diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-05-25 12:48:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-26 09:27:35 +0200 |
commit | 099dcf6673f07807fbc4200abc4ef262c4f3dead (patch) | |
tree | 5bdd45ea2f8870cc18004c06e8cd1d3045b37be4 /include/digest.h | |
parent | e617c9b82126caa6a37c9eaf123ca106c714ee52 (diff) | |
download | barebox-099dcf6673f07807fbc4200abc4ef262c4f3dead.tar.gz barebox-099dcf6673f07807fbc4200abc4ef262c4f3dead.tar.xz |
crypto: digest: mark signature argument as const
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/digest.h')
-rw-r--r-- | include/digest.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/digest.h b/include/digest.h index 7f8d696eb6..7c6711b32a 100644 --- a/include/digest.h +++ b/include/digest.h @@ -68,14 +68,14 @@ void digest_free(struct digest *d); int digest_file_window(struct digest *d, const char *filename, unsigned char *hash, - unsigned char *sig, + const unsigned char *sig, ulong start, ulong size); int digest_file(struct digest *d, const char *filename, - unsigned char *hash, - unsigned char *sig); + unsigned char *hash, + const unsigned char *sig); int digest_file_by_name(const char *algo, const char *filename, - unsigned char *hash, - unsigned char *sig); + unsigned char *hash, + const unsigned char *sig); static inline int digest_init(struct digest *d) { |