HomeFreeBSD

Don't read or generate an IV until all error checking is complete.

Description

Don't read or generate an IV until all error checking is complete.

In particular, this avoids edge cases where a generated IV might be
written into the output buffer even though the request is failed with
an error.

Sponsored by: Chelsio Communications

Details

Provenance
jhbAuthored on
Parents
rS328359: Expand the software fallback for GCM to cover more cases.
Branches
Unknown
Tags
Unknown