Lines Matching refs:ptk_data
321 } __attribute__ (( packed )) ptk_data; in wpa_derive_ptk() local
327 memcpy ( ptk_data.mac1, ctx->dev->netdev->ll_addr, ETH_ALEN ); in wpa_derive_ptk()
328 memcpy ( ptk_data.mac2, ctx->dev->bssid, ETH_ALEN ); in wpa_derive_ptk()
330 memcpy ( ptk_data.mac1, ctx->dev->bssid, ETH_ALEN ); in wpa_derive_ptk()
331 memcpy ( ptk_data.mac2, ctx->dev->netdev->ll_addr, ETH_ALEN ); in wpa_derive_ptk()
335 memcpy ( ptk_data.nonce1, ctx->Anonce, WPA_NONCE_LEN ); in wpa_derive_ptk()
336 memcpy ( ptk_data.nonce2, ctx->Snonce, WPA_NONCE_LEN ); in wpa_derive_ptk()
338 memcpy ( ptk_data.nonce1, ctx->Snonce, WPA_NONCE_LEN ); in wpa_derive_ptk()
339 memcpy ( ptk_data.nonce2, ctx->Anonce, WPA_NONCE_LEN ); in wpa_derive_ptk()
342 DBGC2 ( ctx, "WPA %p A1 %s, A2 %s\n", ctx, eth_ntoa ( ptk_data.mac1 ), in wpa_derive_ptk()
343 eth_ntoa ( ptk_data.mac2 ) ); in wpa_derive_ptk()
345 DBGC2_HD ( ctx, ptk_data.nonce1, WPA_NONCE_LEN ); in wpa_derive_ptk()
346 DBGC2_HD ( ctx, ptk_data.nonce2, WPA_NONCE_LEN ); in wpa_derive_ptk()
350 &ptk_data, sizeof ( ptk_data ), in wpa_derive_ptk()