1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
Commit graph

152 commits

Author SHA1 Message Date
dark64
57ce308f97 fix tests 2022-09-06 13:50:40 +02:00
dark64
3464f36414 remove field casts 2022-09-01 15:47:52 +02:00
dark64
8d78f73b9e implement casting module 2022-08-23 19:23:04 +02:00
Thibaut Schaeffer
2a9e619250
Merge pull request #1194 from Yhtiyar/develop
Fixed  the typo in description
2022-08-09 10:58:32 +02:00
dark64
d96dc7e62d refactor keccak implementation, fix padding issue 2022-08-02 14:52:05 +02:00
Yhtyyar Sahatov
f95ef4ba8b
Fixed the typo in description 2022-07-26 21:17:44 +03:00
dark64
e75552b0eb merge staging 2022-06-28 19:23:45 +02:00
dark64
b7e787dfd1 deprecate multi returns 2022-06-21 15:03:53 +02:00
schaeff
241447a09c implement and update zok files 2022-06-13 20:17:40 +02:00
dark64
bd69368f91 merge develop 2022-05-17 14:32:44 +02:00
dark64
f1c7d76cf5 fix tests 2022-05-11 21:33:57 +02:00
dark64
4980565e9d Fix keccak padding issue, allow arbitrary input size 2022-04-28 15:46:54 +02:00
dark64
2b9c1e8854 change syntax in core and stdlib tests 2022-04-07 16:04:40 +02:00
dark64
7c14f564c4 fix typo 2022-03-31 15:26:10 +02:00
dark64
a98e62f34c add comments 2022-03-31 15:17:31 +02:00
dark64
ca5776e5f4 add sha256 with padding to stdlib 2022-03-30 16:14:15 +02:00
schaeff
ba3752307c Merge branch 'develop' of github.com:Zokrates/ZoKrates into type-alias 2021-10-11 11:17:20 +03:00
dark64
42fd168029 safe unpack on field to uint casts 2021-09-27 15:07:14 +02:00
schaeff
4b99a99815 remove explicit generics where applicable 2021-09-23 14:45:45 +03:00
dark64
942901c55b make field to uint casting more strict to match runtime behaviour 2021-09-12 19:28:34 +02:00
Thibaut Schaeffer
b324e17684
Merge pull request #955 from Zokrates/bit_lt_embed
Add bit LT embed to make unpack safe for any size
2021-08-16 11:25:09 +02:00
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
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
dark64
b1974da128 add FIELD_MIN and FIELD_MAX constants to field module, update tests 2021-06-17 13:27:24 +02:00
dark64
316e1d386a Change endianness in keccak, sha3 and blake2s hash algorithms to big endian 2021-06-01 15:40:12 +02:00
dark64
5539edc16b remove strict ordering of declarations, refactor import logic 2021-05-12 20:03:08 +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
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
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
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
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