-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As a step toward a consistent API, we add to `ClientIVC` ``` struct VerificationKey { std::shared_ptr<MegaVerificationKey> mega; std::shared_ptr<ECCVMVerificationKey> eccvm; std::shared_ptr<TranslatorVerificationKey> translator; MSGPACK_FIELDS(mega, eccvm, translator); }; ``` ClientIVC API before; ``` static bool verify(const Proof& proof, const std::shared_ptr<MegaVerificationKey>& mega_vk, const std::shared_ptr<ClientIVC::ECCVMVerificationKey>& eccvm_vk, const std::shared_ptr<ClientIVC::TranslatorVerificationKey>& translator_vk); ``` (three vk paths need to be provided to CLI) ClientIVC API after: ``` static bool verify(const Proof& proof, const VerificationKey& vk);` ``` (and one vk path needs to be provided to CLI)
- Loading branch information
1 parent
1bfc15e
commit 089c34c
Showing
8 changed files
with
76 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.