The hwencap tool uses new ioctl based interface to perform device based
cryptographic data encapsulation. This can be used to encode and decode
any data (for example GELI partition key) in device specific way with
device specific key.
A dedicated character device is added to caam_crypto driver that
implements hwencap ioctl interface to allow blob encapsulation and
decapsulation using CAAM hardware OPT master key.
Authored-by: Maciej Szczepaniak <mszczepaniak2@sii.pl>
Co-Authored-by: Dawid Górecki <dgorecki@sii.pl>
Co-Authored-by: Pawel Kochanowski <pkochanowski@sii.pl>
Obtained from: Sii Poland
Sponsored by: Alstom Group