Maintainer | John Galt <jgalt@centromere.net> |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module contains all of the handshake patterns specified in the
protocol. The first two characters of the name represent the handshake
the pattern describes (NN, KN, NK, etc). The last character represents
whether the pattern is intended to be used by the Initiator or the
Responder. These functions are intended to be passed to the
handshakeState
function. The (de-)serialization
of (pre-)messages is beyond the scope of this library, but public keys
can be imported/exported using the curveBytesToPub
and curvePubToBytes
functions.
- noiseNNI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNNR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKNI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKNR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNKI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNKR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKKI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKKR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNEI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNER :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKEI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKER :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNXI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNXR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKXI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKXR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXNI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXNR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseINI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseINR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXKI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXKR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseIKI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseIKR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXEI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXER :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseIEI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseIER :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXXI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXXR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseIXI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseIXR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseNR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseKR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXI :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h
- noiseXR :: (Cipher c, Curve d, Hash h) => HandshakePattern c d h