Crate fcp_cryptoauth [] [src]

Modules

auth_failure
authentication

Contains code related to the authorization challenge, as defined by https://github.com/fc00/spec/blob/10b349ab11/cryptoauth.md#authorization-challenges and https://github.com/cjdelisle/cjdns/blob/cjdns-v17.4/doc/Whitepaper.md#authentication-field

connection

Handling of the connection once the handshake was made.

cryptography
handshake

Creates and reads CryptoAuth Hello packets

handshake_packet

Contains the HandshakePacket structure, and a HandshakePacketBuilder to construct it field by field.

keys
passwords
session

Contains the Session structure, which stores the state of a CryptoAuth session.

wrapper

Main wrapper function for CryptoAuth connections. For normal usage of CryptoAuth, everything you need should be in this module (or reexported by it).

Functions

init

Initializes fcp_cryptoauth. Must be called before any feature is used.