Closed
Bug 1650702
Opened 4 years ago
Closed 4 years ago
Support SHA-1 HW acceleration on ARMv8
Categories
(NSS :: Libraries, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
3.56
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(1 file)
Bug 1528113 was for SHA-2, but ARMv8 has SHA-1 HW instruction too.
Comment 1•4 years ago
|
||
While not useful as a secure primitive, sha1 is used all over the codebase for non-security hashing reasons, so this would be a good nice-to-have for power reduction on ARM.
Severity: -- → N/A
Priority: -- → P3
Assignee | ||
Comment 2•4 years ago
|
||
ARM Crypto extension has SHA1 acceleration. Using this, SHA1 is 3 times
faster on ARMv8 CPU. The following data is AWS's a1 instance (Cortex-A72).
Before
# mode in opreps cxreps context op time(sec) thrgput
sha1_e 954Mb 31M 0 0.000 10000.000 10.000 95Mb
After
# mode in opreps cxreps context op time(sec) thrgput
sha1_e 2Gb 94M 0 0.000 10000.000 10.000 288Mb
Comment 3•4 years ago
|
||
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.56
You need to log in
before you can comment on or make changes to this bug.
Description
•