OpenSSL hardware acceleration

Almost all kernel modules can be loaded with kldload(8) and removed with kldunload(8). If you want to have it loaded automatically during boot, add to /boot/loader.conf:
Code:
aesni_load="YES"
 
Indeed, not all Intel CPUs have it. Loading the module doesn't hurt though, it will just do nothing if the CPU doesn't support it.

If the CPU supports it you should see something like this when the module is loaded:
Code:
Sep 20 01:04:45 molly kernel: aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM> on motherboard

You can also tell by the CPU options if it's supported or not:
Code:
Sep 20 01:04:45 molly kernel: Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,[b]AESNI[/b],XSAVE,OSXSAVE,AVX,F16C,RDRAND>
 
Back
Top