-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from 74b76573724fd6d3e927131885b620364012344d
- Loading branch information
1 parent
6d857b7
commit bb31fbd
Showing
161 changed files
with
12,221 additions
and
210 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
161 changes: 161 additions & 0 deletions
161
package/cardano-crypto-class-2.2.0.0/cardano-crypto-class.cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
cabal-version: 2.2 | ||
name: cardano-crypto-class | ||
version: 2.2.0.0 | ||
synopsis: | ||
Type classes abstracting over cryptography primitives for Cardano | ||
|
||
description: | ||
Type classes abstracting over cryptography primitives for Cardano | ||
|
||
license: Apache-2.0 | ||
license-files: | ||
LICENSE | ||
NOTICE | ||
|
||
author: IOHK | ||
maintainer: [email protected] | ||
copyright: 2019-2021 IOHK | ||
category: Currency | ||
build-type: Simple | ||
extra-source-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
flag secp256k1-support | ||
description: | ||
Enable support for functions from libsecp256k1. Requires | ||
a recent libsecp256k1 with support for Schnorr signatures. | ||
|
||
default: True | ||
manual: True | ||
|
||
common base | ||
build-depends: base >=4.14 && <5 | ||
|
||
common project-config | ||
default-language: Haskell2010 | ||
ghc-options: | ||
-Wall | ||
-Wcompat | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wpartial-fields | ||
-Wredundant-constraints | ||
-Wunused-packages | ||
|
||
library | ||
import: base, project-config | ||
hs-source-dirs: src | ||
exposed-modules: | ||
Cardano.Crypto.DSIGN | ||
Cardano.Crypto.DSIGN.Class | ||
Cardano.Crypto.DSIGN.Ed25519 | ||
Cardano.Crypto.DSIGN.Ed448 | ||
Cardano.Crypto.DSIGN.Mock | ||
Cardano.Crypto.DSIGN.NeverUsed | ||
Cardano.Crypto.DirectSerialise | ||
Cardano.Crypto.EllipticCurve.BLS12_381 | ||
Cardano.Crypto.EllipticCurve.BLS12_381.Internal | ||
Cardano.Crypto.Hash | ||
Cardano.Crypto.Hash.Blake2b | ||
Cardano.Crypto.Hash.Class | ||
Cardano.Crypto.Hash.Keccak256 | ||
Cardano.Crypto.Hash.NeverUsed | ||
Cardano.Crypto.Hash.RIPEMD160 | ||
Cardano.Crypto.Hash.SHA256 | ||
Cardano.Crypto.Hash.SHA3_256 | ||
Cardano.Crypto.Hash.Short | ||
Cardano.Crypto.Init | ||
Cardano.Crypto.KES | ||
Cardano.Crypto.KES.Class | ||
Cardano.Crypto.KES.CompactSingle | ||
Cardano.Crypto.KES.CompactSum | ||
Cardano.Crypto.KES.Mock | ||
Cardano.Crypto.KES.NeverUsed | ||
Cardano.Crypto.KES.Simple | ||
Cardano.Crypto.KES.Single | ||
Cardano.Crypto.KES.Sum | ||
Cardano.Crypto.Libsodium | ||
Cardano.Crypto.Libsodium.C | ||
Cardano.Crypto.Libsodium.Constants | ||
Cardano.Crypto.Libsodium.Hash | ||
Cardano.Crypto.Libsodium.Hash.Class | ||
Cardano.Crypto.Libsodium.Init | ||
Cardano.Crypto.Libsodium.MLockedBytes | ||
Cardano.Crypto.Libsodium.MLockedBytes.Internal | ||
Cardano.Crypto.Libsodium.MLockedSeed | ||
Cardano.Crypto.Libsodium.Memory | ||
Cardano.Crypto.Libsodium.Memory.Internal | ||
Cardano.Crypto.Libsodium.UnsafeC | ||
Cardano.Crypto.PinnedSizedBytes | ||
Cardano.Crypto.Seed | ||
Cardano.Crypto.Util | ||
Cardano.Crypto.VRF | ||
Cardano.Crypto.VRF.Class | ||
Cardano.Crypto.VRF.Mock | ||
Cardano.Crypto.VRF.NeverUsed | ||
Cardano.Crypto.VRF.Simple | ||
Cardano.Foreign | ||
|
||
other-modules: | ||
Cardano.Crypto.PackedBytes | ||
|
||
build-depends: | ||
aeson, | ||
base, | ||
base16-bytestring >=1, | ||
bytestring, | ||
cardano-binary >=1.6, | ||
cardano-strict-containers, | ||
crypton, | ||
deepseq, | ||
heapwords, | ||
io-classes >=1.4.1, | ||
memory, | ||
memory-pool, | ||
mempack, | ||
mtl, | ||
nothunks, | ||
primitive >=0.8, | ||
serialise, | ||
template-haskell, | ||
text, | ||
th-compat, | ||
transformers, | ||
vector, | ||
|
||
if impl(ghc <9.0.0) | ||
build-depends: | ||
integer-gmp | ||
pkgconfig-depends: | ||
libblst, | ||
libsodium, | ||
|
||
c-sources: cbits/blst_util.c | ||
|
||
if flag(secp256k1-support) | ||
exposed-modules: | ||
Cardano.Crypto.DSIGN.EcdsaSecp256k1 | ||
Cardano.Crypto.DSIGN.SchnorrSecp256k1 | ||
Cardano.Crypto.SECP256K1.C | ||
Cardano.Crypto.SECP256K1.Constants | ||
|
||
pkgconfig-depends: libsecp256k1 | ||
cpp-options: -DSECP256K1_ENABLED | ||
|
||
test-suite test-memory-example | ||
import: base, project-config | ||
-- Temporarily removing this as it is breaking the CI, and | ||
-- we don't see the benefit. Will circle back to this to decide | ||
-- whether to modify or completely remove. | ||
buildable: False | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: memory-example | ||
main-is: Main.hs | ||
build-depends: | ||
base, | ||
bytestring, | ||
cardano-crypto-class, | ||
|
||
if (os(linux) || os(osx)) | ||
build-depends: unix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<!-- Required meta tags --> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<title> | ||
cardano-crypto-class-2.2.0.0 | ||
</title> | ||
<style> | ||
ul.build-depends { | ||
list-style: none; | ||
} | ||
|
||
ul.build-depends li { | ||
display: inline; | ||
} | ||
|
||
ul.build-depends li:not(:last-child):after { | ||
content: ","; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="container px-4 py-5"> | ||
<ul class="nav"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="../../index.html">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="../../all-packages/index.html">All packages</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="../../all-package-versions/index.html">All package versions</a> | ||
</li> | ||
</ul> | ||
<h1 class="py-5"> | ||
cardano-crypto-class-2.2.0.0 | ||
</h1> | ||
<dl class="row class=" px-4 py-5"> | ||
<dt class="col-sm-3">Synopsis</dt> | ||
<dd class="col-sm-9"> | ||
<p>Type classes abstracting over cryptography primitives for Cardano</p> | ||
</dd> | ||
<dt class="col-sm-3">Description</dt> | ||
<dd class="col-sm-9"> | ||
<p>Type classes abstracting over cryptography primitives for Cardano</p> | ||
</dd> | ||
<dt class="col-sm-3">Author</dt> | ||
<dd class="col-sm-9"> | ||
<p>IOHK</p> | ||
</dd> | ||
<dt class="col-sm-3">Maintainer</dt> | ||
<dd class="col-sm-9"> | ||
<p>[email protected]</p> | ||
</dd> | ||
<dt class="col-sm-3">License</dt> | ||
<dd class="col-sm-9"> | ||
<p>Apache-2.0</p> | ||
</dd> | ||
<dt class="col-sm-3">Source</dt> | ||
<dd class="col-sm-9"> | ||
<dl class="row"> | ||
<dd> | ||
<a href="https://github.com/IntersectMBO/cardano-base/tree/ded795b240bc86b3e71766e4e896bb4e587af679/cardano-crypto-class">https://github.com/IntersectMBO/cardano-base</a> | ||
</dd> | ||
<dt>Commit hash</dt> | ||
<dd>ded795b240bc86b3e71766e4e896bb4e587af679</dd> | ||
<dt>Subdir</dt> | ||
<dd>cardano-crypto-class</dt> | ||
</dl> | ||
</dd> | ||
<dt class="col-sm-3">Timestamp</dt> | ||
<dd class="col-sm-9"> | ||
<p>2024-12-11T19:48:20Z</p> | ||
</dd> | ||
<dt class="col-sm-3">Revisions</dt> | ||
<dd class="col-sm-9"> | ||
<p>None</p> | ||
</dd> | ||
<dt class="col-sm-3">Dependencies</dt> | ||
<dd class="col-sm-9"> | ||
<dl> | ||
<dt>library cardano-crypto-class:</dt> | ||
<dd> | ||
<ul class="build-depends"> | ||
<li>["base >=4.14 && <5","aeson","base","base16-bytestring >=1","bytestring","cardano-binary >=1.6","cardano-strict-containers","crypton","deepseq","heapwords","io-classes >=1.4.1","memory","memory-pool","mempack","mtl","nothunks","primitive >=0.8","serialise","template-haskell","text","th-compat","transformers","vector"]</li> | ||
</ul> | ||
<p>if impl(ghc <9.0.0)</p> | ||
<ul class="build-depends"> | ||
<li>integer-gmp</li> | ||
</ul> | ||
</dd> | ||
<dt>test-suite test-memory-example:</dt> | ||
<dd> | ||
<ul class="build-depends"> | ||
<li>["base >=4.14 && <5","base","bytestring","cardano-crypto-class"]</li> | ||
</ul> | ||
<p>if (os(linux) || os(osx))</p> | ||
<ul class="build-depends"> | ||
<li>unix</li> | ||
</ul> | ||
|
||
</dd> | ||
</dl> | ||
</dd> | ||
</dl> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.