path: root/src/crypto/dh_group5.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak on NFC DH generation error pathJouni Malinen2015-11-291-0/+1
| | | | | | | It was possible for some NFC DH generation error paths to leak memory since the old private/public key was not freed if an allocation failed. Signed-off-by: Jouni Malinen <j@w1.fi>
* Add dh5_init_fixed() to allow fixed DH parameters to be usedJouni Malinen2012-06-271-1/+7
| | | | | | | This allows pre-configured private and public key to be used when initializing DH for group 5. Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* Use NULL instead of 0 for pointersJouni Malinen2011-11-181-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Allow the internal DH implementation to be overriddenJouni Malinen2009-10-111-0/+40
Crypto library wrappers can now override the internal DH (group 5) implementation. As a starting point, this is done with OpenSSL. The new mechanism is currently available only for WPS (i.e., IKEv2 still depends on the internal DH implementation).