Bobbin Threadbare
9fb41337ec
feat: add Clone derive to PartialMmr
1 year ago
Bobbin Threadbare
0296e05ccd
refactor: return MmrPeaks from PartialMmr::peaks()
1 year ago
Bobbin Threadbare
499f97046d
fix: typos
1 year ago
Bobbin Threadbare
600feafe53
feat: implement inner_nodes() iterator for PartialMmr
1 year ago
Bobbin Threadbare
9d854f1fcb
feat: add serialization to RpoRandomCoin
1 year ago
Al-Kindi-0
af76cb10d0
feat: move RpoRandomCoin and define Rng trait
nits: minor
chore: update log and readme
1 year ago
Augusto F. Hack
4758e0672f
serde: for MerklePath, ValuePath, and RootPath
1 year ago
Philippe Laferrière
8bb080a91d
Implement `SimpleSmt::set_subtree` ( #232 )
* recompute_nodes_from_indeX_to_root
* MerkleError variant
* set_subtree
* test_simplesmt_set_subtree
* test_simplesmt_set_subtree_entire_tree
* test
* set_subtree: return root
1 year ago
Augusto F. Hack
e5f3b28645
bugfix: TSMT failed to verify empty word for depth 64.
When a prefix is pushed to the depth 64, the entry list includes only
the values different than ZERO. This is required, since each block
represents a 2^192 values.
The bug was in the proof membership code, that failed to handle the case
of a key that was not in the list, because the depth is 64 and the value
was not set.
1 year ago
Philippe Laferrière
29e0d07129
MmrPeaks::hash_peaks() returns Digest ( #230 )
1 year ago
Philippe Laferrière
81a94ecbe7
Remove `ExactSizeIterator` constraint from `SimpleSmt::with_leaves()` ( #228 )
* Change InvalidNumEntries error
* max computation
* remove length check
* remove ExactSizeIterator constraint
* fix InvalidNumEntries error condition
* 2_usize
1 year ago
Augusto F. Hack
223fbf887d
simplesmt: simplify duplicate check
1 year ago
Philippe Laferrière
9e77a7c9b7
Introduce `SimpleSmt::with_contiguous_leaves()` ( #227 )
* with_contiguous_leaves
* test
1 year ago
Augusto F. Hack
894e20fe0c
simplesmt: bugfix, index must be validated before modifying the tree
1 year ago
Austin Abell
7ec7b06574
feat: memoize Signature polynomial decoding
1 year ago
Philippe Laferriere
2499a8a2dd
Consuming iterator for RpoDigest
1 year ago
Augusto F. Hack
800994c69b
mmr: add into_parts for the peaks
1 year ago
Augusto F. Hack
26560605bf
simple_smt: reduce serialized size, use static hashes of the empty word
1 year ago
Augusto F. Hack
672340d0c2
mmr: support accumulator of older forest versions
1 year ago
Augusto F. Hack
c726050957
mmr: support proofs with older forest versions
1 year ago
Augusto F. Hack
9239340888
mmr: support arbitrary from/to delta updates
1 year ago
Augusto F. Hack
97ee9298a4
mmr: publicly export MmrDelta
1 year ago
Al-Kindi-0
b4e2d63c10
docs: added RPX benchmarks
1 year ago
Al-Kindi-0
9679329746
feat: RPX (xHash12) hash function implementation
1 year ago
Augusto F. Hack
2bbea37dbe
rpo: added conversions for digest
1 year ago
shuoer86
650508cbc9
chore: fix typos
1 year ago
Augusto F. Hack
bde20f9752
mmr: added partial mmr
1 year ago
Bobbin Threadbare
7f3d4b8966
fix: RPO Falcon build on Windows
1 year ago
Bobbin Threadbare
7ddcdc5e39
docs: add module descriptions
1 year ago
Bobbin Threadbare
cf91c89845
refactor: clean up features
1 year ago
Al-Kindi-0
8078021aff
feat: Falcon 512 signature
1 year ago
Grzegorz Swirski
701a187e7f
feat: implement RPO hash using SVE instructionss
1 year ago
frisitano
1fa2895724
refactor: modify MerkleStore::non_empty_leaves to support TSMT
1 year ago
Andrey Khmuro
2f09410e87
refactor: replace with EMPTY_WORD, ZERO and ONE
1 year ago
Bobbin Threadbare
9f54c82d62
feat: implement additional leaf traversal methods on MerkleStore
1 year ago
Andrey Khmuro
c1d0612115
refactor: run all benchmarks at once, leave only size run option
1 year ago
Andrey Khmuro
2214ff2425
chore: TSMT benchmark
1 year ago
Augusto F. Hack
f7e6922bff
error: moved to its own module
1 year ago
Bobbin Threadbare
6d0c7567f0
chore: minor code organization improvement
1 year ago
tohrnii
fb649df1e7
feat: derive ord and partialord for blake3digest
1 year ago
Augusto F. Hack
8cf5e9fd2c
feature: add conditional support for serde
1 year ago
Augusto F. Hack
f71d98970b
tsmt: export smt error
1 year ago
Bobbin Threadbare
b3e7578ab2
fix: misspelled variant name in TieredSmtProofError
1 year ago
Bobbin Threadbare
5c6a20cb60
fix: bug in TSMT for depth 64 removal
1 year ago
Augusto F. Hack
83b6946432
tsmt: return error code instead of panic
1 year ago
Augusto F. Hack
33ef78f8f5
tsmt: add basic traits and into/from parts methods
1 year ago
Bobbin Threadbare
1ac30f8989
feat: implement ability to generate TSMT proofs
1 year ago
Bobbin Threadbare
6810b5e3ab
fix: node type check in inner_nodes() iterator of TSMT
1 year ago
Bobbin Threadbare
a03f2b5d5e
feat: implement iterator over key-value pairs for TSMT
1 year ago
Bobbin Threadbare
1bb75e85dd
feat: implement value removal in TSMT
1 year ago