summaryrefslogtreecommitdiffstats
path: root/libtomcrypt
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:32:27 +0200
commitd2e5c1885639377eb06a03a852d05faf06b4a3c1 (patch)
tree60ab5428bf8331f5fedbb82a009e608bf217a79f /libtomcrypt
parent823e0b899b1396a04585a3b4d555d5c4b626a94f (diff)
downloadcryptodev-linux-d2e5c1885639377eb06a03a852d05faf06b4a3c1.tar.gz
cryptodev-linux-d2e5c1885639377eb06a03a852d05faf06b4a3c1.tar.xz
cryptodev-linux-d2e5c1885639377eb06a03a852d05faf06b4a3c1.zip
Remove a redundant argument of cryptodev_hash_init
Diffstat (limited to 'libtomcrypt')
-rw-r--r--libtomcrypt/hashes/hash_memory.c2
-rw-r--r--libtomcrypt/hashes/hash_memory_multi.c2
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;