Previously, we used a little bit of generation to drive a lot of Rust macros. This works, but it's a little confusing to read and write. In addition, we used a lot of implementations with variable timings based on their input, which isn't great for crypto. This is the start of an attempt to just generate all of the relevant Rust code directly, and to use timing-channel resistant implementations for most of the routines.
30 lines
976 B
Plaintext
30 lines
976 B
Plaintext
cabal-version: 2.0
|
|
-- Initial package description 'generation.cabal' generated by 'cabal
|
|
-- init'. For further documentation, see
|
|
-- http://haskell.org/cabal/users-guide/
|
|
|
|
name: generation
|
|
version: 0.1.0.0
|
|
synopsis: Generates the cryptonum Rust library, based on requirements.
|
|
homepage: http://github.com/acw/cryptonum
|
|
license: ISC
|
|
license-file: LICENSE
|
|
author: Adam Wick
|
|
maintainer: awick@uhsure.com
|
|
copyright: 2019
|
|
category: Math
|
|
build-type: Simple
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
executable generation
|
|
main-is: Main.hs
|
|
other-modules: Gen, Requirements, UnsignedBase
|
|
-- other-extensions:
|
|
build-depends: base ^>=4.12.0.0,
|
|
containers,
|
|
directory,
|
|
filepath,
|
|
mtl
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|