diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 05:47:28 +0200 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 05:47:28 +0200 |
| commit | 7f6e65351ae2c214f28496609103711773721ca5 (patch) | |
| tree | 29c1ce2f7f8c149700bb13c4b8dbf06723dc4ab8 /libtomcrypt | |
| parent | fb5c4437fbec88cd98074a0d76ce939de2cc530f (diff) | |
| parent | d2e5c1885639377eb06a03a852d05faf06b4a3c1 (diff) | |
| download | cryptodev-linux-7f6e65351ae2c214f28496609103711773721ca5.tar.gz cryptodev-linux-7f6e65351ae2c214f28496609103711773721ca5.tar.xz cryptodev-linux-7f6e65351ae2c214f28496609103711773721ca5.zip | |
Merge branch 'cleanups'
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; |
