Skip to content

Commit

Permalink
Reinstate period check in SingleKES
Browse files Browse the repository at this point in the history
  • Loading branch information
tdammers committed Mar 31, 2022
1 parent f164c0a commit 8865739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardano-crypto-class/src/Cardano/Crypto/KES/Single.hs
Expand Up @@ -122,7 +122,8 @@ instance ( DSIGNMAlgorithm m d -- needed for secure forgetting
-- Core algorithm operations
--

signKES ctxt _t a (SignKeySingleKES sk) =
signKES ctxt t a (SignKeySingleKES sk) =
assert (t == 0) $
SigSingleKES <$> signDSIGNM ctxt a sk

updateKES _ctx (SignKeySingleKES _sk) _to = return Nothing
Expand Down

0 comments on commit 8865739

Please sign in to comment.