HI,
Would be good if Total Commander Checksum creation/verify incorporates AMD SHA acceleration
https://stackoverflow.com/questions/44293192/seeking-information-on-hardware-sha-2-acceleration
Thanks!
AMD CPU SHA acceleration
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48021
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: AMD CPU SHA acceleration
TC currently uses two methods for SHA/SHA2:
1. Microsoft Crypto API functions - they seem to use Intel hardware acceleartion only
2. Internal using normal processor registers as a fallback
1. Microsoft Crypto API functions - they seem to use Intel hardware acceleartion only
2. Internal using normal processor registers as a fallback
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: AMD CPU SHA acceleration
Please note that those instructions don't originate from AMD. Intel has proposed them years ago and they included them in their Goldmont (Apollo Lake) mobile CPUs. Then... nothing happened for quite some time, new Intel CPUs being released didn't support them (with the exception of the 10nm Cannon Lake - still low-end CPUs only though). In the meantime, Ryzen appeared, supporting these instructions as well (so it's probably the only desktop CPU at the moment supporting them). Ice Lake should support them I believe.
In other words, these extensions are common for Intel and AMD, so chances are Microsoft adds the support to Crypto API.
Actually, looking at bcryptprimitives.dll from the current Windows 10, I can see those instructions are there... so I guess it's already supported.
In other words, these extensions are common for Intel and AMD, so chances are Microsoft adds the support to Crypto API.
Actually, looking at bcryptprimitives.dll from the current Windows 10, I can see those instructions are there... so I guess it's already supported.