Navigation Menu

Skip to content

Commit

Permalink
Update from f99b0a3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 25, 2023
1 parent 298b36e commit 656cf97
Show file tree
Hide file tree
Showing 15 changed files with 432 additions and 11 deletions.
Binary file modified 01-index.tar
Binary file not shown.
Binary file modified 01-index.tar.gz
Binary file not shown.
36 changes: 36 additions & 0 deletions all-package-versions/index.html
Expand Up @@ -44,6 +44,42 @@ <h1 class="py-5">
</th>
</thead>
<tbody>
<tr>
<td class="col-sm-2">
<a href="../package/cardano-crypto-tests-2.1.2.0">cardano-crypto-tests-2.1.2.0</a>
</td>
<td class="col-sm-1">Version</td>
<td class="col-sm-3" data-order="1685007526">2023-05-25T09:38:46Z</td>
<td class="col-sm-6">
<dl class="row">
<dd>
<a href="https://github.com/input-output-hk/cardano-base/tree/59e64c06d64f297453431791de0e9a6a15e7d203/cardano-crypto-tests">https://github.com/input-output-hk/cardano-base</a>
</dd>
<dt>Commit hash</dt>
<dd>59e64c06d64f297453431791de0e9a6a15e7d203</dd>
<dt>Subdir</dt>
<dd>cardano-crypto-tests</dt>
</dl>
</td>
</tr>
<tr>
<td class="col-sm-2">
<a href="../package/cardano-crypto-class-2.1.2.0">cardano-crypto-class-2.1.2.0</a>
</td>
<td class="col-sm-1">Version</td>
<td class="col-sm-3" data-order="1685007525">2023-05-25T09:38:45Z</td>
<td class="col-sm-6">
<dl class="row">
<dd>
<a href="https://github.com/input-output-hk/cardano-base/tree/292b6e91169ffd7ed04753c41a0fb05ec6adae92/cardano-crypto-class">https://github.com/input-output-hk/cardano-base</a>
</dd>
<dt>Commit hash</dt>
<dd>292b6e91169ffd7ed04753c41a0fb05ec6adae92</dd>
<dt>Subdir</dt>
<dd>cardano-crypto-class</dt>
</dl>
</td>
</tr>
<tr>
<td class="col-sm-2">
<a href="../package/cardano-api-8.1.1.1">cardano-api-8.1.1.1</a>
Expand Down
16 changes: 8 additions & 8 deletions all-packages/index.html
Expand Up @@ -293,15 +293,15 @@ <h1 class="py-5">
</td>
</tr>
<tr>
<td class="col-sm-2"><a href="../package/cardano-crypto-class-2.1.1.0">cardano-crypto-class-2.1.1.0</a></td>
<td class="col-sm-3" data-order="1682604238">2023-04-27T14:03:58Z</td>
<td class="col-sm-2"><a href="../package/cardano-crypto-class-2.1.2.0">cardano-crypto-class-2.1.2.0</a></td>
<td class="col-sm-3" data-order="1685007525">2023-05-25T09:38:45Z</td>
<td class="col-sm-6">
<dl class="row">
<dd>
<a href="https://github.com/input-output-hk/cardano-base/tree/ae6bafce6b06296bb88c7bc5c0376d9836060fbf/cardano-crypto-class">https://github.com/input-output-hk/cardano-base</a>
<a href="https://github.com/input-output-hk/cardano-base/tree/292b6e91169ffd7ed04753c41a0fb05ec6adae92/cardano-crypto-class">https://github.com/input-output-hk/cardano-base</a>
</dd>
<dt>Commit hash</dt>
<dd>ae6bafce6b06296bb88c7bc5c0376d9836060fbf</dd>
<dd>292b6e91169ffd7ed04753c41a0fb05ec6adae92</dd>
<dt>Subdir</dt>
<dd>cardano-crypto-class</dt>
</dl>
Expand Down Expand Up @@ -347,15 +347,15 @@ <h1 class="py-5">
</td>
</tr>
<tr>
<td class="col-sm-2"><a href="../package/cardano-crypto-tests-2.1.1.0">cardano-crypto-tests-2.1.1.0</a></td>
<td class="col-sm-3" data-order="1682604238">2023-04-27T14:03:58Z</td>
<td class="col-sm-2"><a href="../package/cardano-crypto-tests-2.1.2.0">cardano-crypto-tests-2.1.2.0</a></td>
<td class="col-sm-3" data-order="1685007526">2023-05-25T09:38:46Z</td>
<td class="col-sm-6">
<dl class="row">
<dd>
<a href="https://github.com/input-output-hk/cardano-base/tree/ae6bafce6b06296bb88c7bc5c0376d9836060fbf/cardano-crypto-tests">https://github.com/input-output-hk/cardano-base</a>
<a href="https://github.com/input-output-hk/cardano-base/tree/59e64c06d64f297453431791de0e9a6a15e7d203/cardano-crypto-tests">https://github.com/input-output-hk/cardano-base</a>
</dd>
<dt>Commit hash</dt>
<dd>ae6bafce6b06296bb88c7bc5c0376d9836060fbf</dd>
<dd>59e64c06d64f297453431791de0e9a6a15e7d203</dd>
<dt>Subdir</dt>
<dd>cardano-crypto-tests</dt>
</dl>
Expand Down
2 changes: 1 addition & 1 deletion foliage/packages.json

