Philipp Gackstatter
a27f9ad828
refactor: use `thiserror` to derive errors and update error messages ( #344 )
4 months ago
Al-Kindi-0
0d75e3593b
chore: migrate to Winterfell v0.10.0 release ( #338 )
5 months ago
Bobbin Threadbare
689cc93ed1
chore: update crate version to v0.11.0 and set MSRV to 1.82
6 months ago
Al-Kindi-0
a734dace1e
feat: update RPO's padding rule to use that in the xHash paper ( #318 )
6 months ago
Philipp Gackstatter
a924ac6b81
feat: Add size hint for digests ( #330 )
6 months ago
Paul-Henry Kajfasz
ee42d87121
Replace i. by 1.
8 months ago
Paul-Henry Kajfasz
b1cb2b6ec3
Fix comments
8 months ago
Paul-Henry Kajfasz
e2aeb25e01
Updated doc comments
8 months ago
Paul-Henry Kajfasz
ad0f472708
Updated Makefile and Readme
8 months ago
Al-Kindi-0
b06cfa3c03
docs: update RPO with a comment on security given domain separation ( #320 )
10 months ago
Augusto Hack
d58c717956
rpo/rpx: export digest error enum ( #313 )
11 months ago
Augusto Hack
c0743adac9
Rpo256: Add RpoDigest conversions ( #311 )
11 months ago
Paul Schoenfelder
999a64fca6
chore: handle deprecations in winterfell 0.8.3 release
1 year ago
Augusto Hack
dbab0e9aa9
fix: clippy warnings ( #280 )
1 year ago
Andrey Khmuro
cd4525c7ad
refactor: update repo to be compatible with Winterfell 0.8 ( #275 )
1 year ago
Bobbin Threadbare
727ed8fb3e
docs: minor padding comment update
1 year ago
Al-Kindi-0
0acceaa526
fix: always pad bytes with 10*0 ( #267 )
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
Bobbin Threadbare
457c985a92
refactor: remove sve feature flag
1 year ago
Grzegorz Swirski
479fe5e649
feat: use AVX2 instructions whenever available
1 year ago
Bobbin Threadbare
59d93cb8ba
fix: typos
1 year ago
Philippe Laferriere
fd480f827a
Consuming iterator for RpoDigest
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
shuoer86
650508cbc9
chore: fix typos
1 year ago
Bobbin Threadbare
7ddcdc5e39
docs: add module descriptions
1 year ago
Bobbin Threadbare
cf91c89845
refactor: clean up features
1 year ago
Grzegorz Swirski
701a187e7f
feat: implement RPO hash using SVE instructionss
1 year ago
Andrey Khmuro
2f09410e87
refactor: replace with EMPTY_WORD, ZERO and ONE
1 year ago
Andrey Khmuro
2214ff2425
chore: TSMT benchmark
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
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