D | test_ap_wps.py | 6597 def wsc_dh_kdf(peer_pk, own_private, mac_addr, e_nonce, r_nonce): argument 6611 m = hmac.new(dhkey, e_nonce + mac_addr + r_nonce, hashlib.sha256) 6638 def build_m1(eap_id, uuid_e, mac_addr, e_nonce, e_pk, argument 6644 attrs += build_wsc_attr(ATTR_ENROLLEE_NONCE, e_nonce) 6665 def build_m2(authkey, m1, eap_id, e_nonce, r_nonce, uuid_r, r_pk, argument 6669 if e_nonce: 6670 attrs += build_wsc_attr(ATTR_ENROLLEE_NONCE, e_nonce) 6695 def build_m2d(m1, eap_id, e_nonce, r_nonce, uuid_r, dev_pw_id=None, eap_code=1): argument 6698 attrs += build_wsc_attr(ATTR_ENROLLEE_NONCE, e_nonce) 6720 def build_ack(eap_id, e_nonce, r_nonce, msg_type=WPS_WSC_ACK, eap_code=1): argument [all …]
|