]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS NFC: Split DH key generation to a separate function
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 30 Apr 2013 15:17:23 +0000 (18:17 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jan 2014 19:10:55 +0000 (21:10 +0200)
commit3f1639da5728073572df25c0741f8266e9a6b15d
tree8f404f6f6b83b73522751ffced39348d0db9da14
parent975491793b3b4a0bd33bf783773bed5abb85fea8
WPS NFC: Split DH key generation to a separate function

This allows DH key generation to be shared for other purposes than just
the case of OOB Device Password building. In addition, force the DH
public key buffer to be full 192 octets with zero padding to avoid
issues with the buffer being used in messages sent to a peer device.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/wps/wps.h
src/wps/wps_common.c