freebsd-nq/module/icp
Nathan Lewis 010d12474c Add support for selecting encryption backend
- Add two new module parameters to icp (icp_aes_impl, icp_gcm_impl)
  that control the crypto implementation.  At the moment there is a
  choice between generic and aesni (on platforms that support it).
- This enables support for AES-NI and PCLMULQDQ-NI on AMD Family
  15h (bulldozer) and newer CPUs (zen).
- Modify aes_key_t to track what implementation it was generated
  with as key schedules generated with various implementations
  are not necessarily interchangable.

Reviewed by: Gvozden Neskovic <neskovic@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Nathaniel R. Lewis <linux.robotdude@gmail.com>
Closes #7102 
Closes #7103
2018-08-02 11:59:24 -07:00
..
algs Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
api Update build system and packaging 2018-05-29 16:00:33 -07:00
asm-x86_64 Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
core Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
include Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
io Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
os Linux 4.14 compat: CONFIG_GCC_PLUGIN_RANDSTRUCT 2017-11-28 17:33:48 -06:00
spi Allow longer SPA names in stats 2017-08-11 08:56:24 -07:00
illumos-crypto.c Update build system and packaging 2018-05-29 16:00:33 -07:00
Makefile.in Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00