mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-12 00:51:29 +01:00
feat: Falcon 512 signature
This commit is contained in:
@@ -137,11 +137,7 @@ impl<'a> Iterator for InnerNodeIterator<'a> {
|
||||
self.value = Rpo256::merge(&[left, right]);
|
||||
self.index.move_up();
|
||||
|
||||
Some(InnerNodeInfo {
|
||||
value: self.value,
|
||||
left,
|
||||
right,
|
||||
})
|
||||
Some(InnerNodeInfo { value: self.value, left, right })
|
||||
} else {
|
||||
None
|
||||
}
|
||||
@@ -163,10 +159,7 @@ pub struct ValuePath {
|
||||
impl ValuePath {
|
||||
/// Returns a new [ValuePath] instantiated from the specified value and path.
|
||||
pub fn new(value: RpoDigest, path: Vec<RpoDigest>) -> Self {
|
||||
Self {
|
||||
value,
|
||||
path: MerklePath::new(path),
|
||||
}
|
||||
Self { value, path: MerklePath::new(path) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user