From db7c441175942d3b3c3e6321a9a16dc7e83b747c Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Wed, 25 Aug 2010 04:31:52 +0200 Subject: Remove a redundant argument of cryptodev_hash_init --- cryptodev_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cryptodev_int.h') diff --git a/cryptodev_int.h b/cryptodev_int.h index e381505..573fcaa 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 */ -- cgit