# std.crypto: 2.5 times faster ghash and polyval on WebAssembly \(\#15835\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/16dbb960fc8dada79cd42dd2ba1ebf0f66ccaaec)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 16dbb960fc8dada79cd42dd2ba1ebf0f66ccaaec

Requested commit: 16dbb960fc8dada79cd42dd2ba1ebf0f66ccaaec

Commit: 16dbb960fc8dada79cd42dd2ba1ebf0f66ccaaec

Tree: 4a166ca84b061fd6d7bdeaf40b28ce066ab42814

Author: Frank Denis

Committer: GitHub

## Message

```
std.crypto: 2.5 times faster ghash and polyval on WebAssembly (#15835)

* std.crypto: faster ghash and polyval on WebAssembly

Before:  91 MiB/s
After : 243 MiB/s

Some other platforms might benefit from this, but WebAssembly is
the obvious one (simd128 doesn't make a difference).

```

## Parents

- [3db3cf77904e664d589287602c14168a7a63f125](https://git.cafe/gitcafe/zig/commit/3db3cf77904e664d589287602c14168a7a63f125?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/16dbb960fc8dada79cd42dd2ba1ebf0f66ccaaec?format=markdown)
