Feature #7529
closedCPU Type
100%
Description
In Cpu type can you have a AES Yes/No
Updated by Kill Bill over 7 years ago
Kindly look at the "Hardware Crypto" field. If you don't see it then you don't have it.
Updated by Jim Pingle over 7 years ago
That does only show up if you have the module loaded. If you don't load the module, nothing shows up, even if the CPU is capable. So there is some value in having it display something either way. Such as "AES-NI Capable: No" vs "AES-NI Capable: Yes (disabled)" vs "AES-NI Capable: Yes (enabled)" or similar. I tend not to want to say enabled/disabled though as that implies it would never be used, which isn't the case since OpenSSL/OpenVPN/etc latch on even with the module unloaded, but IPsec doesn't.
Updated by Jim Pingle over 7 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset a84e59a27094e3ccc4f13b596ff1bb80e3ae267a.
Updated by Jo S over 7 years ago
Looking at the commit, I think there is an error in functions.inc.php :
the line:
$cpucrypto_active = is_module_loaded('aesni');
should be placed before the line:
$cpucrypto_type .= ($cpucrypto_active) ? "(active)" : "(inactive)";
Updated by Jim Pingle over 7 years ago
I shuffled that block of code around so much trying to get the wording/formatting right that one slipped by. I pushed a fix.