Augusto F. Hack
8cf5e9fd2c
feature: add conditional support for serde
2023-08-11 13:59:53 +02:00
Bobbin Threadbare
fe5cac9edc
fix: compilation errors
2023-06-13 22:43:08 -07:00
tohrnii
fe9aa8c28c
refactor: refactor crypto APIs to use RpoDigest instead of Word
2023-06-09 21:27:09 +01:00
Bobbin Threadbare
b768eade4d
feat: added handling of bottom tier to TieredSmt
2023-05-16 15:38:05 -07:00
Augusto F. Hack
bbb1e641a3
config: add rustfmt config
2023-04-11 17:38:39 +02:00
Bobbin Threadbare
433b467953
feat: optimized hash_elements for blake3 hasher
2023-04-04 01:06:51 -07:00
Bobbin Threadbare
a58922756a
chore: update crate versions, dependencies, and CHANGELOG
2023-03-24 14:58:19 -07:00
Augusto F. Hack
88a646031f
feat: add merkle store
2023-03-15 17:34:42 +01:00
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.
2023-03-07 20:44:42 +01:00
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
2023-02-22 16:56:14 +01:00
Victor Lopez
0af45b75f4
feat: upgrade to winterfell 0.5
2023-02-20 23:57:41 +01:00
Victor Lopez
ed36ebc542
fix: sponge pad panics on input
...
closes #44
2023-02-09 13:06:06 +01:00
0xKanekiKen
37c6f003c4
tests: refactor merge_in_domain tests
...
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2023-02-01 13:14:03 +00:00
0xKanekiKen
5757b896fe
test: unit tests for merge in domain method
...
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2023-01-23 20:17:34 +00:00
0xKanekiKen
bc6191b3fa
feat: new merge method for 2 digest with a domain separator
...
Signed-off-by: 0xKanekiKen <100861945+0xKanekiKen@users.noreply.github.com>
2023-01-23 16:26:53 +00:00
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>
2022-12-12 09:49:33 +04:00
Anjan Roy
0d713af4ac
chg: don't assume that default features are available on all targets
...
Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
2022-12-10 12:49:38 +04:00
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>
2022-12-10 11:48:19 +04:00
Bobbin Threadbare
9782992662
feat: improve blake3 sequential hashing performance
2022-12-09 13:51:16 -08:00
Bobbin Threadbare
9b08ac731d
docs: update main README file
2022-12-02 11:25:18 -08:00
Bobbin Threadbare
ee1d5dc2e1
chore: clean up create interfaces
2022-11-30 21:28:54 -08:00
Bobbin Threadbare
0257538a1e
Merge pull request #18 from 0xPolygonMiden/add-blake3
...
feat: add blake3 160, 192 & 256 bits
2022-11-30 13:51:28 -08:00
Victor Lopez
57d4cb0303
feat: add blake3 160, 192 & 256 bits
...
closes #6
2022-11-30 14:15:13 +01:00
Victor Lopez
dc2e82e011
feat: implement ord for rpo digest 256
...
closes #8
2022-11-28 20:58:02 +01:00
Victor Lopez
3b9d515d00
feat: add no-std support
...
closes #5
2022-11-24 22:10:56 +01:00
Bobbin Threadbare
7395697a68
refactor: flattened repo structure
2022-10-26 14:54:38 -07:00