US 12,413,388 B2
Methods and apparatus to hash data
Tomasz Kantecki, Ennis (IE); Wei Li, Shanghai (CN); Wajdi Feghali, Boston, MA (US); James Guilford, Northborough, MA (US); and Vinodh Gopal, Westborough, MA (US)
Assigned to Intel Corporation, Santa Clara, CA (US)
Filed by Intel Corporation, Santa Clara, CA (US)
Filed on Dec. 9, 2021, as Appl. No. 17/547,018.
Prior Publication US 2022/0103345 A1, Mar. 31, 2022
Int. Cl. H04L 29/06 (2006.01); H04L 9/06 (2006.01)
CPC H04L 9/0643 (2013.01) [H04L 9/0618 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method for generating a hash for a data item, comprising:
splitting the data item into a plurality of chunks having a fixed size;
generating an SHA-2 (Secure Hash Algorithm 2) message schedule by,
for at least one chunk,
partitioning the data in the chunk into a plurality of message words;
for multiple Single Instruction Multiple Data (SIMD) registers, copying message words into the SIMD register; and
executing a plurality of SIMD instructions using the SIMD registers to output message schedules for message words in parallel; and
employing the SHA-2 message schedule for computing a plurality of SHA-2 rounds, each compressing two or more chunks, to generate a hash.