Philippe Laferrière
8ea37904e3
Introduce `SparseMerkleTree` trait ( #245 )
1 year ago
Augusto F. Hack
1004246bfe
ci: verify docs syntax
1 year ago
Augusto F. Hack
dae9de9068
docs: fix warnings
1 year ago
Bobbin Threadbare
7e9d4a4316
feat: add to_hex() to RpoDigest and RpxDigest
1 year ago
Al-Kindi-0
c9ab3beccc
New padding rule for RPX ( #236 )
* feat: new padding rule for RPX
* fix: documentation on security
1 year ago
cristiantroy
260592f8e7
Fix: typos ( #249 )
* tests: fix typos
* full.rs: fix typo
* CONTRIBUTING: fix typo
1 year ago
Bobbin Threadbare
6b5db8a6db
fix: clippy
1 year ago
Bobbin Threadbare
3ebee98b0f
feat: add PartialMmr::is_tracked()
1 year ago
Bobbin Threadbare
457c985a92
refactor: remove sve feature flag
1 year ago
Bobbin Threadbare
f894ed9cde
chore: update CI.yaml
1 year ago
Bobbin Threadbare
ac7593a13c
chore: update CI jobs
1 year ago
Bobbin Threadbare
004a3bc7a8
docs: update changelog and readme
1 year ago
Grzegorz Swirski
479fe5e649
feat: use AVX2 instructions whenever available
1 year ago
Bobbin Threadbare
a0f533241f
fix: bugfix in PartialMmr apply delta
1 year ago
Al-Kindi-0
05309b19bb
chore: export default Winterfell randomcoin
1 year ago
Bobbin Threadbare
be1d631630
feat: add Clone derive to PartialMmr
1 year ago
Bobbin Threadbare
4d0d8d3058
refactor: return MmrPeaks from PartialMmr::peaks()
1 year ago
Bobbin Threadbare
59d93cb8ba
fix: typos
1 year ago
Bobbin Threadbare
9baddfd138
feat: implement inner_nodes() iterator for PartialMmr
1 year ago
Bobbin Threadbare
8f92f44a55
feat: add serialization to RpoRandomCoin
1 year ago
Al-Kindi-0
36d3b8dc46
feat: move RpoRandomCoin and define Rng trait
nits: minor
chore: update log and readme
1 year ago
Augusto F. Hack
7e13346e04
serde: for MerklePath, ValuePath, and RootPath
1 year ago
Philippe Laferrière
9a18ed6749
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
df2650eb1f
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
18310a89f0
MmrPeaks::hash_peaks() returns Digest ( #230 )
1 year ago
Philippe Laferrière
d719cc2663
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
fa475d1929
simplesmt: simplify duplicate check
1 year ago
Philippe Laferrière
25b8cb64ba
Introduce `SimpleSmt::with_contiguous_leaves()` ( #227 )
* with_contiguous_leaves
* test
1 year ago
Augusto F. Hack
389fcb03c2
simplesmt: bugfix, index must be validated before modifying the tree
1 year ago
Austin Abell
b7cb346e22
feat: memoize Signature polynomial decoding
1 year ago
Philippe Laferriere
fd480f827a
Consuming iterator for RpoDigest
1 year ago
Augusto F. Hack
9f95582654
mmr: add into_parts for the peaks
1 year ago
Augusto F. Hack
1f92d5417a
simple_smt: reduce serialized size, use static hashes of the empty word
1 year ago
Augusto F. Hack
9b0ce0810b
mmr: support accumulator of older forest versions
1 year ago
Bobbin Threadbare
938250453a
chore: update changelog
1 year ago
Al-Kindi-0
9ccac2baf0
chore: bump winterfell release to .7
1 year ago
Bobbin Threadbare
525062d023
docs: update bench readme
1 year ago
Augusto F. Hack
3a5264c428
mmr: support proofs with older forest versions
1 year ago
Augusto F. Hack
a8acc0b39d
mmr: support arbitrary from/to delta updates
1 year ago
Augusto F. Hack
5f2d170435
mmr: publicly export MmrDelta
1 year ago
Bobbin Threadbare
9d52958f64
docs: update changelog
1 year ago
Al-Kindi-0
a2a26e2aba
docs: added RPX benchmarks
1 year ago
Al-Kindi-0
3125144445
feat: RPX (xHash12) hash function implementation
1 year ago
Augusto F. Hack
f33a982f29
rpo: added conversions for digest
1 year ago
Bobbin Threadbare
41f03fbe91
chore: update main readme
1 year ago
Augusto F. Hack
65495aeb18
config: add .editorconfig
1 year ago
Bobbin Threadbare
0a2d440524
chore: update crate version to v0.8
1 year ago
Bobbin Threadbare
c86bdc6d51
Merge pull request #226 from shuoer86/main
chore: fix typos
1 year ago
shuoer86
650508cbc9
chore: fix typos
1 year ago
Augusto Hack
012ad5ae93
Merge pull request #195 from 0xPolygonMiden/hacka-partial-mmr2
mmr: added partial mmr
1 year ago