Comments (4)
I have some additional benchmarks available in https://eprint.iacr.org/2017/898.pdf, which also provides a comparison on different platforms (Figure 5 and 6) between some of the most promising candidates for hashing short inputs.
The implementations are also available here (but you might have to extract them from the SPHINCS implementation for x86): https://github.com/kste/sphincs
from sha256_avx.
Thanks! From a user perspective, I'd be most interested in how your implementation compares to other implementations, e.g. how many cycles/byte would openssl take for 64 Byte input?
from sha256_avx.
Ah I see. On Skylake https://bench.cr.yp.to/results-hash.html reports 19.66 cycles/byte (for the "OpenSSL_1.0.2g__1_Mar_2016" implementation) for processing 64 bytes. However, this implementation also pads the message, so the 64 bytes column will actually lead to processing two message blocks.
For a single block, extrapolating from the 8 byte column, I would estimate it to be ~11 cycles/byte.
from sha256_avx.
Cool, thanks. Maybe a useful addition to README.md?
from sha256_avx.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sha256_avx.