Cryptography settings

Started by furfix, September 16, 2022, 01:25:00 PM

Previous topic - Next topic
Hello therel,
I've trying to determine if there is a way to check if my hardware is capable of using any option under "Hardware Acceleration" drop box, and so far, I couldn't find anything out there.

Anybody knows if there is way to check that, maybe running a CLI command?

Thanks in advance!!

Check your CPU to see what it supports. Open a shell and run 'sysctl hw.model' then look up the model:

https://ark.intel.com/content/www/us/en/ark.html
https://www.amd.com/en/products/specifications

Bart...

This is the CPU of my appliance

https://ark.intel.com/content/www/us/en/ark/products/212328/intel-celeron-processor-n5105-4m-cache-up-to-2-90-ghz.html

but there is no references about:
- hifn, padlock, qat nor safe there...

I will keep googling it to see if I find the answer, but thanks for replying!

Quote from: furfix on September 17, 2022, 12:59:28 PM
This is the CPU of my appliance

https://ark.intel.com/content/www/us/en/ark/products/212328/intel-celeron-processor-n5105-4m-cache-up-to-2-90-ghz.html

but there is no references about:
- hifn, padlock, qat nor safe there...

I will keep googling it to see if I find the answer, but thanks for replying!

You've found your answer - your CPU does not support any of those.

September 18, 2022, 01:25:03 AM #4 Last Edit: September 18, 2022, 01:32:30 AM by furfix
Quote
You've found your answer - your CPU does not support any of those.

;)

 Intel® AES New Instructions Yes

Intel® AES New Instructions

Intel® AES New Instructions (Intel® AES-NI) are a set of instructions that enable fast and secure data encryption and decryption. AES-NI are valuable for a wide range of cryptographic applications, for example: applications that perform bulk encryption/decryption, authentication, random number generation, and authenticated encryption.

I know it's an old thread, but a google search lead me here, so I thought I'd chime in:
I am also looking to verify that OPNsense is using this instruction set, using the exact same processor, and yes. I can confirm that the Celeron n5105 does in fact support Intel's AES-NI instruction set.
Now if only I could figure out how to verify it's being used under FreeBSD...

How about "dmesg | fgrep -i aesni" on the CLI?
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Indeed, confirmed for N5105

dmesg | fgrep -i aesni
  Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND>
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256>