3 ms·
Anyone know of equivalent bitsliced MAC/cryptographic hash algorithms (or resources describing how that might work)? Also, am I right in saying the implementati
by anonymousDan 5y ago
Anyone know of equivalent bitsliced MAC/cryptographic hash algorithms (or resources describing how that might work)? Also, am I right in saying the implementations described in the article are effectively 'CPU only', i.e. no memory accesses are performed beyond the initial loading of the input data into registers and writing the final result?
- tatersolid 5y agoMost current cryptographic hash functions have no lookup tables, multiplies, or other data dependencies and are constant time even when used with a secret key as in HMAC. Obviously variable input length varies run time as with all symmetric crypto. See the end of this long Stack Exchange answer by a well-regarded cryptography implementer: https://crypto.stackexchange.com/a/11305/8925 https://crypto.stackexchange.com/a/11305/8925