]> git.ipfire.org Git - thirdparty/hostap.git/commit
Share common SAE and EAP-pwd functionality: random 1..p-1 creation
authorJouni Malinen <jouni@codeaurora.org>
Thu, 25 Apr 2019 17:43:41 +0000 (20:43 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 25 Apr 2019 20:49:49 +0000 (23:49 +0300)
commita9615b1b889680dea7fe39d55a59e8a7e8b03b6d
tree8e329917139cae31bef9b10d95977c51c8f73585
parent6c9543fcb7962e26c2a91c43089abe171d073b44
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>
src/common/dragonfly.c
src/common/dragonfly.h
src/common/sae.c
src/eap_common/eap_pwd_common.c