diff --git a/sys/crypto/cast128/cast128.h b/sys/crypto/cast128/cast128.h deleted file mode 100644 index c316f170cbb7..000000000000 --- a/sys/crypto/cast128/cast128.h +++ /dev/null @@ -1,17 +0,0 @@ -/* $FreeBSD$ */ - -#ifndef _CAST128_H_ -#define _CAST128_H_ - -#include - -#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_ */ diff --git a/sys/netinet6/esp_core.c b/sys/netinet6/esp_core.c index 31b3548bed7f..43ea585136cf 100644 --- a/sys/netinet6/esp_core.c +++ b/sys/netinet6/esp_core.c @@ -75,7 +75,15 @@ #include #include -#include + +#include +#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 diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index db3cd75fc491..d251d96438e1 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -35,9 +35,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include +#include #include #include