refer opencrypto/cast.h directly.

This commit is contained in:
Hajimu UMEMOTO 2005-03-11 12:37:07 +00:00
parent b13ac84d46
commit 9f65b10b0f
3 changed files with 10 additions and 19 deletions

View File

@ -1,17 +0,0 @@
/* $FreeBSD$ */
#ifndef _CAST128_H_
#define _CAST128_H_
#include <opencrypto/cast.h>
#define cast128_key cast_key
#define cast128_setkey(key, rawkey, keybytes) \
cast_setkey((key), (rawkey), (keybytes))
#define cast128_encrypt(key, inblock, outblock) \
cast_encrypt((key), (inblock), (outblock))
#define cast128_decrypt(key, inblock, outblock) \
cast_decrypt((key), (inblock), (outblock))
#endif /* _CAST128_H_ */

View File

@ -75,7 +75,15 @@
#include <crypto/des/des.h>
#include <crypto/blowfish/blowfish.h>
#include <crypto/cast128/cast128.h>
#include <opencrypto/cast.h>
#define cast128_key cast_key
#define cast128_setkey(key, rawkey, keybytes) \
cast_setkey((key), (rawkey), (keybytes))
#define cast128_encrypt(key, inblock, outblock) \
cast_encrypt((key), (inblock), (outblock))
#define cast128_decrypt(key, inblock, outblock) \
cast_decrypt((key), (inblock), (outblock))
#include <net/net_osdep.h>

View File

@ -35,9 +35,9 @@ __FBSDID("$FreeBSD$");
#include <sys/uio.h>
#include <crypto/blowfish/blowfish.h>
#include <crypto/cast128/cast128.h>
#include <crypto/sha1.h>
#include <opencrypto/rmd160.h>
#include <opencrypto/cast.h>
#include <opencrypto/skipjack.h>
#include <sys/md5.h>