Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142010154
D32108.id96112.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
465 B
Referenced Files
None
Subscribers
None
D32108.id96112.diff
View Options
Index: sys/opencrypto/cryptodev.c
===================================================================
--- sys/opencrypto/cryptodev.c
+++ 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
Thu, Jan 15, 9:19 PM (5 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27654915
Default Alt Text
D32108.id96112.diff (465 B)
Attached To
Mode
D32108: cryptodev: Permit CIOCCRYPT for AEAD ciphers.
Attached
Detach File
Event Timeline
Log In to Comment