Add Diffie-Hellman group definitions for MODP groups in RFC 5114
authorJouni Malinen <j@w1.fi>
Sun, 6 Jan 2013 11:22:44 +0000 (13:22 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Jan 2013 15:51:54 +0000 (17:51 +0200)
commit2ce12789c16b04b659653f8b2e4d6c1ab5d3083f
treef4bfb0b034fa0c105d55c58e897ac09a968850f6
parentfbfb0e65bf60e881fb5b2f9b978922a1af157575
Add Diffie-Hellman group definitions for MODP groups in RFC 5114

The groups 22, 23, and 24 are not based on a safe prime and generate a
prime order subgroup. As such, struct dh_group is also extended to
include the order for previously defined groups (q=(p-1)/2 since these
were based on a safe prime).

Signed-hostap: Jouni Malinen <j@w1.fi>
src/crypto/dh_groups.c
src/crypto/dh_groups.h