GithubHelp home page GithubHelp logo

Comments (4)

kste avatar kste commented on July 20, 2024

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.

thiemonagel avatar thiemonagel commented on July 20, 2024

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.

kste avatar kste commented on July 20, 2024

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.

thiemonagel avatar thiemonagel commented on July 20, 2024

Cool, thanks. Maybe a useful addition to README.md?

from sha256_avx.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.