diff options
author | ume <ume@FreeBSD.org> | 2005-03-11 12:37:07 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-03-11 12:37:07 +0000 |
commit | 4319b5fb5e160e2be5ff7b12e86441ffae879993 (patch) | |
tree | 2ca524f4eb9697cb8e44dcb16dcb5bd954060917 /sys/netinet6/esp_core.c | |
parent | 364f261bed3d4f605e8a6613b88275abb211a816 (diff) | |
download | FreeBSD-src-4319b5fb5e160e2be5ff7b12e86441ffae879993.zip FreeBSD-src-4319b5fb5e160e2be5ff7b12e86441ffae879993.tar.gz |
refer opencrypto/cast.h directly.
Diffstat (limited to 'sys/netinet6/esp_core.c')
-rw-r--r-- | sys/netinet6/esp_core.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/netinet6/esp_core.c b/sys/netinet6/esp_core.c index 31b3548..43ea585 100644 --- a/sys/netinet6/esp_core.c +++ b/sys/netinet6/esp_core.c @@ -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> |