HomeFreeBSD

Set crp_ilen for crypto requests.

Description

Set crp_ilen for crypto requests.

Assertions in crypto_dispatch() depend on this value being set to
verify that payload and AAD regions are in bounds. Also, requests
that use a single kernel buffer rely on this to know how long the
buffer is for bus_dma, etc.

Reported by: kp

Details

Provenance
jhbAuthored on
Parents
rS359523: MFC r359095:
Branches
Unknown
Tags
Unknown