Module server

Module server 

Source

Functionsยง

create_key_proofs
Create key proofs for a challenge response (used in tests)
generate_key_challenge
Generates a new key challenge with a random nonce
perform_multi_challenge_handshake
Performs a multi-challenge handshake with a client
receive_key_response
Receives a key challenge response from the client
send_challenge
Sends a challenge to the client over the stream
send_result
Sends the challenge result back to the client
verify_key_proofs
Verifies all key proofs in a response
verify_single_key_proof ๐Ÿ”’
Verifies a single key proof