1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-19 05:15:26 -05:00
Simon Tatham 8cf372d4a2 NTRU: remove a pointless failure check.
In the key generation step where we invert 3f in the field
Z_q/<x^p-x-1>, I was carefully checking for failure, on the grounds
that even a field does have _one_ non-invertible element, namely zero.
But I forgot that we'd generated f in such a way that it can't
possibly be zero. So that failure check is pointless.

(However, I've retained it in the form of an assertion.)
2023-05-28 09:59:41 +01:00
..
2022-09-03 11:59:12 +01:00
2022-09-03 12:02:48 +01:00
2021-04-21 21:55:26 +01:00
2023-04-21 20:17:43 +01:00
2021-04-21 21:55:26 +01:00
2021-04-21 21:55:26 +01:00
2022-04-15 17:46:06 +01:00
2023-05-28 09:59:41 +01:00
2021-04-21 21:55:26 +01:00
2021-04-21 21:55:26 +01:00