Tino Reichardt
Tino Reichardt
When [BLAKE3](https://github.com/openzfs/zfs/pull/12918) is in, I would like to add some additional sha256 and sha512 SIMD code. I am [currently working](https://github.com/mcmilk/sha2-testing) on public domain code for choosing the implementation for Intel...
> Github seems to have blackholed my email reply, but: If you'd like to go poke around some more sources of implementations (since more is always better, right), Intel has...
@jumbi77 I started a RFC pull request - you could give it a try: https://github.com/openzfs/zfs/pull/13741 But please don't put any importand data onto it... it's just a beginning... therefore the...
My branch does the same for bsd and linux... it's not ready, but I will also try to include the hardware specific impls. of freebsd as well... The intel code...
Sth. strange isn't okay currently... do no apply.
I will fix this tomorrow... Edit: should work now, I initialized some things not properly :-(
It's the simpliest variant I have choosen currently. The module paramter gets saved into `blake3_impl_module` ... when set, it will be used instead of the fastest method. The `blake3_impl_chosen` is...
> I don't think `blake3_impl_set_fastest()` should actually change the chosen impl. It should just update what the fastest one is, and whatever the chosen impl already was can stay the...
> You set the fastest impl by calling `blake3_impl_set_fastest()`. Then next time something calls `blake3_impl_get_ops()` it will get the new impl (assuming the chosen impl is IMPL_FASTEST). This is how...
> if (blake3_impl_module != IMPL_FASTEST) { I first had an extra define of `IMPL_UNSET` for `blake3_impl_module` ... but I found `IMPL_FASTEST` is the default for unset module parameter, so I...