Module fcp_cryptoauth::handshake
[−]
[src]
Creates and reads CryptoAuth Hello packets
Functions
create_next_handshake_packet |
Implements Hello packet creation, as defined by https://github.com/fc00/spec/blob/10b349ab11/cryptoauth.md#hello-repeathello |
finalize |
Should be called when the first (authenticated) non-handshake packet arrives. Otherwise, this is a no-op. |
parse_authnone_hello_packet |
Read a network packet, assumed to be an Hello or a RepeatHello with no authentication |
parse_handshake_packet |
Read a network packet. |
parse_handshake_packet_no_auth |
Read a network packet without checking authentication. |
parse_hello_packet |
Read a network packet, assumed to be an Hello or a RepeatHello. |
parse_key_packet |
Read a network packet, assumed to be an Key or RepeatKey |
pre_parse_hello_packet |
Returns the public key of a Hello |