0xKanekiKen
37c6f003c4
tests: refactor merge_in_domain tests
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
0xKanekiKen
5757b896fe
test: unit tests for merge in domain method
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
0xKanekiKen
ce2cbe704b
refactor: reexport publiccoin & publiccoinerror from winterfell
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
0xKanekiKen
bc6191b3fa
feat: new merge method for 2 digest with a domain separator
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2 years ago
Bobbin Threadbare
4f65d01df4
feat: add PartialEq and Eq traits to Merkle structs
2 years ago
Victor Lopez
5fd0d692e8
feat: add simple sparse merkle tree
This commit moves the previous implementation of `SparseMerkleTree` from
miden-core to this crate.
It also include a couple of new tests, a bench suite, and a couple of
minor fixes. The original API was preserved to maintain compatibility
with `AdviceTape`.
closes #21
2 years ago
Anjan Roy
b4f9d60981
chg: don't assume we're only working with base field elements, consider extension field elements too
See https://github.com/0xPolygonMiden/crypto/pull/29#discussion_r1045108928 where it was suggested.
Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
2 years ago
Anjan Roy
0d713af4ac
chg: don't assume that default features are available on all targets
Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
2 years ago
Anjan Roy
aa4e313690
chg: first convert all elements to little endian bytes and then consume them in a single call to blake3 hasher
Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
2 years ago
Bobbin Threadbare
9782992662
feat: improve blake3 sequential hashing performance
2 years ago
Bobbin Threadbare
9b08ac731d
docs: update main README file
2 years ago
Bobbin Threadbare
ee1d5dc2e1
chore: clean up create interfaces
2 years ago
Victor Lopez
57d4cb0303
feat: add blake3 160, 192 & 256 bits
closes #6
2 years ago
Victor Lopez
dc2e82e011
feat: implement ord for rpo digest 256
closes #8
2 years ago
Victor Lopez
3b9d515d00
feat: add no-std support
closes #5
2 years ago
Bobbin Threadbare
7395697a68
refactor: flattened repo structure
2 years ago