diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 04:31:52 +0200 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 04:31:52 +0200 |
| commit | db7c441175942d3b3c3e6321a9a16dc7e83b747c (patch) | |
| tree | 1e76d08e646d466dd0e096b23c048dde074fb78e /libtomcrypt | |
| parent | 9de348f24de5ab4f6eafba7a20f3fa64912b917b (diff) | |
| download | cryptodev-linux-db7c441175942d3b3c3e6321a9a16dc7e83b747c.tar.gz cryptodev-linux-db7c441175942d3b3c3e6321a9a16dc7e83b747c.tar.xz cryptodev-linux-db7c441175942d3b3c3e6321a9a16dc7e83b747c.zip | |
Remove a redundant argument of cryptodev_hash_init
Diffstat (limited to 'libtomcrypt')
| -rw-r--r-- | libtomcrypt/hashes/hash_memory.c | 2 | ||||
| -rw-r--r-- | libtomcrypt/hashes/hash_memory_multi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libtomcrypt/hashes/hash_memory.c b/libtomcrypt/hashes/hash_memory.c index a416de9..c6f5188 100644 --- a/libtomcrypt/hashes/hash_memory.c +++ b/libtomcrypt/hashes/hash_memory.c @@ -44,7 +44,7 @@ int hash_memory(const struct algo_properties_st *hash, const unsigned char *in, return CRYPT_BUFFER_OVERFLOW; } - err = cryptodev_hash_init( &hdata, hash->kstr, 0, NULL, 0); + err = cryptodev_hash_init(&hdata, hash->kstr, NULL, 0); if (err < 0) { err = CRYPT_INVALID_HASH; goto LBL_ERR; diff --git a/libtomcrypt/hashes/hash_memory_multi.c b/libtomcrypt/hashes/hash_memory_multi.c index a914916..7422676 100644 --- a/libtomcrypt/hashes/hash_memory_multi.c +++ b/libtomcrypt/hashes/hash_memory_multi.c @@ -50,7 +50,7 @@ int hash_memory_multi(const struct algo_properties_st *hash, unsigned char *out, return CRYPT_BUFFER_OVERFLOW; } - err = cryptodev_hash_init( &hdata, hash->kstr, 0, NULL, 0); + err = cryptodev_hash_init(&hdata, hash->kstr, NULL, 0); if (err < 0) { err = CRYPT_INVALID_HASH; goto LBL_ERR; |
