# std.crypto.ghash: fix uninitialized polynomial use \(\#13527\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b29057b6ab78eda87e4f3c9007dc110c101e8e35

Requested commit: b29057b6ab78eda87e4f3c9007dc110c101e8e35

Commit: b29057b6ab78eda87e4f3c9007dc110c101e8e35

Tree: e6d4fe7379d007ffad27c7ea7244d484e630fdc1

Author: Naoki MATSUMOTO

Committer: GitHub

## Message

```
std.crypto.ghash: fix uninitialized polynomial use (#13527)

In the process of 'remaining blocks',
the length of processed message can be from 1 to 79.
The value of 'n-1' is ranged from 0 to 3.
So, st.hx[i] must be initialized at least from st.hx[0] to st.hx[3]
```

## Parents

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

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