NilFoundation / crypto3-zk

Zero-Knowledge Proof Systems for =nil; Crypto3 C++ Cryptography Suite.
MIT License
33 stars 13 forks source link

Remove temporary marshalling #16

Open nkaskov opened 3 years ago

nkaskov commented 3 years ago

Review temporary marshalling to have marshalling status as one of the function parameters. This status type should be of ::nil::marshalling::status_type type and be equal to ::nil::marshalling::status_type::success in case of correct data processing, -//-::not_enough_data in case of to short buffer and -//-::invalid_msg_data in case of corrupted data, which cannot be processed correctly.

┆Issue is synchronized with this Wrike task by Unito

nkaskov commented 3 years ago

We also need to add temporary marshalling of the proving key for the NilFoundation-FreeTON Groth16 usecases contest.