Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140523881
D33855.id101334.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
578 B
Referenced Files
None
Subscribers
None
D33855.id101334.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33855: stand: Fix KASSERT use
Attached
Detach File
Event Timeline
Log In to Comment