Opened 6 months ago

Closed 6 months ago

#21737 closed defect (fixed)

Speed up keccak-tiny: Use a real load64 function

Reported by: nickm Owned by: nickm
Priority: Medium Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points: .1
Parent ID: Points: .1
Reviewer: Sponsor: Sponsor4

Description

The current load-le64 function shows up in keccak profiles. Of course, that's silly. We can do better -- and we do, in other crypto primitives.

Child Tickets

Change History (6)

comment:1 Changed 6 months ago by nickm

Owner: set to nickm
Status: newaccepted

comment:2 Changed 6 months ago by nickm

Status: acceptedneeds_review

I see an improvement of about 15% in our sha3 benchmarks with the branch in keccak-load-faster.

comment:3 Changed 6 months ago by yawning

LGTM, make sure to test it on a big endian system?

comment:4 Changed 6 months ago by nickm

I don't have one, but we'll find out when the big-endian arm tests run. Good enuff?

comment:5 Changed 6 months ago by yawning

Probably yeah.

comment:6 Changed 6 months ago by nickm

Actual Points: .1
Points: .1
Resolution: fixed
Sponsor: Sponsor4
Status: needs_reviewclosed

Thanks; merging it! Let's see how it goes.

Note: See TracTickets for help on using tickets.