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