Jouni Malinen 4396f74a36 EAP-pwd: Enforce 1 < rand,mask < r and rand+mask mod r > 1
RFC 5931 has these conditions as MUST requirements, so better follow
them explicitly even if the rand,mask == 0 or rand+mask == 0 or 1 cases
are very unlikely to occur in practice while generating random values
locally.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-09 17:11:15 +03:00
..
2018-03-31 11:57:33 +03:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2018-03-31 11:57:33 +03:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2018-03-31 11:57:33 +03:00
2018-03-31 11:57:33 +03:00
2017-03-07 13:19:10 +02:00
2015-04-22 11:44:19 +03:00
2017-03-07 13:19:10 +02:00