Upgrade libtomcrypt
This commit is contained in:
@@ -15,14 +15,9 @@
|
||||
*/
|
||||
int ctr_done(symmetric_CTR *ctr)
|
||||
{
|
||||
int err;
|
||||
LTC_ARGCHK(ctr != NULL);
|
||||
|
||||
if ((err = cipher_is_valid(ctr->cipher)) != CRYPT_OK) {
|
||||
return err;
|
||||
}
|
||||
cipher_descriptor[ctr->cipher].done(&ctr->key);
|
||||
return CRYPT_OK;
|
||||
return ecb_done(&ctr->ecb);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user