Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Update poly.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tgkudelski authored Jan 16, 2024
1 parent edd8c6e commit b1c3573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crystals-kyber/poly.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (p *Poly) compress(d int) []byte {
d0 += 1665
d0 *= 80635
d0 >>= 28
t[j] = d0 & 0xf;
t[j] = uint16(d0 & 0xf)
}
c[id] = byte(t[0]) | byte(t[1]<<4)
c[id+1] = byte(t[2]) | byte(t[3]<<4)
Expand Down

0 comments on commit b1c3573

Please sign in to comment.