Skip to content

Commit

Permalink
Merge pull request #518 from IntersectMBO/lehins/add-missing-pieces-t…
Browse files Browse the repository at this point in the history
…o-unsound-pure-kes

Add missing pieces to unsound pure kes
  • Loading branch information
lehins authored Jan 29, 2025
2 parents c37566a + 8a36332 commit af799cd
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
4 changes: 4 additions & 0 deletions cardano-crypto-class/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for `cardano-crypto-class`

## 2.2.1.0

* Add `NoThunks` constraint on `UnsoundPureSignKeyKES` that was missed during KES changes

## 2.2.0.0

* Add required `HashAlgorithm` constraint to `Hash` serialization.
Expand Down
2 changes: 1 addition & 1 deletion cardano-crypto-class/cardano-crypto-class.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: cardano-crypto-class
version: 2.2.0.0
version: 2.2.1.0
synopsis:
Type classes abstracting over cryptography primitives for Cardano

Expand Down
7 changes: 6 additions & 1 deletion cardano-crypto-class/src/Cardano/Crypto/KES/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,12 @@ updateKES = updateKESWith mlockedMalloc
-- code.
-- This API is only provided for testing purposes; it must not be used to
-- generate or use real KES keys.
class KESAlgorithm v => UnsoundPureKESAlgorithm v where
class
( KESAlgorithm v
, NoThunks (UnsoundPureSignKeyKES v)
) =>
UnsoundPureKESAlgorithm v
where
data UnsoundPureSignKeyKES v :: Type

unsoundPureSignKES ::
Expand Down
4 changes: 4 additions & 0 deletions cardano-crypto-praos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for `cardano-crypto-praos`

## 2.2.0.1

*

## 2.2.0.0

* Prefixed private bundled c functions with `cardano_` to ensure they are not
Expand Down
4 changes: 4 additions & 0 deletions cardano-crypto-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for `cardano-crypto-tests`

## 2.2.0.1

*

## 2.2.0.0

* Memlocking functionality
Expand Down

0 comments on commit af799cd

Please sign in to comment.