Lines Matching refs:mac_addr

6620 def wsc_dh_kdf(peer_pk, own_private, mac_addr, e_nonce, r_nonce):  argument
6634 m = hmac.new(dhkey, e_nonce + mac_addr + r_nonce, hashlib.sha256)
6661 def build_m1(eap_id, uuid_e, mac_addr, e_nonce, e_pk, argument
6666 attrs += build_wsc_attr(ATTR_MAC_ADDR, mac_addr)
6781 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
6787 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
6795 mac_addr, e_nonce,
6871 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
6959 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
6969 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7063 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7073 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7170 mac_addr='\x00\x00\x00\x00\x00\x00'): argument
7182 if mac_addr is not None:
7183 attrs += build_wsc_attr(ATTR_MAC_ADDR, mac_addr)
7188 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7189 m8_cred = build_cred(mac_addr=mac_addr)
7199 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7200 m8_cred = build_cred(mac_addr=mac_addr, ssid='test-wps-conf\x00',
7206 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7207 m8_cred = build_cred(mac_addr=mac_addr, ssid=None)
7212 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7213 m8_cred = build_cred(mac_addr=mac_addr, ssid="")
7218 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7219 m8_cred = build_cred(mac_addr=mac_addr, auth_type=None)
7224 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7225 m8_cred = build_cred(mac_addr=mac_addr, encr_type=None)
7230 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7231 m8_cred = build_cred(mac_addr=mac_addr, nw_key=None)
7236 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7237 m8_cred = build_cred(mac_addr=mac_addr, auth_type='\x00\x01',
7243 m8_cred = build_cred(mac_addr=None)
7248 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7249 m8_cred = build_cred(mac_addr=mac_addr, encr_type='\x00\x00')
7254 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7266 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7276 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7305 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7315 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7344 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7354 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7384 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7394 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7428 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7438 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7488 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7498 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
7684 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
7694 mac_addr, m1_attrs[ATTR_ENROLLEE_NONCE],
8027 mac_addr = m1_attrs[ATTR_MAC_ADDR]
8035 authkey, keywrapkey = wsc_dh_kdf(e_pk, own_private, mac_addr, e_nonce,
8215 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8221 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8230 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8260 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8266 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8275 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8305 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8311 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8320 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8365 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8371 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8380 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8423 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8429 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8438 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8497 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8503 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8512 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8570 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8577 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8601 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8607 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8616 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8646 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8652 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8661 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8705 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8711 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8720 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8748 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8754 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8763 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8793 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8799 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8808 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8838 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8844 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8853 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8880 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8886 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8895 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8919 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8925 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8934 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8958 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
8964 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
8973 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
8997 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9003 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9012 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9036 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9042 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9051 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9075 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9081 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9090 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9114 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9120 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9129 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9152 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9158 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9167 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9191 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9197 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9206 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9230 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9236 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9245 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9306 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9312 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9321 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9452 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9458 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,
9467 authkey, keywrapkey = wsc_dh_kdf(r_pk, own_private, mac_addr, e_nonce,
9525 mac_addr = binascii.unhexlify(dev[0].own_addr().replace(':', ''))
9531 m1, raw_m1_attrs = build_m1(msg['eap_identifier'], uuid_e, mac_addr,