16 Commits

Author SHA1 Message Date
Balazs Komuves
bd5b805b80
add some convenience functions converting digests to field element sequences 2024-10-22 12:23:05 +02:00
Balazs Komuves
2d201ea8bb
yet another attempt to make it work as nimble dependency (this time it seem successful) 2024-10-22 11:47:26 +02:00
Balazs Komuves
0d12b14293
more c path fixes (or not, you can never know with this pile of nonsense...) 2024-10-18 17:29:32 +02:00
Balazs Komuves
3ed1829e5d
fix a typo (uint64 -> int) 2024-10-18 16:20:49 +02:00
Balazs Komuves
f72a0d47d9
move the c files under the package subdirectory, so nimble copies them when installing the package... 2024-10-18 15:20:58 +02:00
Balazs Komuves
7ce2bc49d0
add some marshalling functionality (digests to/from bytes) 2024-10-15 21:46:56 +02:00
Balazs Komuves
5adda6d8e9
apply the same stylistic improvements to the poseidon2 code, too 2024-10-15 11:11:34 +02:00
Mark Spanbroek
ec42ffb42f simplify type parameters 2024-10-10 11:52:36 +02:00
Mark Spanbroek
8b2cb52bf0 remove cast to ptr UncheckedArray 2024-10-10 11:52:27 +02:00
Mark Spanbroek
268eabbc20 replace new by init; Sponge is not a reference type 2024-10-10 11:14:45 +02:00
Mark Spanbroek
30083a16be replace runtime checks with compile time checks 2024-10-10 11:14:45 +02:00
Mark Spanbroek
55346e5164 whitespace formatting 2024-10-10 10:51:17 +02:00
Mark Spanbroek
7d7420a542 replace fakeAssert by raiseAssert and doAssert 2024-10-10 10:51:02 +02:00
Balazs Komuves
06bd13b2bd
a small optimization in the poseidon2 hash 2024-10-03 00:32:49 +02:00
Balazs Komuves
d89a5cca7b
add Monolith hash implementation (C + Nim + tests) 2024-10-03 00:26:28 +02:00
Balazs Komuves
69f1994eea refactoring the structure of the nimble package 2024-10-01 21:00:27 +02:00