Large diffs are not rendered by default.

142 changes: 142 additions & 0 deletions index/cardano-crypto-class/2.1.2.0/cardano-crypto-class.cabal
@@ -0,0 +1,142 @@
cabal-version: 2.2
name: cardano-crypto-class
version: 2.1.2.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: operations@iohk.io
copyright: 2019-2021 IOHK
category: Currency
build-type: Simple
extra-source-files: README.md
CHANGELOG.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 && < 4.19 }

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.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.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.Init
Cardano.Crypto.Libsodium.Memory
Cardano.Crypto.Libsodium.Memory.Internal
Cardano.Crypto.Libsodium.MLockedBytes
Cardano.Crypto.Libsodium.MLockedBytes.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
, cryptonite
, deepseq
, heapwords
, memory
, nothunks
, primitive
, serialise
, template-haskell
, th-compat
, text
, transformers
, vector < 0.13

if impl(ghc < 9.0.0)
build-depends:
integer-gmp

pkgconfig-depends: libsodium, libblst
c-sources: cbits/blst_util.c

if flag(secp256k1-support)
exposed-modules:
Cardano.Crypto.DSIGN.EcdsaSecp256k1
Cardano.Crypto.DSIGN.SchnorrSecp256k1
Cardano.Crypto.SECP256K1.Constants
Cardano.Crypto.SECP256K1.C
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
1 change: 1 addition & 0 deletions index/cardano-crypto-class/2.1.2.0/package.json
@@ -0,0 +1 @@
{"signatures":[{"keyid":"25adef66151837b79ce479a6d4b4d3e7ab01f4be6ac0d017aa0888ad56730012","method":"ed25519","sig":"jTE9ylCO2hD3TXAhpZwjkQ4ovikWRA8QkmTieB0XtEwxhMnN0cnAZQLSBxoCmU/MWnlvLAoTWHFAEIu8Fwt5Bw=="},{"keyid":"41ac876be19073390388a8969decce50f78306416c0d9c70d7add734152bb5fd","method":"ed25519","sig":"kd8XwirBb0EYrA23WJ1fS9xiuGIpdLMWQ6fgj50kwHINDhv7Ybz2a6aPfhuteotpV9490KbuarbmrRT2pTy3Ag=="},{"keyid":"4a6910fcd881522c6b237e408846408832a8d838d15a3821c3c57824130dd7aa","method":"ed25519","sig":"0AArWeHo9qqfhH75k+Wtl5CMUtcY2imiI38aBYqNjj0Pqlr8nPNPO+mrMyPlLaTcwRVc6Ec4sijTO/sPoKPYBA=="},{"keyid":"9c28f8cc290e3ebcb927d3167fc685107019ee15392807c301be7b977a711922","method":"ed25519","sig":"hc0tnqpUbErGPpcgWaA6AoTGr1m7zya74IFzQQUfxA4eUE7xP6a9eTIxid51ivDnfXdmhfX65cbw2o0lw4yXDQ=="},{"keyid":"a5670f268a61dec31a0cb6e37ee7f9df59abdf457168a1caadf736803d620d85","method":"ed25519","sig":"eCXnP1zMyssnsTtaoXreRVA0ZE3MW+9phcKkPyXQMWyxLyXNCGUCz1DCX/lzTXtM/nD0t/ug+CenfegNJUf0Dg=="},{"keyid":"e2984138748ffdf2190338c806a38e8d7fe54962c7a6d7e2675be00e2795498f","method":"ed25519","sig":"P1mvBpjyAwzXUhMTt8jV0UQrIsarwxZVzHOyffvAM+6VfxOn+0cdAGM0CyXHPKR8BQkBYi5DcEQdpRBlCyHQBw=="}],"signed":{"_type":"Targets","expires":null,"targets":{"<repo>/package/cardano-crypto-class-2.1.2.0.tar.gz":{"hashes":{"sha256":"e9279b063c0dade813b729b519fa85ee261296f4a70185b8c026e144bd63d78f"},"length":62725}},"version":1}}
115 changes: 115 additions & 0 deletions index/cardano-crypto-tests/2.1.2.0/cardano-crypto-tests.cabal
@@ -0,0 +1,115 @@
cabal-version: 2.2

