summaryrefslogtreecommitdiffstats
path: root/cryptodev_int.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-25 04:31:52 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-25 04:31:52 +0200
commitdb7c441175942d3b3c3e6321a9a16dc7e83b747c (patch)
tree1e76d08e646d466dd0e096b23c048dde074fb78e /cryptodev_int.h
parent9de348f24de5ab4f6eafba7a20f3fa64912b917b (diff)
downloadkernel-crypto-db7c441175942d3b3c3e6321a9a16dc7e83b747c.tar.gz
kernel-crypto-db7c441175942d3b3c3e6321a9a16dc7e83b747c.tar.xz
kernel-crypto-db7c441175942d3b3c3e6321a9a16dc7e83b747c.zip
Remove a redundant argument of cryptodev_hash_init
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r--cryptodev_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h
index e38150545b0..573fcaaed16 100644
--- a/cryptodev_int.h
+++ b/cryptodev_int.h
@@ -77,6 +77,6 @@ ssize_t cryptodev_hash_update( struct hash_data* hdata, struct scatterlist *sg,
ssize_t _cryptodev_hash_update( struct hash_data* hdata, const void* data, size_t len);
int cryptodev_hash_reset( struct hash_data* hdata);
void cryptodev_hash_deinit(struct hash_data* hdata);
-int cryptodev_hash_init( struct hash_data* hdata, const char* alg_name, int hmac_mode, void* mackey, size_t mackeylen);
+int cryptodev_hash_init(struct hash_data *hdata, const char *alg_name, const void *mackey, size_t mackeylen);
#endif /* CRYPTODEV_INT_H */