Just copyin the IV into the crypto descriptor directly.
This avoids copying the IV twice for each operation.
Differential D13847
Axe tmp_iv. jhb on Jan 11 2018, 12:25 AM. Authored by Tags None Referenced Files
Subscribers
Details
Just copyin the IV into the crypto descriptor directly. This avoids copying the IV twice for each operation.
Diff Detail
Event TimelineComment Actions Does this mean that crd_iv potentially contains unknown data ? E.g. after the partial copy + fault. Perhaps it is fine because the content of crd_iv is user-controlled anyway. Comment Actions crd_iv is only used after the copyin() if it succeeds. It shouldn't have any different data as a result of this change once a request is submitted to the driver. |