From 4edba7eb7a524cb893d4f001417e63ba17903186 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Wed, 7 Dec 2022 18:10:20 -0500 Subject: [PATCH] Cite #151 in the dkg TODOs --- crypto/dkg/src/encryption.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/dkg/src/encryption.rs b/crypto/dkg/src/encryption.rs index 3e5b5b7c..2e76f1e8 100644 --- a/crypto/dkg/src/encryption.rs +++ b/crypto/dkg/src/encryption.rs @@ -122,7 +122,7 @@ impl Encryption { fn cipher(&self, participant: Id, encrypt: bool) -> ChaCha20 { // Ideally, we'd box this transcript with ZAlloc, yet that's only possible on nightly - // TODO + // TODO: https://github.com/serai-dex/serai/issues/151 let mut transcript = RecommendedTranscript::new(b"DKG Encryption v0"); transcript.domain_separate(self.dst); @@ -154,7 +154,7 @@ impl Encryption { zeroize(challenge.as_mut()); // Same commentary as the transcript regarding ZAlloc - // TODO + // TODO: https://github.com/serai-dex/serai/issues/151 let res = ChaCha20::new(&key, &iv); zeroize(key.as_mut()); zeroize(iv.as_mut());