Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace prover's identity in circuit from decryption_key to proof_generation_key #134

Open
osuketh opened this issue Jul 13, 2019 · 0 comments

Comments

@osuketh
Copy link
Member

osuketh commented Jul 13, 2019

Currently, the decryption_key is used for Encryption proving in circuit. It's not problematic as long as you won't delegate zkproofs or calling transfer_from function (#133).

For supporting these features, proof_generation_key should be passed to circuit, but it will cause to increase constraints about 25,000 because computation of collision resistance hash (blake2s) will be needed to derive decryption_keyfrom proof_generation_key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant