diff --git a/sys/opencrypto/xform_aes_xts.c b/sys/opencrypto/xform_aes_xts.c --- a/sys/opencrypto/xform_aes_xts.c +++ b/sys/opencrypto/xform_aes_xts.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include +#include #include static int aes_xts_setkey(void *, const uint8_t *, int); @@ -87,10 +88,8 @@ uint64_t blocknum; u_int i; -#ifndef _STANDALONE KASSERT(ivlen == sizeof(blocknum), ("%s: invalid IV length", __func__)); -#endif /* * Prepare tweak as E_k2(IV). IV is specified as LE representation