Jouni Malinen
17749e948a
Share common SAE and EAP-pwd functionality: is_quadratic_residue
...
Use a shared helper function for the blinded mechanism of determining
the Legendre symbol.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-25 23:49:49 +03:00
Jouni Malinen
a9615b1b88
Share common SAE and EAP-pwd functionality: random 1..p-1 creation
...
Use a shared helper function to create a random value in 1..p-1 range
for is_quadratic_residue().
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-25 23:49:49 +03:00
Jouni Malinen
6c9543fcb7
Share common SAE and EAP-pwd functionality: random qr/qnr creation
...
Use a shared helper function to create random qr/qnr values.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-25 23:49:49 +03:00
Jouni Malinen
2b84ca4dd9
Share common SAE and EAP-pwd functionality: suitable groups
...
Start sharing common SAE and EAP-pwd functionality by adding a new
source code file that can be included into both. This first step is
bringing in a shared function to check whether a group is suitable.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-25 23:49:49 +03:00