summaryrefslogtreecommitdiffstats
path: root/sys/crypto/cast128/cast128.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/crypto/cast128/cast128.h')
-rw-r--r--sys/crypto/cast128/cast128.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/crypto/cast128/cast128.h b/sys/crypto/cast128/cast128.h
index 31c0397..019c2de 100644
--- a/sys/crypto/cast128/cast128.h
+++ b/sys/crypto/cast128/cast128.h
@@ -1,3 +1,6 @@
+/* $FreeBSD$ */
+/* $KAME: cast128.h,v 1.4 2000/06/14 10:41:16 itojun Exp $ */
+
/*
* heavily modified by Tomomi Suzuki <suzuki@grelot.elec.ryukoku.ac.jp>
*/
@@ -31,12 +34,10 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
#ifndef RFC2144_CAST_128_H
-#define RFC2144_CAST_128_H
+#define RFC2144_CAST_128_H
#include <sys/param.h>
#include <sys/mbuf.h>
@@ -55,7 +56,7 @@ extern void cast128_encrypt_round12 __P((u_int8_t *, const u_int8_t *,
u_int32_t *));
extern void cast128_decrypt_round12 __P((u_int8_t *, const u_int8_t *,
u_int32_t *));
-extern void cast128_cbc_process __P((struct mbuf *, size_t, size_t,
+extern int cast128_cbc_process __P((struct mbuf *, size_t, size_t,
u_int32_t *, u_int8_t *, size_t, int));
#endif
OpenPOWER on IntegriCloud