wlan_sae

Function join_sae_handshake

Source
pub fn join_sae_handshake(
    sink: &mut SaeUpdateSink,
    first_frame: &AuthFrameRx<'_>,
    akm: Akm,
    ssid: Ssid,
    password: Vec<u8>,
    mac: MacAddr,
    peer_mac: MacAddr,
) -> Result<Box<dyn SaeHandshake>, Error>
Expand description

Creates a new SAE handshake in response to a first message from a peer, using the FCG indiated by the peer if possible. In a successful handshake, this will immediately push a Commit and Confirm to the given update sink.