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
..
2018-05-01 10:33:35 -07:00
2018-05-29 14:51:39 -07:00
2011-04-19 10:10:47 -07:00
2017-01-03 11:31:18 -06:00
2018-05-29 16:00:33 -07:00
2012-10-14 13:06:48 -07:00
2016-11-04 10:46:40 -07:00
2017-01-03 11:31:18 -06:00
2018-07-23 15:40:15 -07:00
2018-05-29 14:51:39 -07:00
2018-05-29 14:51:39 -07:00
2018-03-28 10:19:22 -07:00
2016-04-28 09:27:40 -07:00
2016-03-18 13:31:11 -07:00
2016-03-18 13:31:11 -07:00
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00