diff options
Diffstat (limited to 'libtomcrypt/hashes/hash_memory.c')
-rw-r--r-- | libtomcrypt/hashes/hash_memory.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libtomcrypt/hashes/hash_memory.c b/libtomcrypt/hashes/hash_memory.c index 7c0aa4e..274c208 100644 --- a/libtomcrypt/hashes/hash_memory.c +++ b/libtomcrypt/hashes/hash_memory.c @@ -52,12 +52,6 @@ int hash_memory(int hash, const unsigned char *in, unsigned long inlen, unsigned goto LBL_ERR; } - err = cryptodev_hash_reset( &hdata); - if (err < 0) { - err = CRYPT_INVALID_HASH; - goto LBL_ERR; - } - if ((err = _cryptodev_hash_update(&hdata, in, inlen)) < 0) { err = CRYPT_ERROR; goto LBL_ERR; |