Page MenuHomeFreeBSD

D33855.id101334.diff
No OneTemporary

D33855.id101334.diff

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 <sys/types.h>
+#include <sys/systm.h>
#include <opencrypto/xform_enc.h>
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

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 25, 9:42 PM (1 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27263545
Default Alt Text
D33855.id101334.diff (578 B)

Event Timeline