summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-02-28 14:28:07 -0500
committerjim-p <jimp@pfsense.org>2017-02-28 14:28:07 -0500
commit2c98383fd1618be8412d3810f8cd0c872a837a24 (patch)
tree95204ac02b0a9ae6be7645309f7011b99dcc701b /src/etc/inc/pfsense-utils.inc
parent88aceb2573acab8fbc7e4d467e31280f701ba9cd (diff)
downloadpfsense-2c98383fd1618be8412d3810f8cd0c872a837a24.zip
pfsense-2c98383fd1618be8412d3810f8cd0c872a837a24.tar.gz
Add GUI components for loading cryptodev as a module, and upgrade code so users have it on upgrade since it was in-kernel before. Fixes #5976
Having both aesni and cryptodev loaded at the same time appears to only negatively impact performance, no gains, so at the moment there is no need to load them at the same time.
Diffstat (limited to 'src/etc/inc/pfsense-utils.inc')
-rw-r--r--src/etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc
index 075306f..8bbd3f3 100644
--- a/src/etc/inc/pfsense-utils.inc
+++ b/src/etc/inc/pfsense-utils.inc
@@ -1751,7 +1751,7 @@ function compare_hostname_to_dnscache($hostname) {
*/
function load_crypto() {
global $config, $g;
- $crypto_modules = array('aesni');
+ $crypto_modules = array('aesni', 'cryptodev');
if (!in_array($config['system']['crypto_hardware'], $crypto_modules)) {
return false;
OpenPOWER on IntegriCloud