Closed
Bug 2051995
Opened 2 months ago
Closed 2 months ago
Add a faster fallback PORT_SafeZero implementation for macOS
Categories
(NSS :: Libraries, enhancement, P3)
NSS
Libraries
Tracking
(nss 3.126)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| nss | --- | 3.126 |
People
(Reporter: jschanck, Assigned: jschanck)
Details
Attachments
(1 file)
While benchmarking the new AES-GCM code I noticed that PORT_SafeZero uses the fallback implementation when built with Apple clang. For compilers with GNU inline assembly we can do a little better by combining a call to the optimized platform memset with a memory barrier.
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/eaf27bf362ec
add a faster PORT_SafeZero fallback. r=nss-reviewers,nkulatova
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
| Assignee | ||
Updated•1 month ago
|
status-nss:
--- → 3.126
You need to log in
before you can comment on or make changes to this bug.
Description
•