Enable no_std on transcript

Removes the Vec challenge for an associated type.

Fixes the merlin feature which was horribly broken.

Also adds no_std to dalek-ff-group.
This commit is contained in:
Luke Parker
2022-06-28 04:02:56 -04:00
parent 3de7a76051
commit 1430b189bf
6 changed files with 40 additions and 29 deletions

View File

@@ -164,7 +164,7 @@ fn sign_with_share<C: Curve, A: Algorithm<C>>(
transcript.append_message(b"message", &C::hash_msg(&msg));
// Calculate the binding factor
C::hash_binding_factor(&transcript.challenge(b"binding"))
C::hash_binding_factor(transcript.challenge(b"binding").as_ref())
};
// Process the addendums