# crypto.ml_kem: avoid redundant assignment & fix K-PKE.KeyGen \(\#26031\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 3c647ca6bb987c496652fd6bf279ef2625f41821

Requested commit: 3c647ca6bb987c496652fd6bf279ef2625f41821

Commit: 3c647ca6bb987c496652fd6bf279ef2625f41821

Tree: 70d8cfcc1350fe9d072867638d80ebbf71d8c020

Author: Frank Denis

Committer: GitHub

## Message

```
crypto.ml_kem: avoid redundant assignment & fix K-PKE.KeyGen (#26031)

FIPS-203 algorithm 13 for deterministic key generation uses
(𝜌, 𝜎) ← G(𝑑 ‖ 𝑘) , not (𝜌, 𝜎) ← G(k ‖ d)
```

## Parents

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

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