HomeFreeBSD

Add support for decryption faults in zinject

Description

Add support for decryption faults in zinject

This patch adds the ability for zinject to trigger decryption
and authentication faults in the ZIO and ARC layers. This
functionality is exposed via the new "decrypt" error type, which
may be provided for "data" object types.

This patch also refactors some of the core encryption / decryption
functions so that they have consistent prototypes, handle errors
consistently, and do not have unused arguments.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7474

Details

Provenance
Tom Caputi <tcaputi@datto.com>Authored on May 2 2018, 10:36 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 2 2018, 10:36 PM
Parents
rG9464b9591ea5: RHEL 7.5 compat: FMODE_KABI_ITERATE
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGbe9a5c355c81: Add support for decryption faults in zinject (authored by Tom Caputi <tcaputi@datto.com>).May 2 2018, 10:36 PM