This commit is contained in:
Balazs Komuves 2026-04-30 10:38:19 +02:00
parent 665488cf31
commit e1c85e4e24
No known key found for this signature in database
GPG Key ID: F63B7AEF18435562
4 changed files with 64 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
.DS_Store
tmp/
dist/
dist-newstyle/
*.a
*.o
*.hi

View File

@ -6,6 +6,7 @@
-- * Ross Anderson and Eli Biham: "Two practical and provable secure block ciphers: BEAR and LION"
--
{-# LANGUAGE NumericUnderscores #-}
module Crypto.Lioness where
--------------------------------------------------------------------------------

View File

@ -1,6 +1,7 @@
-- | Public key cryptography (Diffie-Hellman) over X25519
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Crypto.X25519.DH where
--------------------------------------------------------------------------------

60
transport-over-mix.cabal Normal file
View File

@ -0,0 +1,60 @@
Cabal-Version: 2.4
Name: transport-over-mix
Version: 0.1
Synopsis: Transport abstraction layer over Mix
Description: Reference implementation of a transport layer over Mix,
including Sphinx packet format and SURBs
License: MIT OR Apache-2.0
License-files: LICENSE-MIT
LICENSE-APACHE-v2
Author: Balazs Komuves
Copyright: (c) 2026 Logos
Maintainer: balazs (at) free (dot) technology
Stability: Experimental
Category: Cryptography
Tested-With: GHC == 9.12.1
Build-Type: Simple
--------------------------------------------------------------------------------
source-repository head
type: git
location: https://github.com/logos-storage/transport-over-mix
--------------------------------------------------------------------------------
Library
Build-Depends: base >= 4 && <5,
array >= 0.5 && < 0.6,
random >= 1.3 && < 1.4,
bytestring >= 0.12 && < 0.14,
binary >= 0.8 && < 0.9
Exposed-Modules: Sphinx.Header
Crypto.Symmetric
Crypto.Symmetric.AES128
Crypto.Symmetric.Blake2b
Crypto.Symmetric.HMAC
Crypto.Symmetric.KeccakPerm
Crypto.Symmetric.SHA256
Crypto.X25519.BaseField
Crypto.X25519.ScalarField
Crypto.X25519.Elliptic
Crypto.X25519.DH
Crypto.Lioness
Crypto.Types
Octet
Default-Language: Haskell2010
Default-Extensions: BangPatterns, NumericUnderscores
Hs-Source-Dirs: reference
ghc-options: -fwarn-tabs -fno-warn-unused-matches -fno-warn-name-shadowing -fno-warn-unused-imports
--------------------------------------------------------------------------------