mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-12 08:51:35 +01:00
Switch to stable cargo formatting options
This commit is contained in:
@@ -664,14 +664,14 @@ mod test {
|
||||
match b {
|
||||
Boolean::Is(b) => {
|
||||
assert!(s.next().unwrap() == b.get_value().unwrap());
|
||||
},
|
||||
}
|
||||
Boolean::Not(b) => {
|
||||
assert!(s.next().unwrap() != b.get_value().unwrap());
|
||||
},
|
||||
}
|
||||
Boolean::Constant(b) => {
|
||||
assert!(input_len == 0);
|
||||
assert!(s.next().unwrap() == b);
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,17 +30,17 @@ impl PRF for Blake2s {
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Blake2sWithParameterBlock {
|
||||
pub digest_length: u8,
|
||||
pub key_length: u8,
|
||||
pub fan_out: u8,
|
||||
pub depth: u8,
|
||||
pub leaf_length: u32,
|
||||
pub node_offset: u32,
|
||||
pub digest_length: u8,
|
||||
pub key_length: u8,
|
||||
pub fan_out: u8,
|
||||
pub depth: u8,
|
||||
pub leaf_length: u32,
|
||||
pub node_offset: u32,
|
||||
pub xof_digest_length: u16,
|
||||
pub node_depth: u8,
|
||||
pub inner_length: u8,
|
||||
pub salt: [u8; 8],
|
||||
pub personalization: [u8; 8],
|
||||
pub node_depth: u8,
|
||||
pub inner_length: u8,
|
||||
pub salt: [u8; 8],
|
||||
pub personalization: [u8; 8],
|
||||
}
|
||||
|
||||
impl Blake2sWithParameterBlock {
|
||||
|
||||
Reference in New Issue
Block a user