Is .NET AesManaged cryptography hardware accelerated?

Does anyone know if the AesManaged Cryptography.NET provider (> 4.0) supports hardware acceleration if the processor has AES extensions (e.g. Haswell-based processor)?

If so, is there a confirmation method with a code?

+4
source share
1 answer

Obviously, the .NET implementation is AesManagednot hardware. Searches for SO and Google show that AesCryptoServiceProvider(which is a wrapper around the OS cryptosystem) is usually much slower than the implementation AesManaged.

, AesCryptoServiceProvider , , . , AES-NI .

- , , , , Core i7 4770 64- Windows 8.1 Update, AesCryptoServiceProvider .

, 8 AES CBC AesManaged , ( 32 ). , AesCryptoServiceProvider 30-40%, ( ) 10 .

, AesCryptoServiceProvider, 64- Windows 8.1 Update.

+1

Source: https://habr.com/ru/post/1539103/


All Articles