mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
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:
@@ -62,6 +62,8 @@ pub trait Algorithm<C: Curve>: Clone {
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct IetfTranscript(Vec<u8>);
|
||||
impl Transcript for IetfTranscript {
|
||||
type Challenge = Vec<u8>;
|
||||
|
||||
fn domain_separate(&mut self, _: &[u8]) {}
|
||||
|
||||
fn append_message(&mut self, _: &'static [u8], message: &[u8]) {
|
||||
|
||||
Reference in New Issue
Block a user