1
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
3
* LibTomCrypt is a library that provides various cryptographic
4
* algorithms in a highly modular and flexible manner.
6
* The library is free for all purposes without any express
9
* Tom St Denis, tomstdenis@gmail.com, http://libtomcrypt.com
15
F8 implementation, finish chain, Tom St Denis
20
/** Terminate the chain
21
@param f8 The F8 chain to terminate
22
@return CRYPT_OK on success
24
int f8_done(symmetric_F8 *f8)
27
LTC_ARGCHK(f8 != NULL);
29
if ((err = cipher_is_valid(f8->cipher)) != CRYPT_OK) {
32
cipher_descriptor[f8->cipher].done(&f8->key);
40
/* $Source: /cvs/libtom/libtomcrypt/src/modes/f8/f8_done.c,v $ */
41
/* $Revision: 1.2 $ */
42
/* $Date: 2006/06/16 22:49:25 $ */