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
Bobbin Threadbare
fe5cac9edc
fix: compilation errors
1 year ago
tohrnii
fe9aa8c28c
refactor: refactor crypto APIs to use RpoDigest instead of Word
1 year ago
Bobbin Threadbare
b768eade4d
feat: added handling of bottom tier to TieredSmt
1 year ago
Augusto F. Hack
bbb1e641a3
config: add rustfmt config
2 years ago
Bobbin Threadbare
433b467953
feat: optimized hash_elements for blake3 hasher
2 years ago
Bobbin Threadbare
a58922756a
chore: update crate versions, dependencies, and CHANGELOG
2 years ago
Augusto F. Hack
88a646031f
feat: add merkle store
2 years ago
Victor Lopez
3a6a4fcce6
feat: refactor simple smt to use empty subtree constants
Prior to this commit, there was an internal procedure with the merkle
trees to compute empty sub-tree for arbitrary depths.
However, this isn't ideal as this code can be reused in any merkle
implementation that uses RPO as backend.
This commit introduces a structure that will generate these empty
subtrees values.
2 years ago
Victor Lopez
35b255b5eb
feat: re-export winter-crypto Hasher, Digest & ElementHasher
This commit introduces the re-export of the listed primitives.
They will be used inside Miden to report the security level of the
picked primitive, as well as other functionality.
closes #72
2 years ago
Victor Lopez
0af45b75f4
feat: upgrade to winterfell 0.5
2 years ago
Victor Lopez
ed36ebc542
fix: sponge pad panics on input
closes #44
2 years ago
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
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
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