[zapps-wg] Hardware-accelerated verification of randomness beacon

Kobi Gurkan kobi at qed-it.com
Fri Apr 20 09:08:58 EDT 2018


That's pretty cool!

Out of interest - I'm not deeply familiar with Intel SHA extensions nor ARM
NEON crypto - was wondering if you know of the top of your head if the
abstraction is low level enough to compute only the compression function as
well?

Kobi

----------
Kobi Gurkan
VP R&D
(+972)-549743033 <+972%2054-974-3033>

On Wed, Apr 18, 2018 at 5:53 PM, Jason Davies via zapps-wg <
zapps-wg at lists.z.cash.foundation> wrote:

> Hi all,
>
> I've implemented a simple Rust tool for parallel verification of the
> randomness
> beacon:
>
>   https://github.com/plutomonkey/verify-beacon
>
> It uses Intel SHA extensions or ARM NEON crypto for performance.  I've
> added
> the relevant SHA-256 intrinsics to Rust's stdsimd, which should land in
> nightly
> very soon, but for now the tool should work fine using stdsimd directly.
>
> If you have a Ryzen CPU, performance is rather good, e.g. 1h45m on 24 cores
> running at 3.8GHz.  On ARM, it's not quite as good (indicating I may be
> able to
> optimise further), but I was able to complete verification in 2h20m on 96
> cores
> running at 2GHz.
>
> --
> Jason Davies, https://www.jasondavies.com/
>
>



More information about the zapps-wg mailing list