Skip to content

Commit af799cd

Browse files
authored
Merge pull request #518 from IntersectMBO/lehins/add-missing-pieces-to-unsound-pure-kes
Add missing pieces to unsound pure kes
2 parents c37566a + 8a36332 commit af799cd

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

cardano-crypto-class/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for `cardano-crypto-class`
22

3+
## 2.2.1.0
4+
5+
* Add `NoThunks` constraint on `UnsoundPureSignKeyKES` that was missed during KES changes
6+
37
## 2.2.0.0
48

59
* Add required `HashAlgorithm` constraint to `Hash` serialization.

cardano-crypto-class/cardano-crypto-class.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: cardano-crypto-class
3-
version: 2.2.0.0
3+
version: 2.2.1.0
44
synopsis:
55
Type classes abstracting over cryptography primitives for Cardano
66

cardano-crypto-class/src/Cardano/Crypto/KES/Class.hs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,12 @@ updateKES = updateKESWith mlockedMalloc
288288
-- code.
289289
-- This API is only provided for testing purposes; it must not be used to
290290
-- generate or use real KES keys.
291-
class KESAlgorithm v => UnsoundPureKESAlgorithm v where
291+
class
292+
( KESAlgorithm v
293+
, NoThunks (UnsoundPureSignKeyKES v)
294+
) =>
295+
UnsoundPureKESAlgorithm v
296+
where
292297
data UnsoundPureSignKeyKES v :: Type
293298

294299
unsoundPureSignKES ::

cardano-crypto-praos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for `cardano-crypto-praos`
22

3+
## 2.2.0.1
4+
5+
*
6+
37
## 2.2.0.0
48

59
* Prefixed private bundled c functions with `cardano_` to ensure they are not

cardano-crypto-tests/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for `cardano-crypto-tests`
22

3+
## 2.2.0.1
4+
5+
*
6+
37
## 2.2.0.0
48

59
* Memlocking functionality

0 commit comments

Comments
 (0)