1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
Commit graph

242 commits

Author SHA1 Message Date
Thibaut Schaeffer
ba5150afb4
Merge pull request #942 from Zokrates/update-stdlib
Use constants in stdlib where applicable
2021-08-09 16:04:23 +02:00
schaeff
81c537769c merge deve, fix conflicts 2021-08-09 14:06:34 +02:00
dark64
dbc1647c56 refactor mimcSponge 2021-08-09 10:44:15 +02:00
schaeff
b1c9a171f8 add bit lt embed, fail on non constant bound, implement safe unpack 2021-08-04 14:55:17 +02:00
dark64
bb27d13a2f improve test generation script in gm17 snark test 2021-08-03 14:48:45 +02:00
schaeff
737d224d6b add gm17 passing test 2021-07-25 16:56:59 +02:00
dark64
292164c572 refactor 2021-07-16 13:19:57 +02:00
dark64
8282856028 use repeat on sha dummy blocks 2021-07-16 12:20:34 +02:00
dark64
c8b2d25e25 use constants in stdlib where applicable 2021-07-14 13:11:53 +02:00
schaeff
7bc90dd85c bump versions, generate changelog 2021-06-17 15:33:37 +02:00
dark64
b1974da128 add FIELD_MIN and FIELD_MAX constants to field module, update tests 2021-06-17 13:27:24 +02:00
dark64
5c3bd450ed update blake2 tests 2021-06-11 13:21:12 +02:00
dark64
316e1d386a Change endianness in keccak, sha3 and blake2s hash algorithms to big endian 2021-06-01 15:40:12 +02:00
schaeff
9e268860e8 bump versions, generate changelog 2021-05-18 11:00:24 +02:00
dark64
5539edc16b remove strict ordering of declarations, refactor import logic 2021-05-12 20:03:08 +02:00
schaeff
0e56ff7c57 bump versions, generate changelog 2021-04-30 11:34:00 +02:00
dark64
c80d2faf77 replace XOR with OR 2021-04-14 20:07:05 +02:00
dark64
c8b9436ee1 fix typo 2021-04-14 17:40:45 +02:00
dark64
6faf3cb689 update bit rotation logic in sha256 and blake2s, add bit rotation tests 2021-04-14 17:28:26 +02:00
Thibaut Schaeffer
04e485ca0c
Merge pull request #816 from Zokrates/merge-back-070
Merge back 0.7.0
2021-04-14 11:41:52 +02:00
Thibaut Schaeffer
6cfaedb70b
Merge pull request #806 from Zokrates/poseidon
Add poseidon hashing algorithm
2021-04-13 18:45:49 +02:00
dark64
6f86979dbd add comments 2021-04-13 17:03:42 +02:00
dark64
98f697b3d0 refactor constants 2021-04-13 14:41:29 +02:00
dark64
b21e2e5a2b add poseidon hash to stdlib 2021-04-09 22:56:42 +02:00
schaeff
f290de2b58 bump version, generate changelog 2021-04-09 15:09:34 +02:00
dark64
45747c94b6 spacing 2021-04-08 13:27:56 +02:00
dark64
75808e2e88 reexport embeds in stdlib, add field to uint casts 2021-04-08 13:15:06 +02:00
dark64
6b5424a7ed merge develop, add u64 embeds 2021-04-02 17:39:27 +02:00
schaeff
af0f1f0987 merge dev, fix conflicts, add changelog 2021-04-01 16:14:48 +02:00
schaeff
38b6fc76a4 merge dev and fix conflicts 2021-04-01 12:52:05 +02:00
Thibaut Schaeffer
a45dae01db
Merge pull request #783 from Zokrates/u32-shift-arg
Change shifts to take u32 as their second argument
2021-04-01 10:55:36 +02:00
Thibaut Schaeffer
feb1fe87cb
Merge pull request #736 from petscheit/adds_bool_pedersen
Adds pedersen bool library
2021-03-31 17:41:00 +02:00
schaeff
186a4f6511 merge dev 2021-03-31 11:25:24 +02:00
schaeff
2690bcf139 fix zok source 2021-03-30 10:50:28 +02:00
dark64
e91691962f add keccak and sha3 to stdlib 2021-03-29 13:12:49 +02:00
schaeff
24bdebb524 bump versions 2021-03-19 13:35:30 +01:00
schaeff
218db3e508 introduce EmbedCall, replace FunctionCall by it in inline, simplify zir as a result 2021-03-04 20:37:21 +01:00
schaeff
e0fcca6f42 merge dev 2021-02-24 23:05:41 +01:00
dark64
110519c1e1 add 8192bit input test for blake2s 2021-02-16 14:53:36 +01:00
dark64
6a4c4f5a38 use eq condition 2021-02-08 11:10:25 +01:00
dark64
29d5977a90 add personalization to blake2s 2021-02-05 19:15:48 +01:00
dark64
fd3642542a tests 2021-02-05 17:13:03 +01:00
dark64
1ca980e8dd handle overflow on t0, use optimized right rotate 2021-02-05 13:24:55 +01:00
dark64
5b074301c1 add blake2s to stdlib 2021-02-05 12:56:18 +01:00
paul etscheit
0197c1e77f adds pedersen bool implementation 2021-02-01 13:31:33 +01:00
paul etscheit
072d833569 adds test for sha256Padded 2021-01-27 14:23:58 +01:00
paul etscheit
d38a1aaaeb adds test 2021-01-25 11:17:01 +01:00
paul etscheit
ff730b082b fixes dummyblock 2021-01-25 11:16:56 +01:00
schaeff
2793e77eac merge dev, clippy, fix conflicts 2021-01-21 17:53:18 +01:00
schaeff
0537b1b256 make tests pass, simplify stdlib 2021-01-21 01:00:56 +01:00
schaeff
a70443ce94 make tests pass, typed repeat, generic stdlib 2021-01-19 22:50:33 +01:00
dark64
434c264ac0 embed sha256 stdlib tests 2021-01-18 12:26:58 +01:00
dark64
c1f1143681 add embed sha256 to stdlib 2021-01-12 14:20:57 +01:00
schaeff
1938a98d2a merge clippy 2020-12-20 20:30:40 +01:00
schaeff
b7894ea2f4 make sha generic, fix array display 2020-12-20 13:32:27 +01:00
schaeff
b245a1ca2c merge array ssa removal, remove verbose mode, use global constants map 2020-12-16 11:23:08 +00:00
schaeff
66878a1a37 implement array update in propagation 2020-12-06 20:01:33 +00:00
schaeff
cdd25a479a remove array ssa, accept any assignee in multidef 2020-11-26 01:04:00 +00:00
schaeff
4bdf8371e6 fix loop bounds 2020-11-24 10:45:39 +00:00
schaeff
4bbde1f02e fix conflict 2020-11-23 14:47:00 +00:00
schaeff
5c39785b9b remove unused deps, split zokrates_test 2020-11-18 13:04:50 +00:00
schaeff
3565de3b23 fix zokrates_js 2020-11-12 11:01:33 +00:00
schaeff
ac3b5f864d bump versions 2020-11-10 19:06:18 +00:00
schaeff
352cc77d44 add to stdlib and tests 2020-11-10 18:37:28 +00:00
schaeff
e6c8e638a7 add to stdlib and test 2020-11-09 19:36:24 +00:00
schaeff
285b9d781a fix all tests 2020-11-09 18:04:28 +00:00
schaeff
898b3eb7e8 wip 2020-11-04 21:50:44 +00:00
dark64
5b6d4a0c07 merge dev 2020-10-21 19:38:48 +02:00
Thibaut Schaeffer
01b1413194
Merge pull request #684 from MirandaWood/miranda/stdlib-fix
fix: small stdlib fixes (issue 679)
2020-10-21 18:17:59 +01:00
MirandaWood
1f368d2b14 fix: small stdlib fixes (issue 679) 2020-10-20 14:42:05 +01:00
dark64
23791b2052 stdlib cleanup 2020-10-05 15:16:52 +02:00
dark64
4cfedfb79d merge develop 2020-10-05 13:50:04 +02:00
schaeff
dd8dbd9cd6 merge dev 2020-10-02 00:55:18 +02:00
schaeff
61fac6757e Merge branch 'develop' of github.com:Zokrates/ZoKrates into number-inference 2020-10-01 16:29:36 +02:00
schaeff
603c604198 change exponent to u32, fix unroll 2020-10-01 10:51:03 +02:00
schaeff
cb0728d6ae complete merge 2020-09-29 17:54:53 +02:00
schaeff
e8cdbcc318 wip 2020-09-29 09:56:07 +02:00
schaeff
90513aa745 update generated pedersen 2020-09-28 15:20:51 +02:00
dark64
287b2b8f47 zexe iter-1 2020-09-23 21:08:31 +02:00
schaeff
021a35cf34 merge dev 2020-09-23 15:44:58 +02:00
dark64
558788f8d4 fix mimc7 tests, remove unused config param in zokrates_js 2020-09-22 20:16:28 +02:00
dark64
79f23f8139 remove euclidean division, comment JUBJUBE from babyjubjubParams 2020-09-22 13:36:59 +02:00
schaeff
be77844e69 make tests pass 2020-09-21 22:23:13 +02:00
schaeff
304e4fa3cb wip 2020-09-16 17:57:12 +02:00
schaeff
f502120508 bump versions 2020-08-06 18:50:12 +02:00
schaeff
36efdddf3e fix conflicts 2020-08-04 20:49:32 +02:00
schaeff
58b3c00efe introduce simpler syntax for single return and empty return 2020-08-04 00:27:26 +02:00
schaeff
18a0b5c105 add latest flag to releases, remove useless stdlib components, put stdlib doc in source, add stdlib summary to book 2020-07-28 15:50:17 +02:00
schaeff
1e45be0a64 fix more tests 2020-07-16 14:54:44 +02:00
schaeff
a983f1e145 fix conflicts 2020-07-16 00:12:39 +02:00
schaeff
9f2fecf7ec update zok to new assert syntax, rewrite NotEq 2020-07-15 22:23:37 +02:00
schaeff
aede64faf3 Merge branch 'develop' of github.com:Zokrates/ZoKrates into u8-playground 2020-07-15 16:48:16 +02:00
schaeff
edb18474e8 update stdlib and core tests 2020-07-13 17:32:05 +02:00
schaeff
057d5883aa remove bellman embeds, add u32 to stdlib 2020-07-03 18:10:33 +02:00
schaeff
981b9b49a4 use tests rather than propagation 2020-06-18 18:29:57 +02:00
schaeff
2a50753351 wip 2020-06-18 12:45:39 +02:00
schaeff
4fa7392ff2 wip 2020-06-18 12:31:11 +02:00
Thibaut Schaeffer
5b4cd6b9af
Merge pull request #593 from petscheit/mimc_sponge
MiMCSponge and MiMC7 implementation for stdlib
2020-06-15 10:12:56 +02:00
schaeff
9a2e61aa1f update docs, make tests pass 2020-06-08 18:43:10 +02:00
schaeff
fae052e1fa use boolean in stdlib. wip 2020-06-05 17:11:07 +02:00