Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144292026
D32108.id96377.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
437 B
Referenced Files
None
Subscribers
None
D32108.id96377.diff
View Options
diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c
--- a/sys/opencrypto/cryptodev.c
+++ b/sys/opencrypto/cryptodev.c
@@ -864,6 +864,13 @@
goto bail;
}
break;
+ case CSP_MODE_AEAD:
+ if (cse->ivsize != 0 && cop->iv == NULL) {
+ SDT_PROBE1(opencrypto, dev, ioctl, error, __LINE__);
+ error = EINVAL;
+ goto bail;
+ }
+ /* FALLTHROUGH */
case CSP_MODE_ETA:
switch (cop->op) {
case COP_ENCRYPT:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 4:36 PM (3 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28474147
Default Alt Text
D32108.id96377.diff (437 B)
Attached To
Mode
D32108: cryptodev: Permit CIOCCRYPT for AEAD ciphers.
Attached
Detach File
Event Timeline
Log In to Comment