Git Product home page Git Product logo

Comments (4)

cmuratori avatar cmuratori commented on June 12, 2024

Awesome! I will take a look.

Separately, I am curious: the four-parallel-track construction is how I did the original Meow Hash (the one that didn't have enough diffusion). I am curious: if it can work for AVX-512, why was it not able to be retained from the original Meow Hash for 128-bit? Because in general, parallel-stream construction is the best kind of construction for throughput, since AES instructions have 4-cycle latency...

- Casey

from meow_hash.

NoHatCoder avatar NoHatCoder commented on June 12, 2024

I didn't think of this until now, maybe you considered this construction obvious, but I just thought that if we did parallel tracks we would run out of registers, and thus add a bunch of overhead to the 128 bit implementation.

from meow_hash.

cmuratori avatar cmuratori commented on June 12, 2024

Well, it's not so much that I considered it obvious as that it was the original design of Meow Hash :) My assumption was that since you didn't use any parallel construction in your blocks for the 128-bit version, your reasoning was that the hash was not as good if it was mixed at the end. But I guess that is not true? If not, that is excellent, because the more parallel tracks you can do, the faster you can go, typically, and that's why I designed the original one that way.

  • Casey

from meow_hash.

cmuratori avatar cmuratori commented on June 12, 2024

So, since I was looking at Chacha20 and AES-256-ctr recently, I also have some important updates: it turns out both Zen2/3 and Tiger Lake added a second AES unit. That means that parallel construction becomes much more important now for speed, because the newer x64 chips can issue two AES instructions every cycle even without VAES!

I need to take a look at what you've got so far @NoHatCoder and I'll think about how it will arrange.

- Casey

from meow_hash.

Related Issues (20)

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.