name: cardano-crypto-tests
version: 2.1.2.0
synopsis: Tests for cardano-crypto-class and -praos
description: Tests for cardano-crypto-class and -praos
license: Apache-2.0
license-files:
LICENSE
NOTICE
author: IOHK
maintainer: operations@iohk.io
copyright: 2020-2021 IOHK
category: Currency
build-type: Simple
extra-source-files: README.md
CHANGELOG.md
data-files: bls12-381-test-vectors/test_vectors/bls_sig_aug_test_vectors
bls12-381-test-vectors/test_vectors/ec_operations_test_vectors
bls12-381-test-vectors/test_vectors/h2c_large_dst
bls12-381-test-vectors/test_vectors/pairing_test_vectors
bls12-381-test-vectors/test_vectors/serde_test_vectors

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 && < 4.19 }

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: Test.Crypto.DSIGN
Test.Crypto.EllipticCurve
Test.Crypto.Hash
Test.Crypto.KES
Test.Crypto.Util
Test.Crypto.VRF
Test.Crypto.Regressions
Test.Crypto.Instances
Bench.Crypto.DSIGN
Bench.Crypto.VRF
Bench.Crypto.KES
Bench.Crypto.HASH
Bench.Crypto.BenchData
Test.Crypto.Vector.Secp256k1DSIGN
Test.Crypto.Vector.Vectors
Test.Crypto.Vector.StringConstants
Test.Crypto.Vector.SerializationUtils
Paths_cardano_crypto_tests

build-depends: base
, bytestring
, cardano-binary
, cardano-crypto-class >= 2.1.2 && < 2.2
, cardano-crypto-praos
, cborg
, cryptonite
, deepseq
, formatting
, nothunks
, pretty-show
, QuickCheck
, quickcheck-instances
, tasty
, tasty-hunit
, tasty-quickcheck
, tasty-hunit
, criterion
, base16-bytestring

if flag(secp256k1-support)
cpp-options: -DSECP256K1_ENABLED

test-suite test-crypto
import: base, project-config
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base
, cardano-crypto-class
, cardano-crypto-tests
, tasty
, tasty-quickcheck

if flag(secp256k1-support)
cpp-options: -DSECP256K1_ENABLED

ghc-options: -threaded -rtsopts -with-rtsopts=-N

benchmark bench-crypto
import: base, project-config
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
build-depends: base
, cardano-crypto-class
, cardano-crypto-tests
, criterion

ghc-options: -threaded
1 change: 1 addition & 0 deletions index/cardano-crypto-tests/2.1.2.0/package.json
@@ -0,0 +1 @@
{"signatures":[{"keyid":"25adef66151837b79ce479a6d4b4d3e7ab01f4be6ac0d017aa0888ad56730012","method":"ed25519","sig":"MEwZ+N6917ukwXKMQw0GfbwbDb3GIS50mbAI0YtYt5sKYFJjEwFHWjT8UU8YwIkM2+5OL2FL+wb+RX5DsKRVAg=="},{"keyid":"41ac876be19073390388a8969decce50f78306416c0d9c70d7add734152bb5fd","method":"ed25519","sig":"1Cbb1lSFqTEBdF2koC4i+bimoOnWU3psKX2teYsQLUiKM+enEpP/DH/oERe3Y+WmKvpa+l1R3r41gI9HArjZDg=="},{"keyid":"4a6910fcd881522c6b237e408846408832a8d838d15a3821c3c57824130dd7aa","method":"ed25519","sig":"yG0tL6VV6Hv5rhGjH8DzpmbwkypmgM+fyLu1RcnQqCGEq4kt4mFa+sTSPHpLKPRrOMxVfz2UaEj571qsyECDDA=="},{"keyid":"9c28f8cc290e3ebcb927d3167fc685107019ee15392807c301be7b977a711922","method":"ed25519","sig":"93Up+zIAX1Sx/qDUDNGxC+wTBLQoxZiMKuFT01h/iuNdp44yoOwref006LDaPPCYl88jJjINBtePQROFeKHGBQ=="},{"keyid":"a5670f268a61dec31a0cb6e37ee7f9df59abdf457168a1caadf736803d620d85","method":"ed25519","sig":"Jf8DjteGtlWV8AXOSTyzDIhX/Y+WcqWwaXXP824mZ7DySDBrnKIw2bMatjdoXiq3L6iZ+q3FabsXKArt76EpCg=="},{"keyid":"e2984138748ffdf2190338c806a38e8d7fe54962c7a6d7e2675be00e2795498f","method":"ed25519","sig":"6wTwSqJlkOmf6HE6aVfkFAC5Ryea+XRLSQGFtZNhAgTJvK/b6Zp5kw+7KRPNzM+GTfyM2dGoR93SO9ie7ZLbDw=="}],"signed":{"_type":"Targets","expires":null,"targets":{"<repo>/package/cardano-crypto-tests-2.1.2.0.tar.gz":{"hashes":{"sha256":"6a136a4d468ca481dec9ce085194e34efb6e6cc8c24f8a9708dfd9983a3bdf3b"},"length":32583}},"version":1}}
Binary file added package/cardano-crypto-class-2.1.2.0.tar.gz
Binary file not shown.

0 comments on commit 656cf97

Please sign in to comment.