In general, it's a straight translation of the Google code, which in turn is "mostly taken from the ref10 version of Ed25519 in SUPERCOP 10241124.", except that it's been hand translated to rust with some test case generators. Future versions should clean this up to be more normally rust-y.
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
cabal-version: >=1.10
|
|
-- Initial package description 'test-generator.cabal' generated by 'cabal
|
|
-- init'. For further documentation, see
|
|
-- http://haskell.org/cabal/users-guide/
|
|
|
|
name: test-generator
|
|
version: 0.1.0.0
|
|
synopsis: Test generation helper
|
|
-- description:
|
|
homepage: http://github.com/acw
|
|
-- bug-reports:
|
|
license: ISC
|
|
license-file: ../LICENSE
|
|
author: Adam Wick
|
|
maintainer: awick@uhsure.com
|
|
-- copyright:
|
|
category: Testing
|
|
build-type: Simple
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
executable gen-tests
|
|
main-is: Main.hs
|
|
other-modules: Database, DSA, ECDSATesting, ED25519, ED25519.PrecompPoints, Math, RFC6979, RSA, Task, Utils
|
|
-- other-extensions:
|
|
build-depends: base >=4.11 && < 4.14, ascii-progress, bytestring, containers, crypto-api, cryptonite, directory, DSA, filepath, integer-gmp, memory, random
|
|
hs-source-dirs: .
|
|
c-sources: cbits/curve25519.c cbits/x25519-x86_64.c cbits/x25519-asm-x86_64.S
|
|
include-dirs: cbits
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
|
|
if os(Windows) || !arch(x86_64)
|
|
buildable: False |